Hello
I’m having some trouble locking the android screen to landscapeLeft/Right mode for my application. I am using the build.settings file. When I use the following code:
[blockcode]
settings =
{
orientation =
{
default = “landscapeLeft”,
supported =
{
“landscapeLeft”
},
},
android =
{
versionCode = “3”
},
}
[/blockcode]
My android just reboots when I try to install the app. I have a HTC desire and are using the HTC sync program to install. ( I have also trying it on a friends phone with the same result)
With this code:
[blockcode]
settings =
{
orientation =
{
default = “landscapeLeft”,
supported =
{
“landscapeLeft”, “landscapeRight”
},
},
android =
{
versionCode = “3”
},
}
[/blockcode]
I get it installed on the phone, but for some reason the application still starts in “portrait” mode and you can still change from/to that mode, not just landscape, which is what I am trying to avoid.
Does anyone know how I can force it to start, and stay, in just landscape mode?
[import]uid: 116981 topic_id: 22462 reply_id: 322462[/import]
[import]uid: 116981 topic_id: 22462 reply_id: 89857[/import]