ummm. well. A thought would be to do a "check on every X seconds" say 1. If your fortunate the window Width will change. Check all the Width of course just to make sure. If it changes then you have your check. I used this model in straight js, but i'm guessing here in C2.
oh oh. You should be able to check the acceleramotr instead of width. I'm not sure which vector your checking for or the degree's before the tablet instelf changes. but I think this will work out.jayderyu2012-11-08 08:01:24
Aside from checking the accelerometer, not that I know of.
Edit: I suppose you could do something like check if the windowwidth changes, if the new windowwidth is lower than the previous windowwidth, it's probably in portrait. Tough that wouldn't help for determining if it's in portrait or landscape at start, though.Arima2012-11-09 20:01:29