Thanks! I am using service now.

On Dec 4, 2:05 pm, Doug <[email protected]> wrote:
> On Dec 2, 10:37 am, 1001knights <[email protected]> wrote:
>
> > I would like to know how to control MediaPlayer again after I launch
> > the application later, so that I won't have too many copies open?
>
> You should probably create a persistent Service that manages the
> MediaPlayer instance you want to work with.  Activities would then
> tell the service what to do with the MediaPlayer.
>
> Doug

-- 
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

Reply via email to