-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guide on ADB commands #217
Comments
If anyone could provide a one-line command for pulling data from a device, that would be the best :D Normally, I would do as follows to pull a database file from app data: $ adb shell
$ shell@user:/ $ run-as myapp.com.android
$ shell@user:/ $ cat databases/mydb.db > /mnt/sdcard/db.db
$ shell@user:/ $ exit
$ adb pull /mnt/sdcard/db.db . |
If you are pulling your own app db then better to create the db on sdcard On 19-Oct-2016 13:02, "Aiman B" notifications@github.com wrote:
|
@Hanif-abuvani don't you think there will be a security issue with that approach? But it could be done by creating the db on debug mode only. |
Yes, I am saying to go for this only at development time, while publishing On 26-Oct-2016 08:56, "Aiman B" notifications@github.com wrote:
|
The text was updated successfully, but these errors were encountered: