I'm following the instructions here: Debugging sqlite database on the device.
My problem arises when trying to copy the file to sdcard. If I run the full command, it doesn't give me any message, and the file isn't there when i go there through My Computer. If I break the commands down and run them one by one, when I do cat, I get the following:
sh: can't create /sdcard/Database.db: Permission denied
I also have both permissions:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Any idea what's wrong?