Hi,
I'm trying to make an Android version of my game and having trouble figuring the build.settings file for Android. Here it is for the iOS version:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", "landscapeLeft" }, }, iphone = { plist = { MinimumOSVersion="4.0.0", UIStatusBarHidden = true, UIPrerenderedIcon = true, UIApplicationExitsOnSuspend = false, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-72.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small-50.png", }, }, }, androidPermissions = { "android.permission.INTERNET" }, } |
Stuck this in. Just guessing.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | android = { icon = { "Icon.png", "Icon-hdpi.png", "Icon-mdpi.png", "Icon-ldpi.png", "hdpi/ic_dialog_zombeans.png", "hdpi/ic_launcher_zombean.png", "hdpi/ic_list_zombean.png", "hdpi/ic_menu_zombean.png", "hdpi/ic_stat_zombean.png", "hdpi/ic_tab_zombean.png", "mdpi/ic_dialog_zombeans.png", "mdpi/ic_launcher_zombean.png", "mdpi/ic_list_zombean.png", "mdpi/ic_menu_zombean.png", "mdpi/ic_stat_zombean.png", "mdpi/ic_tab_zombean.png", "ldpi/ic_dialog_zombeans.png", "ldpi/ic_launcher_zombean.png", "ldpi/ic_list_zombean.png", "ldpi/ic_menu_zombean.png", "ldpi/ic_stat_zombean.png", "ldpi/ic_tab_zombean.png", }, }, |
As far as I know you'll just need to put following 3 files to the root of your project, subfolders won't work.
Icon-hdpi.png
Icon-mdpi.png
Icon-ldpi.png
Also, no need to set android.permission.INTERNET, Corona puts it there by default. If you set it you'll end up with two entries in android manifest.
I hope this helps...
Thanks! Do you need to call out the Android icons in the build.settings file like you do for iOS?
views:1685 update:2011/10/8 15:12:54