There are many tools out there to decompile Java applications, but all those run on Windows or Linux operating system. If you ever wished to decompile and view the source code of applications directly on your Android device, then you are out of luck (not anymore!). Fortunately, an XDA developer niranjan94 has developed an utility called “Show Java”, which allows you to decompile any application and view the source code right in your Android device. It means, you can modify any application to your need and optimize your own project as well.
Show Java, makes use of two tools: Class File Reader and dex2jar to extract the code of a project. Interestingly, the output is presented in a well formatted syntax (syntax highlighted). You may choose to save the code on SD card to view it on your PC.
According to the developer, the application is still in Alpha stage, so you might find few bugs and slow decompilation. Apart from few hiccups: May not work with system applications on most devices, not an impressive progress bar. Show Java is very simple to use. All you need is to tap on any of the installed application and wait for the program to decompile.
Now head on to the original XDA page to download Show Java written APK file.