You're right of course. Above code works on Samsung devices which do not WMA 
support.
However, Samsung devices have FLAC support and you'd thought it'd be 
enumerated by above code.
Not at all: they must have added support for it hacking $deity knows what 
code in the Media Scanner and elsewhere.
messy.

On Thursday, August 25, 2011 7:56:34 PM UTC+2, Doug wrote:
>
> On Aug 24, 8:03 am, b0b <pujos....@gmail.com> wrote: 
> > As it is a hack using private API it might break, sure. But I don't 
> > expect it to break before 2038 :). If it breaks it's not fatal for the 
> > app (crash). Btw above code snippet should catch Throwable to catch 
> > potential although unlikely UnsatisfiedLinkError. 
>
> Device manufacturers may have taken the liberty of changing all the 
> private APIs in a way that breaks your code.  They're private, after 
> all. 
>
> Samsung, notably, has gutted the android media frameworks to add more 
> video type support.  The code you're using may not work there. 
> Motorola has highly modified the internals of things too.  Maybe I'm 
> just skeptical. 
>
> Doug 
>

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