在Android中将字符串转换为Uri


219

我有一个字符串'songchoice'。我希望它成为“ Uri”,以便我可以与MediaPlayer.create(context, Uri)

如何将Songchoice转换为Uri?

Answers:



By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.