and i think that's not the formation of audio/video issue,

because I put the 3gp video in the /data/app
and modify the path to:
setVideoURI(Uri.parse("/data/app/2.3gp"));

now, it can work!


I am so confused.........

On 7月8日, 下午3時26分, tstanly <[email protected]> wrote:
> hi all,
>
> I was very confused for MediaPlayer,
> follow the audio supporting formate 
> from:http://developer.android.com/guide/appendix/media-formats.html
>
> i success in mp3 formate,
> but failure in wav and 3gp formate..
>
> i can't figure out why i can't?
>
> the other question is the error message from adb logcat,
>
> E/MediaPlayer(  729): error (1, -1)
> E/MediaPlayer(  729): Error (1,-1)
>
> can somebody tell me what's the "(1,-1)" means???
>
> i try my best for several methods and audio/video support formate,
> but still failuere,
> and always get the error message..
>
> can somebody help me ?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to