开发者

how can i update sound and display from my activity

开发者 https://www.devze.com 2023-02-03 14:33 出处:网络
I used the following code to have the sound and display activity . Intent viewIntent = new Intent(Intent.ACTION_EDIT);开发者_StackOverflow社区

I used the following code to have the sound and display activity .

Intent viewIntent = new Intent(Intent.ACTION_EDIT);开发者_StackOverflow社区 viewIntent.setAction(android.provider.Settings.ACTION_DISPLAY_SETTINGS); startActivityForResult(viewIntent,1);

Now i need to edit the sound and display settings and to save the updated settings . Please assist me for this.

Thanks


That code should open the systems settings screens, they should do all the work for you. No need to update the settings yourself.

0

精彩评论

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