We would need to see what you are doing in your code before we could help. Just in case you are doing anything that forces one orientation.
Here is a simple Tier 1 bit of code so you can see if your Player is even recognizing orientation changes:
// set up the display a bit
SetDisplayAspect(-1)
SetOrientationAllowed(1,1,1,1)
SetTransitionMode(0)
// main loop
do
// check for done
if getPointerPressed()=1 then exit
// print information on screen
Print("Tier 1 Orientation Test")
Print("GetOrientation="+str(GetOrientation()))
Print("GetDeviceWidth="+str(GetDeviceWidth()))
Print("GetDeviceHeight="+str(GetDeviceHeight()))
Print("GetVirtualWidth="+str(GetVirtualWidth()))
Print("GetVirtualHeight="+str(GetVirtualHeight()))
Print("GetDirectionX="+str(GetDirectionX(),2))
Print("GetDirectionY="+str(GetDirectionY(),2))
Print("GetDirectionAngle="+str(GetDirectionAngle(),2))
Print("GetDisplayAspect="+str(GetDisplayAspect(),2))
Print("Touch anywhere to exit")
// update the screen
Sync()
loop
end
But it is absolutely a must that you have the latest player. Prior to v1076, the Players were not using native stuff to detect and switch orientations.
Attached is a v1076 Android Player apk. Yes, it is named interpreter_android.apk, but it is a full Player.
Cheers,
Ancient Lady
AGK Community Tester