【Android GingerBread】 Where the setting configuration is stored.

來源:互聯網
上載者:User

From my friend Xing.

The
current setting configuration is saved in SQL database. You can find the
information in the following database file:

 

/data/data/com.android.providers.settings/databases/settings.db

 

    
You can use the “sqlite3” command to query the database:

 

/data/data/com.android.providers.settings/databases
# sqlite3 settings.db

SQLite
version 3.6.22

Enter
".help" for instructions

Enter
SQL statements terminated with a ";"

sqlite>
.tables

android_metadata  
bookmarks    
     system          

bluetooth_devices 
secure          

sqlite>
select * from system;

3|volume_system|7

4|volume_voice|4

5|volume_alarm|6

6|volume_notification|5

7|volume_bluetooth_sco|7

8|mode_ringer|2

9|vibrate_on|4

10|mode_ringer_streams_affected|166

11|mute_streams_affected|46

12|dim_screen|1

15|emergency_tone|0

16|call_auto_retry|0

17|dtmf_tone_type|0

18|hearing_aid|0

19|tty_mode|0

20|airplane_mode_on|0

21|airplane_mode_radios|cell,bluetooth,wifi

22|airplane_mode_toggleable_radios|wifi

23|auto_time|1

24|screen_brightness|102

25|screen_brightness_mode|0

26|window_animation_scale|1.0

27|transition_animation_scale|1.0

28|accelerometer_rotation|1

29|haptic_feedback_enabled|1

30|notification_light_pulse|1

31|set_install_location|0

32|default_install_location|0

33|power_sounds_enabled|1

34|low_battery_sound|/system/media/audio/ui/LowBattery.ogg

35|dock_sounds_enabled|0

36|desk_dock_sound|/system/media/audio/ui/Dock.ogg

37|desk_undock_sound|/system/media/audio/ui/Undock.ogg

38|car_dock_sound|/system/media/audio/ui/Dock.ogg

39|car_undock_sound|/system/media/audio/ui/Undock.ogg

40|lockscreen_sounds_enabled|0

41|lock_sound|/system/media/audio/ui/Lock.ogg

42|unlock_sound|/system/media/audio/ui/Unlock.ogg

43|vibrate_in_silent|1

45|next_alarm_formatted|

46|notification_sound|content://media/internal/audio/media/2

47|ringtone|content://media/internal/audio/media/19

48|alarm_alert|content://media/internal/audio/media/83

49|screen_off_timeout|30000

50|stay_on_while_plugged_in|3

53|volume_ring|6

54|volume_ring_last_audible|6

59|volume_music|10

60|volume_music_last_audible|10

sqlite>

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.