I'm running the internal render version as the blackjack has no 3D acceleration.
I ran the code you posted... here is the output:
Pitch: 2 640
Res: 320 240
RealRes: 320 240
Rotate: 1
Model: SGH-i607
Keys:
I did not have to rotate to view it. I've noticed that only GAPI screws up and requires you to rotate the phone. DirectDraw apps run fine!