Re: [android-developers] Re: Obtaining access to the surfaceView instance

2011-04-27 Thread Dianne Hackborn
You need to create it in the activity. On Thu, Apr 28, 2011 at 12:30 AM, droid-stricken wrote: > Thanks. > So, any idea on how to associate the view created in the activity with > the mediaplayer instance created in the service. > It's not an issue for playing audio files but for video files, i

[android-developers] Re: Obtaining access to the surfaceView instance

2011-04-27 Thread droid-stricken
Thanks. So, any idea on how to associate the view created in the activity with the mediaplayer instance created in the service. It's not an issue for playing audio files but for video files, i need a surface to render it :( I am sure ppl must have faced this issue - it appears pretty commonly, i b