Help with Android Developing

Hello once again.

I wanted to know if I could restrict my app to specific versions of Android, in this case 3.0 because my app is tablet oriented.

I know you can do it normally developing with Java, but can I do it here? And how? [import]uid: 48020 topic_id: 8401 reply_id: 308401[/import]

yeah you need to change minsdk version. However corona doesnt support manually setting this field :confused:

Just compile your app as normal, then use apk manager (get it over at xda-developers) to extract the final apk. Edit the android manifest to make the changes, the compile it again.

Finally use jarsigner to sign it (as you would a native app), and zip align it (if you want - corona doesnt even zip align it :P)

There’s several advantages to doing this even if you dont want to edit that particular field:

  • Coroan automatically adds the vibrate permision - you can safely remove that if you dont use it. My app says ‘NO PERMISIONS’ when installing which is nice for end users to see :slight_smile:

  • You can add fields for small screen support

  • You can remove the opengl 1.1 requirement since corona also works fine under 1.0

  • If you’re not compiling for 2.2 (i.e. < 2.2) and you want to support apps 2 sd for 2.2 users you can simple add the android:installLocation=“auto” field

  • APK manager compressions is alot better than the standard one used in corona. My app size drops from 5.3mb to 4.5mb
    [import]uid: 8872 topic_id: 8401 reply_id: 30445[/import]

Thank you very much! That was very helpful!

-Ray [import]uid: 48020 topic_id: 8401 reply_id: 30462[/import]