How to start an activity which display "Sound & Display " screen
I 开发者_如何学编程am new in android development. I am making an application using intent which to show a sound and display settings screen. I used the following code to have it.
Intent viewIntent = new Intent(Settings.ACTION_SOUND_SETTINGS);
this.startActivityForResult(viewIntent,0);
But it doesnt work. It give me force close the application.
If anyone help me about this..
Thanks
full solution:
Intent aa = new Intent(android.provider.Settings.ACTION_SOUND_SETTINGS);
startActivityForResult(aa,0);
精彩评论