peterx,
if you'll probably look on the code, because of 1.8 thing... Could you also have a look on the issue that your app does not draw 180 deg rotated picture, if display is rotated 180 deg. It is only during the drawing, if the page is left and made return back the drawing is displayed correctly.
I hope, it is simple to fix. Thanks.