Don't take this the wrong way but... good! If an official TGC app has run into the same issue I assume it would be a top priority to get it fixed.
Right now I'm trying quite the messy work-around, of which I'm not fond of. Which is to:
Allow all orientations
Prompt the user to rotate their device into portrait mode
Wait for portrait orientation
After capture prompt user to rotate their device into landscape mode
Wait for landscape orientation
Relock orientation
Something like this:
SetOrientationAllowed( 1,1,1,1 )
While GetOrientation( ) > 2
Print( "Rotate device to portrait mode" )
Sync( )
EndWhile
if ShowImageCaptureScreen( ) = 1
While IsCapturingImage( ) = 1
Sync( )
Endwhile
image = GetCapturedImage( )
endif
While GetOrientation( ) <= 2
Print( "Rotate device to landscape mode" )
Sync( )
EndWhile
SetOrientationAllowed( 0,0,1,1 )
While this
HORRIBLE work-around kind of works, it basically causes the camera view to be locked in portrait mode. So with the camera on, the camera view will not rotate with the orientation of the device.
I really hope you come up with a real solution, and if so please don't hesitate to let me in on it!
Sean