I set my project with this properties:
Letterbox
1536x2048
Landscape Left
I use on my program:
generalWidth = application:getContentWidth()
generalHeight = application:getContentHeight()
to access absolute logical coordinates from screen. The program works fine, and all object and relative positions works fine on different devices. But when i try to take a snapshot from the screen (POWER+HOME) i got the photo turned 90 degress. It seems that the device doesn't recognize the game is landscape orientation. How can i fix that?
Comments
Find the line which reads android:screenOrientation="portrait" and change it to read android:screenOrientation="landscape" Then continue to build your NewGiderosPlayer app.
If you have done it correctly then when you run your app through the NewGiderosPlayer then the OS will recognise it as a landscape app.
This is also how you change your app to landscape mode when you are ready to build it for release.
@atilim: Squeak, Squeak as requested here
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
- I've set Gideros project as Landscape Left orientation, no autorotation.
- In XCode i've choose Landscape Left for iPhone and iPad devices. Only "landscape left" icon is in black, rest of icons are grey.
- After run on my iPad, I see the landscape screen with volume buttons on top. That's right what i expected with "Landscape left" orientation.
But when i press volume control, the volume icon appear turned in 180 degress. The notification slide tab, show on screen bottom. It's like the screen is turned 180 degress.
What could be the mistake? Even, the Launch images show me turned 180 degress.
However, i got an error on the iPad emulator, i guess maybe this is the key why my app is rejected on the Store. This is the error:
'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'
Well, anyone here did a landscape app, what configuration take for Gideros and Xcode software in order to get a good executable?
"music.mp3 : No such file or directory."
and the execution stop in emulator. That's strange, however works fine on real device. What can i do to avoid this error?