Saturday 9 July 2011

getting apk from phone to computer android

I'll show you here a way to get the package apk that you have downloaded from android market to your pc
Suppose that you have downloaded a favorite basketball shooting game and you want to get its apk files.
In this post, i use an LG android device with Froyo ( android 2.2 )
Once downloaded,  goto :
settings>Applications>Manage Applications :
Choose your application and in the application info window :click the button Move to SD card if accessible. It will copy the corresponding package to the folder /mnt/asec/
You can read more about this folder asec at : http://groups.google.com/group/android-developers/browse_thread/thread/f7d11237744fe5fa?pli=1
At this time, plug your phone to pc and DON'T TURN ON USB STORAGE proposed option
If you turn it on, the content of /mnt/asec/ will be encrypted outside the device itself and you can get the apk directy.
Now you are ready to get the files by typing via console command:
adb pull /mnt/asec installed_apps/
where installed_apps is a folder that you have to create
This command will copy all the content of the /mnt/asec 

Hope that it will help.
If this article was helpful for you, please click on one advertisement link on the blog page ;) 

No comments:

Post a Comment