Version 2 (modified by 9 years ago) ( diff ) | ,
---|
EdenMobile Debugging
Table of Contents
Database on Android Device
To be able to view the EdenMobile database on an Android device, make sure that:
- the App is build with debug-option
- you have the Android Debug Bridge adb installed (part of the Android SDK)
Then you can copy the database from the device to the SD card, and pull it from there to your development machine.
Linux users can use the following script:
#!/bin/bash PACKAGE=org.sahanafoundation.eden_mobile FILENAME=emdb.db adb shell run-as $PACKAGE chmod 777 /data/data/$PACKAGE/databases/ adb shell run-as $PACKAGE chmod 777 /data/data/$PACKAGE/databases/$FILENAME adb shell cp /data/data/$PACKAGE/databases/$FILENAME /sdcard/ adb pull /sdcard/$FILENAME
(Windows users analogously, just not /bin/bash then ;))
Then use e.g. SQLiteBrowser to browse the database schema and data.
Attachments (2)
- remote-debugging-with-chrome.png (97.7 KB ) - added by 8 years ago.
- browse-em-database.png (130.7 KB ) - added by 8 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.