android settings (provider)?

Posted by lorenzoff on Stack Overflow See other posts from Stack Overflow or by lorenzoff
Published on 2011-02-01T15:22:21Z Indexed on 2011/02/01 15:25 UTC
Read the original article Hit count: 189

Filed under:
|
|
|

Hello to all, i'd like to substitute the default preferences setting activity (vertical, icon-title pair list) with a grid view that better fit a large landscape display.
About, let's say, the audio preferences, i add an icon to a GridView and, on item click event, i use this code

startActivityForResult(new Intent(android.provider.Settings.ACTION_SOUND_SETTINGS), 0);
  • Is it possible to get the default settings icon? If i could use an ipotetic getDrawable(android.R.drawable.default_icon_for_audio_preferences_settings), I would to maintain the default icon also in my preferences grid.

  • A preferences provider exists? Looking at my development device preferences i can see Wireless, call, audio, display and so on. I have to add the same preferences to my grid because i know a priori about their existence or there is a provider that can supply me this array?

Thanks in advance L.

© Stack Overflow or respective owner

Related posts about android

Related posts about activity