문제

I created a database via javascript using Google Gears on Android 1.5 and I'd like to access directy the sqlite file to look inside it whitout using Gears. I found several "File Browser" but they only browse the SD card. Is there a way to fetch it from the phone file system?

I have an HTC Dream running Androis 1.5.

Thank you!

도움이 되었습니까?

해결책

Permissions on the phone filesystem are on a per application basis usually. Sure you can mess with them to give access to multiple applications but this is not the supported scenario. On the other hand, the filesystem mounted at /sdcard is open to everyone and apps can share the same folder/file with ease. If you only want to push/pull from the local storage, use the adb 'pull' and 'push' commands to get the files from the phone onto your computer and then mess with them locally. ADB is part of the Android SDK tools.

See: http://developer.android.com/guide/topics/security/security.html#userid

Still, I'm not sure you could really get the browser generated sqlite database easily if at all. Good luck!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top