Ok, I've found the problem, for anyone else having trouble. In the
tutorial, onBind() returns null, I created a MediaBinder class within
MediaService, that implemented my MediaInterface, calling the relevant
methods in MediaService. This works nicely.
On 19/04/2010 21:43, Mark Murphy wrote:
Further to my previous email, I have sketched out how my Media Player
will work with the actual MediaPlayer object in a separate service,
MediaService. I can't work out how to make calls, and retrieve data from
the service. Following tutorials online has lead me to this:
MyApp.java - top level
Tom F M White wrote:
Further to my previous email, I have sketched out how my Media Player
will work with the actual MediaPlayer object in a separate service,
MediaService. I can't work out how to make calls, and retrieve data from
the service. Following tutorials online has lead me to this:
On 19/04/2010 21:36, Mark Murphy wrote:
Tom F M White wrote:
Further to my previous email, I have sketched out how my Media Player
will work with the actual MediaPlayer object in a separate service,
MediaService. I can't work out how to make calls, and retrieve data from
the service.
On 19/04/2010 21:43, Mark Murphy wrote:
Tom F M White wrote:
I'm calling start a relatively long time later, several seconds. Do I
need to call onServiceConnected() myself?
No, it should be called shortly after you call bindService(). This
suggests that your bindService() call is
5 matches
Mail list logo