Thanks for your reply, but still not working.. Now i am trying with
this code...
import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import
did you get any error in ddms logcat ?
may be your player gives error while try to play
On Thu, Mar 5, 2009 at 3:14 PM, nithin nithin.war...@gmail.com wrote:
Thanks for your reply, but still not working.. Now i am trying with
this code...
import android.app.Activity;
import
no, there is no error in logcat...
i put log messages every where and logcat showing all messages, but no
video is playing..
Nithin
On Mar 5, 2:48 pm, dillirao malipeddi dillir...@arijasoft.com wrote:
did you get any error in ddms logcat ?
may be your player gives error while try to play
ya, i saw log messages, in that, getVideoSize returning -1...
what may be the reason for that, any idea please..
Nithin
03-05 14:59:43.072: INFO/(324): 111
03-05 14:59:43.113: INFO/222(324):
03-05 14:59:43.123: INFO/333(324):
That won't work for a number of reasons:
- when you create the MediaPlayer and call start(), your display isn't
ready yet. You need to wait for the surfaceCreated() callback.
- you need to use the version of MediaPlayer.create() that takes a
SurfaceHolder parameter.
(this was all discussed on
Thanks marco, at last got it...
thanks for your valuable input..
Nithin
On Mar 5, 10:02 pm, Marco Nelissen marc...@android.com wrote:
That won't work for a number of reasons:
- when you create theMediaPlayerand call start(), your display isn't
ready yet. You need to wait for the
you must set parameters for playing video
see api demos - examples media - video demo player
On Thu, Mar 5, 2009 at 1:15 PM, Nithin nithin.war...@gmail.com wrote:
hi,
I tried a simple mediaplayer application, just to run a .3gp file.
First, i put the .3gp file in Raw folder and tried to
You need to tell the mediaplayer where to display the video with
setDisplaySurface(). Check out the media demo apps on
developer.android.com.
On Mar 4, 11:45 pm, Nithin nithin.war...@gmail.com wrote:
hi,
I tried a simple mediaplayer application, just to run a .3gp file.
First, i put the .3gp
8 matches
Mail list logo