mediaplayer gets killed.

All your problems with Audio, Video and Images.

mediaplayer gets killed.

Postby troarty » Wed Jun 02, 2010 6:26 pm

My app has mediaplayer playing an mp3 file in the background while the user is performing actions in the foreground. mediaplayer keeps getting killed (GC freed ### objects) by the OS. Do I understand correctly that I need to "bind" the mediaplayer service to the foreground process? Can I directly bind it (since it is already a service?) or do I need to create a service that calls mediaplayer?
troarty
Freshman
Freshman
 
Posts: 8
Joined: Tue Apr 06, 2010 10:26 pm

Top

Re: mediaplayer gets killed.

Postby troarty » Fri Jun 04, 2010 3:26 pm

I went ahead and created a service that calls mediaplayer...and my main class binds to the service. but media player still dies. Is there a way for me to explicitly bind mediaplayer?
troarty
Freshman
Freshman
 
Posts: 8
Joined: Tue Apr 06, 2010 10:26 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: vivek19313, Yahoo [Bot] and 14 guests