How to build app for android tablets?

Hello

I’m just finished my first app. I tested it on Samsung Galaxy S and it works fine. After that i was trying lunch it on Lark FreeMe 70.1(android tablet) and it doesn’t work. Durning instalation i get message ‘App must be stoped’(something like that). Then i try lunch simple HelloWorld from sample code. The same result.

How to build apps with corona for tablets? Do i need something special in my configs? This is my config:

[lua]-- config.lua

application =
{
content =
{
width = 320,
height = 480,

scale = “letterbox” – zoom to fill screen, possibly cropping edges
},
}[/lua]
It’s based on sample code from corona sdk. I changed width/height but no success.

Cheers,
Chris [import]uid: 84697 topic_id: 13994 reply_id: 313994[/import]

This provides a whole heap of info; http://developer.anscamobile.com/content/configuring-projects

You mention config.lua but not build.settings; have you altered those at all from the default? [import]uid: 52491 topic_id: 13994 reply_id: 51542[/import]

In future please post your code in < lua > tags.

You do need to change your build.settings file to support Android, yes - the link I posted before will show you how :slight_smile:

Peach [import]uid: 52491 topic_id: 13994 reply_id: 51714[/import]

Thanks for reply.

I didn’t change build.setting.

[lua]-- build.settings

settings =
{
orientation =
{
default = “portrait”,
},

iphone =
{
plist=
{
UIHiddenStatusBar= true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
},
},
},
}[/lua]

I saw this site but there is mainly about orientation etc. I didn’t read everything. I will check. Thanks for link.

Best,
Chris [import]uid: 84697 topic_id: 13994 reply_id: 51552[/import]

I think i found source of my problem with Lark 70.1.

http://developer.anscamobile.com/content/building-devices-android

“We are only supporting ArmV7 processor because of the speed improvements from the hardware floating point support.”

I checked this and SamsungGalaxyS has ARM7 processor (http://en.wikipedia.org/wiki/Samsung_Hummingbird) so everything works fine.

Lark 70.1 has Telechips TCC8902 processor which is based on ARM11 :confused: http://www.telechips.com/eng/Product/consumer_pro08.asp

Do i have right?

Cheers,
Chris
[import]uid: 84697 topic_id: 13994 reply_id: 51958[/import]

Hey again,

You are correct; I’m sorry but ARM11 is not compatible anymore.

Peach [import]uid: 52491 topic_id: 13994 reply_id: 51968[/import]

Thanks for your help.

Best,
Chris [import]uid: 84697 topic_id: 13994 reply_id: 52040[/import]