hwhw/kindlepdfviewer — pull request #596 by kai771 (2012-11-16 22:01:03+00:00)
Title: Implements Kindle screen rotate on emulator and forces portrait mode on doc close

Although I said “don’t look at me” in #573, it turned out to be pretty simple. This is not a full implementation - both J and K will just flip back and forth to landscape/portrait. I don’t think full implementation is necessary for development (who’d want to read upside down?), and I’m lazy by nature, so if anyone wants to do all modes - be my guest.

Second commit contains changes that will force portrait mode on closing documents. I tested it on both emu and Kindle, and it appears to work fine (at least better than without the patch. Try rotating the screen in a version prior to this PR, and then press Home. You’ll see what I mean). But, given my history of missing things, please do test yourself. I uploaded latest build [here](https://github.com/kai771/kindlepdfviewer/downloads), so it should be easy for anyone to test and report bugs.