I needed to get an apk file from my installed apps so after checking few forums I found out this steps which helped me to achieve the goal.
This may vary with the version of Android OS. The following sequence of commands is what worked for me on a non-rooted Nexus 4 device with Android 4.4.4 and also with rooted Nexus 1 with CyanogenMod 7.2.0:
1) Determine the package name of the app, e.g. “com.example.someapp”. Skip this step if you …