好吧,我想知道为什么我无法在Windows手机上保存铃声
SaveRingtone ringtone = new SaveRingtone();
ringtone.Source = new Uri("appdata:/"+path);
ringtone.DisplayName = b.Content.ToString();
ringtone.Completed += Ringtone_Save_completed;
ringtone.Show();
这是我的代码
答案 0 :(得分:0)
嗯,你是如此接近。
类SaveRingtone它是SaveRingtoneTask
SaveRingtoneTask ringtone = new SaveRingtoneTask();
ringtone.Source = new Uri("appdata:/"+path);
ringtone.DisplayName = b.Content.ToString();
ringtone.Completed += Ringtone_Save_completed;
ringtone.Show();
,您需要添加
using Microsoft.Phone.Tasks;