How can I Push my apk from the Data Folder to the System/App Folder using a Rooted Device, programmatically using Runtime.getRuntime().exe.
Should I use Pull, Push or Cat Command and how?
Does it will affect Shared Prefs or anything?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
Usage
pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f]
[–algo –key –iv ] PATH
options :
Depending on your usage of the -r parameter, it will affect the shared preferences xml files (use to not lose).