Has anyone got this problem?

Need help.

On May 9, 11:01 am, Yan Shi <shiyansu...@gmail.com> wrote:
> In 1.5, I can't set ringtone for my own app's notification and neither
> can I get any notification sound.
>
> I always get this:
> E/MediaPlayerService(  542): Couldn't open fd for 
> content://settings/system/ring
> tone
> E/MediaPlayer(  574): Unable to to create media player
> W/NotificationService(  574): error loading sound for 
> content://settings/system/
> ringtone
> W/NotificationService(  574): java.io.IOException: setDataSource
> failed.: status
> =0x80000000
> W/NotificationService(  574):   at
> android.media.MediaPlayer.setDataSource(Nativ
> e Method)
> W/NotificationService(  574):   at
> android.media.MediaPlayer.setDataSource(Media
> Player.java:610)
> W/NotificationService(  574):   at android.media.AsyncPlayer$Thread.run
> (AsyncPla
> yer.java:76)
>
> And when I go to APIDemos->App->Notification->Status Bar and click
> "Sound" button, I got the same error.
>
> I am using Eclipse in Vista 32 with 1.5 R1. So what's wrong and how
> can I do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to