Unable to download SQLite database file from Dev Phone

by creativepragmatic » Thu, 11 Mar 2010 00:15:05 GMT

Sponsored Links

I have seen other posts similar to this one but none of the solutions
listed work for me.  When I use the following command:

adb pull /data/data/com.mydomain.myappname/databases/MyDatabase.db /

the following error results.

failed to copy '/data/data/com.mydomain.myappname/databases/
MyDatabase.db' to '/home/me/MyDatabase.db': Permission denied

I have no problems with the emulator.  I am using a Dev Phone 2.

Thank you in advance for any help,



Other Threads

1. networkInfo.getSubtype() for 3G on Verizon/DROID

I'm getting a user error report that my app thinks their DROID handset
isn't connected to 3G, and after getting a logfile from him I think
I've narrowed it down to the return value from NetworkInfo.getSubtype
(). The code in question is the following, based on Jeff Sharkey's I/O
2009 talk "Coding for Battery Life" (see Slide 10 at

        NetworkInfo networkInfo = CONN_MGR.getActiveNetworkInfo();
        int netType = networkInfo.getType();
        int netSubtype = networkInfo.getSubtype();
        if (netType == ConnectivityManager.TYPE_WIFI) {
                // Wifi connection
                connected = true;
        } else if ((netType == ConnectivityManager.TYPE_MOBILE) &&
                   (netSubtype == TelephonyManager.NETWORK_TYPE_UMTS) &&
                   !TEL_MGR.isNetworkRoaming()) {
                // 3G connection
                connected = true;

My strong suspicion is the check against
TelephonyManager.NETWORK_TYPE_UMTS, that either Verizon or DROID is
returning a different value for its 3G network. My guess is either
NETWORK_TYPE_EVDO_0 or NETWORK_TYPE_EVDO_A, but I'd like to have more
than a guess here. Anyone have direct knowledge, or a better position
to guess from?

I know Jeff often monitors this group. Jeff, any suggestions, given
this was your code to start with? ;^)




2. how to run emulator to get 1-1 pixel mapping with WVGA854

emluator -dpi-device 96
if your monitor screen is set to 96 dpi



3. What happens when I send APK to a paying customer for testing?

4. Integrating Open Max With OpenCORE

5. editor in adb shell

6. need help to figure out the issue with emulator on Fedora 10 64 bit. I'm new to this development.

7. How can an app dynamically what is the current display language set