Problem with full screen on certain Android device


hello, how guys doing?

i new working actionscript on mobile devices , first time post here.

it's nice meet all.

 

i working on game both android , ios. far works on ios , of android devices. problem came when tested on galaxy s2.

 

somehow, not game run full screen on galaxy s2 android 4.0.3. when traced stage width , height, showed stage height stage height notification bar on though notification bar gone. when game ran, images seem in full screen correctly there empty area @ bottom size of notification bar.

 

like this: (the orientation set landscape)

screen.jpg

the image not supposed chopped off.

 

here code in main class did tracing:

 

this.stage.scalemode = flash.display.stagescalemode.no_scale;

                              this.stage.align = flash.display.stagealign.top_left;

                              this.stage.framerate = 30;

                              this.stage.color = 0x000000;

                              stats = new stats();

                              this.addchild(stats);

                              screenwidth = this.stage.fullscreenwidth;

                              screenheight = this.stage.fullscreenheight;

                              trace(screenwidth+" "+screenheight);

                              trace(this.stage.stagewidth+" "+this.stage.stageheight);

                              myscalex = stage.fullscreenwidth/960;

                              myscaley = stage.fullscreenheight/640;

                              mystarling = new starling(game,stage);

                              mystarling.antialiasing = 1;

                              mystarling.start();

 

the trace showed:

800 480

800 442

 

i had tested same app on galaxy s android 2.3.6, asus transformer, not sure version of android running on, , ipod version: 5.1.1(9b206). worked correctly. problem occured on galaxy s2 4.0.3.

 

i need helps here. hope missed obvious.

thanks lot time. appreciate feedbacks.

thank you~

use capabilities.os see if can determine when you're game installed on problematic device.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support