The easiest way to handle orientation in an Android application is not to,simply supporting portrait would be enough. So I made the following change to the tag in the manifest:
Since we don’t seem to receive orientationchange events from within the app’s code I removed the event handler for it and the resize event.
Other than those two changes the rest of the code was lifted as is from the web version of the application. The complete source code is in my GitHub repo. It is for Android and the Eclipse IDE. Hopefully a little later in the week I will do a Intellij IDEA version and also the iOS version.
http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fronco-20%2F8010%2F34c4e293-16aa-4cdf-8038-60405588f045&Operation=GetDisplayTemplate Amazon.com Widgets