Archive for the ‘ AIR ’ Category

Create Certificate Valid till 2033 – AIR Android apk upload

When uploading your android .apk file you may be asked for Certificate valid for certain years.

“Market requires that the certificate used to sign the apk be valid until at least October –, 2033/2034. Create a new certificate.”

Adobe Air Certificate generator does not Create a time Stamp valid for certain years. Work around for this is use keytool command line key generator.

keytool -genkey -v -storetype pkcs12 -keystore AndroidCertificate.p12 -keyalg RSA -validity 20000

above syntax creates certificate valid for 20000 days.

Hope this is helpful.

Advertisements

Warning: Application has not specified its permission requirements in application.xml

Problem can be solved by uncommenting following code in application descriptor

<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation=”auto”>
<uses-permission android:name=”android.permission.INTERNET”/>
<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/>
<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/>
<uses-configuration android:reqFiveWayNav=”true”/>
<supports-screens android:normalScreens=”true”/>
<uses-feature android:required=”true” android:name=”android.hardware.touchscreen.multitouch”/>
<application android:enabled=”true”>
<activity android:excludeFromRecents=”false”>
<intent-filter>
<action android:name=”android.intent.action.MAIN”/>
<category android:name=”android.intent.category.LAUNCHER”/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
</android>

Regards,

Ranjit

Failure [INSTALL_FAILED_INVALID_APK]

There has been change in build 20100909 of Air for Android.

 

For physical device:

adt.bat -package -target apk -storetype pkcs12…

 

For emulator:

adt.bat -package -target apk-emulator -storetype pkcs12…

 

Regards,

Ranjit

Signature component in AIR for Tablet PC

Well one of the good components I built with AIR, been long but couldnt post……………..

Choose from color, Size of the Line,

Signature Component : Hope Its Helpful

SignatureCode :

Please download Copy/Code from here.

drawcanmxml