There is a file called Mediafile.java and MediaScanner.java in frameworks base. Just go through it.
On Tue, Jun 15, 2010 at 4:46 PM, allstars <[email protected]> wrote: > hi > i would like to get the mime type of my local media file (3gpp , > mp4, ...etc) > > if it is of video > then i want to allocate a SurfaceView for it additionally > otherwise i just use MediaPlayer to play it > > i have found opencore has provided some interface for that > and used by mediascanner.cpp > > but it seems in android media framework it isnt > > so can i achieve this by using android media framework? > > > thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- With Regards, Chetz -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

