Hello there,

I've got some code that generates 16-bit PCM audio, and have written a
method to encase it in a valid WAV header - but when I try to add such
a file to the ContentResolver's database (with getContentResolver
().insert()) I get a rather unhelpful CONSTRAINT FAILED error. Is
there a specific MIME type I should be using, since audio/x-wav
doesn't work. I've tried just saving the file to the root of the SD
card, but to get it to show up in the system's audio picker I have to
restart the device.

Any advice?
Thanks,
Rhodri

--~--~---------~--~----~------------~-------~--~----~
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