Device Screen Orientation Issue

I just started trying to build my app for the Android. I am installing a debug version on a Nexus One and it is having orientation issue. If I put the below code in my build.settings file it is showing it upside down.

1
2
3
4
5
6
7
8
settings = {
        orientation = {
                default = "landscapeRight",
                supported = {
                        "landscapeRight"
                },
        },
}

Ah hah, I was missing a comma after the landscapeRight and it's working now.

I can't get it to work, not even the demos works with my phone..
Samsung Galaxy S

The picture is upsidedown or just totally wrong..

This works for me...

settings = {

orientation =

{
default = "landscapeRight",
supported = { "landscapeLeft", "landscapeRight"},
},

}

Yes, i tested that in Corona SDK and it works, but i would like it i Game Edition... It doesn't work in there =/

The problem was fixed in Corona SDK but it's still broken in Game Edition. The new Game Edition build will include all the latest fixes from Corona SDK. Expect it very, very soon.

-Tom

I Can't wait! :-)

GE is out now so you should be able to try it.

-Tom

views:1534 update:2011/10/9 9:57:41
corona forums © 2003-2011