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:

1
2
3
4
5
6
7
8
9
10
11
12
-- config.lua
 
application =
{
        content =
        {
                width = 320,
                height = 480,
                
                scale = "letterbox" -- zoom to fill screen, possibly cropping edges
        },
}

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?

Thanks for reply.

I didn't change build.setting.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- build.settings
 
settings =
{
        orientation =
        {
                default = "portrait",
        },
 
        iphone =
        {
                plist=
                {
                        UIHiddenStatusBar= true,
                CFBundleIconFile = "Icon.png",
                CFBundleIconFiles = {
                   "Icon.png", 
                   "Icon@2x.png", 
                   "Icon-72.png", 
                },
                },
        },
}

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 :)

Peach

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 :/ http://www.telechips.com/eng/Product/consumer_pro08.asp

Do i have right?

Cheers,
Chris

Hey again,

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

Peach

Thanks for your help.

Best,
Chris

views:1853 update:2011/10/11 15:24:38
corona forums © 2003-2011