I really don't know yet. If i use de VideoView, all works perfectly.
But then i can't get an frame as bitmap :(

Thks.

On 15 jul, 14:34, Fräntz Miccoli <[EMAIL PROTECTED]> wrote:
> I've already got this problem, I hadn't find way to solve it... Isn't
> it the android issues ?
>
> On Jul 15, 6:44 pm, Cezar Augustus Signori <[EMAIL PROTECTED]>
> wrote:
>
> > Hi all!
>
> > I am trying to build another simple video player, but i need to use
> > the MediaPlayer class (because i have to use the getFrameAt()
> > method ).
>
> > Well, i've tryied  a lot of different things ..... all that i want is
> > to play a local file (located on "/data/data/teste/747.3gp")
>
> > I've looked here:
>
> >http://groups.google.com/group/android-developers/browse_thread/threa......
>
> > Actually i'm getting this exception when calling mediaPlayer.prepare()
> > for a local file:
>
> >  java.io.IOException
> >      at android.media.MediaPlayer.prepare(Native Method)
> >      at ufsc.cco.poo.projeto.player.Tocador.playVideo(Tocador.java:
> > 107)
> >      at ufsc.cco.poo.projeto.player.Tocador.access$0(Tocador.java:78)
> >      at ufsc.cco.poo.projeto.player.Tocador$1.onClick(Tocador.java:
> > 121)
> >      at android.view.View.performClick(View.java:1857)
> >      at android.view.View.onTouchEvent(View.java:2966)
> >      at android.view.View.dispatchTouchEvent(View.java:2706)
> >      at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
> >      at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
> >      at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
> >      at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:640)
> >      at android.policy.PhoneWindow
> > $DecorView.superDispatchTouchEvent(PhoneWindow.java:1193)
> >      at
> > android.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
> > 876)
> >      at android.app.Activity.dispatchTouchEvent(Activity.java:1520)
> >      at android.policy.PhoneWindow
> > $DecorView.dispatchTouchEvent(PhoneWindow.java:1177)
> >      at android.view.ViewRoot.handleMessage(ViewRoot.java:617)
> >      at android.os.Handler.dispatchMessage(Handler.java:80)
> >      at android.os.Looper.loop(Looper.java:91)
> >      at android.app.ActivityThread.main(ActivityThread.java:3052)
> >      at java.lang.reflect.Method.invokeNative(Native Method)
> >      at java.lang.reflect.Method.invoke(Method.java:356)
> >      at android.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
> > 1547)
> >      at android.os.ZygoteInit.main(ZygoteInit.java:1445)
> >      at android.dalvik.NativeStart.main(Native Method)
>
> > 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to