开发者

Android: Set SMS Notification Tone

I need to change the SMS notification to开发者_如何学Gone using code in android. Any help is appreciated...


Looks like you should use RingtoneManager class:

RingtoneManager.setActualDefaultRingtoneUri(
  MainActivity.this,
  RingtoneManager.TYPE_NOTIFICATION,
  newUri
);

I lifted the code from here: StackOverflow post.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜