Step:
1. adb shell
2. sqlite3 data/data/com.android.providers.settings/databases/settings.db
3. select * from system; //show all value in this talbe.
4. update system set value="0" where name ="accelerometer_rotation";
5. .database //show database
6. .table //show table
7. .quit //exit
8. delete from system where id=0; //delete
9. create table test(one varchar(10), two smallint);
10. insert into test values('goodbye', 20);
11. .help
沒有留言:
張貼留言