Android/MonoDroid 自定义铃声问题
我正在尝试弄清楚如何从 Assets 文件夹(作为 AndroidAsset 包含)中获取音频文件并将其添加到您拨打此电话时看到的铃声列表中:
this.StartActivity(new Intent(Android.Media.RingtoneManager.ActionRingtonePicker));
我正在通过此电话添加铃声:
InputStream inputstream = Assets.Open("filename.mp3");
有人知道吗这是如何实现的?我到处寻找,却没有弄清楚。谢谢
I am trying to figure out how to take an audio file from the Assets folder (included as an AndroidAsset) and add it to the list of Ringtones you see when you make this call:
this.StartActivity(new Intent(Android.Media.RingtoneManager.ActionRingtonePicker));
I am adding the ringtone via this call:
InputStream inputstream = Assets.Open("filename.mp3");
Does anyone know how this is accomplished? I have been searching all over and haven’t figured it out. Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样的东西:
Something like this: