5800 will auto-switch between landscape mode & portrait mode,please how to disable this function,before i post the thread,i found several possible solutions,
1-define "Nokia-MIDlet-App-Orientation: landscape" in jad,but unfortunatly it doesn't work
2-draw on a buffer ,calculate current status,then draw buffer to screen without change in landscape mode or rotate 90 degree in portrait mode,it works but may not the best,because the screen will be black for 1or 2 seconds when auto-switch occurs.
my desired sulution is, how to ignore the rotation in programe,or disable it when app start.
there should be some code ,with the function similier equals to"Menu> Settings> Phone> Sensor settings> Sensors> Off",but users don't need to set it by theirselves,because the app will do it automatically.
if u have a good idea,help me asap.thank u very much!
ps:i don't know if i express my meaning clearly as i expected,i am from a non-english spoken country,and the post is made with a dictionary in hand,its so hard to write a english post,so please help me i can not find a chinese solution !!