I made an app and installed it on my phone and it's working on my phone, can I get that source code back? Formatted my hard drive and didn't backup the project. It's not a big project but it'd be nice if I could get it back easily.
Get source code of my installed Android app
4.5k views Asked by qwert At
2
You have to access your android device via terminal to get the APK from it. Moreover you'll need to root the device if the app has been installed from the app store. Once you got the APK you can decompile it in java code.
Root your device: http://www.digitaltrends.com/mobile/how-to-root-android/
Get the APK from the phone:
adb shell
so you get into your phone.find /data/app -name '*.apk'
to list the apks installed and copy the name of the one in your interest.Now that you have the APK on your computer you have to decompile the APK.