Using adb to get/set input method settings

QUERY:

$ adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from 'global' where name like '%input_method%';"

$ adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from 'secure' where name like '%input_method%';"

DELETE:

$ adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "delete from 'global' where name like '%input_method%';"

$ adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "delete from 'secure' where name like '%input_method%';"

UPDATE:

$ adb shell sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update 'global' set value='blabla' where name = 'default_input_method';"

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha