Every device's MediaPlayer works a bit differently, so what works for you on one device may not work the way you expect on another. I have seen significant differences between manufacturers and versions of Android.
On Monday, March 21, 2011 12:32:41 PM UTC-7, droid-stricken wrote: > > I think i have a solution for this. Using a background image for the > surface view and removing the background before calling > mediaplayerinstance.start() works for me. > > Thanks. > > On Mar 21, 1:09 pm, droid-stricken <[email protected]> wrote: > > Hi All, > > > > I am creating a surface holder for displaying my video and creating > > the mediaplayer instance as well. My question is - How to display the > > first frame on the surfaceView and then provide a button for the user > > to click that starts the actual playback of the video? > > > > Currently, my screen is totally black before the user presses the > > button that calls mediaplayerinstance.start(). I would rather have a > > frame there instead of nothing. > > > > Is this possible to achieve? seekTo to the first 1 sec of the video > > content does not help. I don't see the frame at the 1st sec until > > start() is invoked. > > > > TIA. -- 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

