Questions tagged [ringtonemanager]
77 questions
-1
votes
2 answers
How can I parse a String to Uri?
How do I parse an mp3 music (which is in String format) to Uri and play it using the RingtoneManager? Any suggestions
Edit: I've tried something like the following, where item1 is in String format. But the music doesn't play when I run the app.
…
user11211440
-2
votes
1 answer
ringtone are not setting in some devices specially in marshmallow 6.0
i am using below method to select ringtone from app directory.. working on Oreo and nougat but not working below nougat.
private void setRingtone(String filePath) {
File k = new File(filePath);
ContentValues values = new ContentValues();
…

Y2J
- 25
- 5