android - Can a service get a reference to the activity during onBind? -
i have service manages mediaplayer instance playing podcasts. once activity binds service can things play, pause, stop, etc. used service because want podcast continue playing after activity destroyed.
i'd service able send messages activity in case of error or normal status updates. possible service reference activity that's trying bind it? doesn't intent makes available.
the sdk samples api demos app has example of service messages activity
Comments
Post a Comment