I'm writing an app that needs a video player.

It would be nice to have the audio of the player still available when
the user navigates away from the application, and have the visual
resume when they navigate back to it.

For an audio player this could easily be done by creating a service
that houses the media player with an interface setup for controlling
things like start, pause, seek, etc.  It doesn't seem to be so easy
for a video player though, because the video player needs access to a
SurfaceView, and we can't simply pass a pointer to an instance of
SurfaceView through messages and service interfaces (right?).

Any thoughts on how this can be done?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to