Skip to content
Browse files

little fix

  • Loading branch information...
1 parent ac7d0d3 commit 085be2f7c9793a738932ff6383cde48c3031c0b7 @mateuszmackowiak mateuszmackowiak committed
View
2 ContactEditorAS/.actionScriptProperties
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties analytics="false" mainApplicationPath="Networkinfo.as" projectUUID="c228229a-9673-4c5c-8205-985255302895" version="10">
- <compiler additionalCompilerArguments="-locale en_US -swf-version 13" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="/Users/me/Documents/gitrepos/ContactEditor/build" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
+ <compiler additionalCompilerArguments="-locale en_US -swf-version 13" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="/Users/mmmackowiak/Documents/git/ContactEditor/build" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
View
2 ContactEditorAS/.project
@@ -19,7 +19,7 @@
<link>
<name>bin-debug</name>
<type>2</type>
- <location>/Users/me/Documents/gitrepos/ContactEditor/build</location>
+ <location>/Users/mmmackowiak/Documents/git/ContactEditor/build</location>
</link>
</linkedResources>
</projectDescription>
View
2 ContactEditorAS/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Thu Jul 07 12:33:38 GMT+05:30 2011
+#Fri Apr 06 18:29:02 CEST 2012
eclipse.preferences.version=1
encoding/<project>=utf-8
View
22 ContactEditorTest/.actionScriptProperties
@@ -27,8 +27,8 @@
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_agent.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
- <libraryPathEntry kind="3" linkType="1" path="/Users/me/Dropbox/ios aktualne/contactEditorNative/build/ContactEditor.swc" useDefaultLinkType="false"/>
- <libraryPathEntry kind="5" linkType="2" path="/Users/me/Dropbox/ios aktualne/contactEditorNative/build/iOS_ContactEditor.ane"/>
+ <libraryPathEntry kind="3" linkType="1" path="/Users/mmmackowiak/Documents/git/ContactEditor/build/ContactEditor.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="5" linkType="2" path="/Users/mmmackowiak/Documents/git/ContactEditor/build/ContactEditor.ane"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
@@ -41,12 +41,12 @@
<buildCSSFiles/>
<flashCatalyst validateFlashCatalystCompatibility="false"/>
<buildTargets>
- <buildTarget buildTargetName="com.adobe.flexide.multiplatform.ios.platform" iosSettingsVersion="1" provisioningFile="" releasePackageType="">
- <multiPlatformSettings enabled="true" includePlatformLibs="false" platformID="com.adobe.flexide.multiplatform.ios.platform" version="2"/>
- <airSettings airCertificatePath="" airTimestamp="true" anePathSet="true" version="1">
+ <buildTarget buildTargetName="com.adobe.flexide.multiplatform.ios.platform" iosSettingsVersion="1" provisioningFile="/Users/mmmackowiak/Documents/Adobe Flash Builder 4.6/CERTYFIKATY/iOS_Team_Provisioning_Profile_.mobileprovision" releasePackageType="">
+ <multiPlatformSettings enabled="true" includePlatformLibs="false" nativeSDKPathString="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk" platformID="com.adobe.flexide.multiplatform.ios.platform" version="2"/>
+ <airSettings airCertificatePath="/Users/mmmackowiak/Documents/Adobe Flash Builder 4.6/CERTYFIKATY/iphone_dev.p12" airTimestamp="true" anePathSet="true" version="1">
<airExcludes/>
<anePaths>
- <anePathEntry path="/Users/me/Dropbox/ios aktualne/contactEditorNative/build/iOS_ContactEditor.ane"/>
+ <anePathEntry path="/Users/mmmackowiak/Documents/git/ContactEditor/build/ContactEditor.ane"/>
</anePaths>
</airSettings>
<actionScriptSettings version="1"/>
@@ -59,12 +59,14 @@
</airSettings>
<actionScriptSettings version="1"/>
</buildTarget>
- <buildTarget airDownloadURL="" androidSettingsVersion="1" buildTargetName="com.adobe.flexide.multiplatform.android.platform">
- <multiPlatformSettings enabled="false" includePlatformLibs="false" platformID="com.adobe.flexide.multiplatform.android.platform" version="2"/>
- <airSettings airCertificatePath="" airTimestamp="true" anePathSet="true" version="1">
+ <buildTarget airDownloadURL="https://market.android.com/details?id=com.adobe.air" androidSettingsVersion="1" buildTargetName="com.adobe.flexide.multiplatform.android.platform">
+ <airSettings airCertificatePath="/Users/mmmackowiak/Documents/Adobe Flash Builder 4.6/CERTYFIKATY/android.p12" airTimestamp="true" anePathSet="true" version="1">
<airExcludes/>
- <anePaths/>
+ <anePaths>
+ <anePathEntry path="/Users/mmmackowiak/Documents/git/ContactEditor/build/ContactEditor.ane"/>
+ </anePaths>
</airSettings>
+ <multiPlatformSettings enabled="true" includePlatformLibs="false" platformID="com.adobe.flexide.multiplatform.android.platform" version="2"/>
<actionScriptSettings version="1"/>
</buildTarget>
<buildTarget buildTargetName="default">
View
2 ContactEditorTest/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Sun Feb 05 16:37:43 CET 2012
+#Fri Apr 06 18:23:18 CEST 2012
eclipse.preferences.version=1
encoding/<project>=utf-8
View
3 ContactEditorTest/src/test-app.xml
@@ -22,6 +22,9 @@
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.INTERNET"/>
+ <application>
+ <activity android:name="pl.mateuszmackowiak.nativeANE.contactManager.PickContactHandler" android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity>
+ </application>
</manifest>
]]></manifestAdditions>
View
2 ContactEditorXCode/ContactEditor.m
@@ -837,7 +837,7 @@ void ContactEditorContextInitializer(void* extData, const uint8_t* ctxType, FREC
func[6].name = (const uint8_t*)"getContactDetails";
func[6].functionData = NULL;
func[6].function = &getContactDetails;
- func[7].name = (const uint8_t*)"showContactPicker";
+ func[7].name = (const uint8_t*)"pickContact";
func[7].functionData = NULL;
func[7].function = &showContactPicker;
func[8].name = (const uint8_t*)"addContactInWindow";
View
10 ContactEditorXCode/ContactEditor.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
@@ -125,11 +125,11 @@
AEF9D83C148552CF00CB2153 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0420;
+ LastUpgradeCheck = 0430;
ORGANIZATIONNAME = Randori;
};
buildConfigurationList = AEF9D83F148552CF00CB2153 /* Build configuration list for PBXProject "ContactEditor" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
@@ -178,7 +178,7 @@
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
SDKROOT = iphoneos;
};
name = Debug;
@@ -194,7 +194,7 @@
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
View
BIN ContactEditorXCode/build-release/libContactEditor.a
Binary file not shown.
View
BIN build/ContactEditor.ane
Binary file not shown.
View
BIN build/ContactEditor.swc
Binary file not shown.
View
BIN build/ContactEditorTest.apk
Binary file not shown.
View
BIN build/libContactEditor.a
Binary file not shown.
View
8 readme.md
@@ -28,7 +28,13 @@ But more if Your app is going to add or remove any info:
< uses-permission android:name="android.permission.WRITE_CONTACTS" />
#only if adding:
< uses-permission android:name="android.permission.GET_ACCOUNTS" />
-
+
+To pick a contact it is necessary to ad also :
+
+ <application>
+ <activity android:name="pl.mateuszmackowiak.nativeANE.contactManager.PickContactHandler" android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity>
+ </application>
+
### ANE compilation ###
To compile the ane, osx widh iOS SDK is needed. This ane uses AddressBook framework, which has to be linked during the compilation (sample ane build.sh is provided in build directory, it already includes the link to AddressBook framework).

0 comments on commit 085be2f

Please sign in to comment.
Something went wrong with that request. Please try again.