Ringtone picker - radio button set

后端 未结 2 744
独厮守ぢ
独厮守ぢ 2020-12-31 00:49

I can successfully bring up a ringtone picker and get a resultant uri with the following code...

    selsound_button.setOnClickListener(new OnClickListener()         


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 01:13

    You need to add

       intent.putExtra(RingtoneManager.EXTRA_RINGTONE_EXISTING_URI, currenturi);
    

    to set the radiobutton

提交回复
热议问题