开发者

When I assign ringtone in android using code it won't paly it in a loop, why?

I use this code:

ContentValues values = new ContentValues();
values.put(ContactsContract.Data.CUSTOM_RINGTONE, Environment.get开发者_JS百科ExternalStorageDirectory().getPath() + "/ring.wav");
getContentResolver().update(ContactsContract.Contacts.CONTENT_URI, values , "DISPLAY_NAME = 'Ani'", null);

It works great but it play only one time. How do I make it to play in a loop?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜