so i just got my kindle fire HD and ran one of my apps, it rotates upside down.
basically my app is landscape but its upside down. [import]uid: 8697 topic_id: 30991 reply_id: 330991[/import]
so i just got my kindle fire HD and ran one of my apps, it rotates upside down.
basically my app is landscape but its upside down. [import]uid: 8697 topic_id: 30991 reply_id: 330991[/import]
Does it also rotate incorrectly on other devices?
Are you hardcoding in either the “landscapeRight” or “landscapeLeft” orientations? If so, maybe try swapping? [import]uid: 172008 topic_id: 30991 reply_id: 123896[/import]
it works on all other devices even the original kindle fire, this app is already on the amazon store. [import]uid: 8697 topic_id: 30991 reply_id: 123907[/import]
Wow, @cublah, it doesn’t sound good at all. Do you have more than one Kindle Fire app in landscape mode, and if you do, do they all appear upside down? Also, do you have any Kindle Fire app that is designed to work in portrait mode, and if you do, do they appear upside down.
Yikes… I wonder what this means.
Naomi [import]uid: 67217 topic_id: 30991 reply_id: 123910[/import]
I have 3 Kindle Fire Apps, 1 works (probably because it has no rotation code in it) and the other 2 display upside down [import]uid: 8697 topic_id: 30991 reply_id: 123911[/import]
@cublah, thank you for clarifying. So… the issue manifests only if the app uses rotation code then? And by rotation code, do you mean supporting more than one orientation in build.settings? Or is there something else you are doing? I’d like to understand it a little better.
Naomi [import]uid: 67217 topic_id: 30991 reply_id: 123914[/import]
Any updates on this, or anyone else that is having a similar issues?
I wasn’t planning on needing to update my apps for Kindle HD, but now this has me worried. [import]uid: 84258 topic_id: 30991 reply_id: 123948[/import]
I went and purchased a Kindle Fire HD and I did not have this issue. The rotation works fine for me, this is what my config looks like:
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”,
},
},
[import]uid: 84258 topic_id: 30991 reply_id: 124008[/import]
I am using the rotationfix, but looking at my code I remember now I disabled rotation for the Kindle fire because of the 20 pixel menu bar on the Kindle Fire.
I disabled it by the following
if (system.getInfo(“model”) ~= “Kindle Fire”) then
Runtime:addEventListener( “orientation”, onOrientationChange )
end
Now obviously the rotation kicked in because the Kindle Fire HD does not return “Kindle Fire” it returns “KFTT”.
Regardless, the rotation is still wrong and I probably can fix it by changing rotation fix.lua for just the Kindle Fire HD. [import]uid: 8697 topic_id: 30991 reply_id: 124036[/import]
Everyone,
I’ve tested Corona with a Kindle Fire HD 7" last week. There are no orientation issues with the device. Although, I’ll say it isn’t obvious if the Kindle Fire HD device itself is being held upside down or not… and if you have a fixed orientation app, it would be confusing to the end-user if it only displays portrait when the user is holding the device in portraitUpsideDown.
Currently, Corona for Android does not support both “portrait” and “portraitUpsideDown”… or “landscapeRight” and “landscapeLeft”, like what kbradford is doing. A Corona made Android app only supports multiple orientations if it supports both a portrait and landscape orientation. This has been an Android 2.2 limitation that we’ve been stuck with since the beginning, because that is the minimum version that we support. I’m thinking that it’s time for this to change. I can look into supporting this, but it’s going to require some research and experimentation in order to maintain Android 2.2 support too… so it’s going to take some time. [import]uid: 32256 topic_id: 30991 reply_id: 124200[/import]
Does it also rotate incorrectly on other devices?
Are you hardcoding in either the “landscapeRight” or “landscapeLeft” orientations? If so, maybe try swapping? [import]uid: 172008 topic_id: 30991 reply_id: 123896[/import]
it works on all other devices even the original kindle fire, this app is already on the amazon store. [import]uid: 8697 topic_id: 30991 reply_id: 123907[/import]
Wow, @cublah, it doesn’t sound good at all. Do you have more than one Kindle Fire app in landscape mode, and if you do, do they all appear upside down? Also, do you have any Kindle Fire app that is designed to work in portrait mode, and if you do, do they appear upside down.
Yikes… I wonder what this means.
Naomi [import]uid: 67217 topic_id: 30991 reply_id: 123910[/import]
I have 3 Kindle Fire Apps, 1 works (probably because it has no rotation code in it) and the other 2 display upside down [import]uid: 8697 topic_id: 30991 reply_id: 123911[/import]
@cublah, thank you for clarifying. So… the issue manifests only if the app uses rotation code then? And by rotation code, do you mean supporting more than one orientation in build.settings? Or is there something else you are doing? I’d like to understand it a little better.
Naomi [import]uid: 67217 topic_id: 30991 reply_id: 123914[/import]
Any updates on this, or anyone else that is having a similar issues?
I wasn’t planning on needing to update my apps for Kindle HD, but now this has me worried. [import]uid: 84258 topic_id: 30991 reply_id: 123948[/import]
I went and purchased a Kindle Fire HD and I did not have this issue. The rotation works fine for me, this is what my config looks like:
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeLeft”, “landscapeRight”,
},
},
[import]uid: 84258 topic_id: 30991 reply_id: 124008[/import]
I am using the rotationfix, but looking at my code I remember now I disabled rotation for the Kindle fire because of the 20 pixel menu bar on the Kindle Fire.
I disabled it by the following
if (system.getInfo(“model”) ~= “Kindle Fire”) then
Runtime:addEventListener( “orientation”, onOrientationChange )
end
Now obviously the rotation kicked in because the Kindle Fire HD does not return “Kindle Fire” it returns “KFTT”.
Regardless, the rotation is still wrong and I probably can fix it by changing rotation fix.lua for just the Kindle Fire HD. [import]uid: 8697 topic_id: 30991 reply_id: 124036[/import]
Everyone,
I’ve tested Corona with a Kindle Fire HD 7" last week. There are no orientation issues with the device. Although, I’ll say it isn’t obvious if the Kindle Fire HD device itself is being held upside down or not… and if you have a fixed orientation app, it would be confusing to the end-user if it only displays portrait when the user is holding the device in portraitUpsideDown.
Currently, Corona for Android does not support both “portrait” and “portraitUpsideDown”… or “landscapeRight” and “landscapeLeft”, like what kbradford is doing. A Corona made Android app only supports multiple orientations if it supports both a portrait and landscape orientation. This has been an Android 2.2 limitation that we’ve been stuck with since the beginning, because that is the minimum version that we support. I’m thinking that it’s time for this to change. I can look into supporting this, but it’s going to require some research and experimentation in order to maintain Android 2.2 support too… so it’s going to take some time. [import]uid: 32256 topic_id: 30991 reply_id: 124200[/import]