Finished code generator for Android app. View it at your own risk. :-D