开发者

How to list down Android phone settings menu items in my application?

I wanted to list down android phone settings with in application.

Any id开发者_如何学编程eas?


What kind of settings you need to list down??

There are many settings, and Android SDK provide the APIs to access there status.

For example, if you require to get the volume settings you may use AudioManager etc ...

Edit

AudioManager mAudioManager = (AudioManager) getSystemService(AUDIO_SERVICE);

int maxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); // also get for diffrent streams here

System.out.println(maxVolume);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜