开发者

How to change permission of database file in android?

From file explorer i am viewing my database file but not able to access the file can you tell 开发者_如何学Pythonme how to see the database columns and how to change the permissions of that file too.


1. open ddms -> file explorer -> file -> file -> <package name> -> database ->
   (select) databasename.db file -> pull file from the device (use pull button on 
  top-right of file explorer window) -> set the destination for file.

2. use any sqlite tools for open that database.db file and using it retrive or modify
   data of database.

Thnx.

EDIT: And for the permission, I didn't try it but I think, root your adb device (Emulator) and then change the permission of the appropriate file, For this you want to use adb tool and adb command.

EDIT: Look at Understanding Android file permissions and How to Use Android ADB Command Line Tool

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜