Android game.Screen.Size incorrect?

Testing an iPhone Landscape project on a Samsung S2 via GS Viewer and the reported game.Screen.Size dimensions are 568x320 which is incorrect. Is this is a bug or is there another way to get android screen size dimensions?

Comments

  • PimanPiman Member, PRO Posts: 165
    Make sure it's at 100%, if it's not, it will have 50% of the screensize.

    What I noticed is that it reports 1024 on my Kindle Fire (gen 1), while it's supposedly 1004...
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    If your using the viewer there's a really good chance it's just a bug. The viewer is not a reliable way to test your apps beyond a quick test to see if something works.

    I would only be concerned if the app did this on an actual build loaded on the device.
  • ImpactBlueStudiosImpactBlueStudios Member Posts: 53
    Ah k thanks guys. I was also having trouble with the viewer on Android 4.2.1. Guess ill have to test with proper apks at a later date. Cheers.
  • ShaunEleryShaunElery Member, PRO Posts: 148
    Don't know if this is related but I had a problem where I started a game as iPad portraite and switched to nook/kindle landscape. Somehow the XML file had a value stuck as portrait and screwed up a ton of stuff with my camera. I had to manuelly futz with the XML file to fix it.
  • ImpactBlueStudiosImpactBlueStudios Member Posts: 53
    Just to follow up on this. I've built an android version of the app and deployed it onto the Galaxy S2 as an APK and I am getting the exact same behaviour, the reported screensize is incorrect. Am I the only person working on android with this issue?
Sign In or Register to comment.