In my Bachlor Thesis I have developed an app called “AppEditor” which is capable of Reengineering other Android Apps directly on the device.
The code is publicy available on my Bitbucket page. You can also download the code directly from there. My thesis is also uploaded there. So have a look and feel free to contribute. Take a look at the screenshots