Music players were the most common example for remote services even on
Google's SDK site.
Got a link for that handy?
Sorry, can't find it right now... Maybe I just misunderstood
something?
How is it possible to enable playing while the
app's in background without a remote service?
Strange... Maybe the exported attribute makes the difference?
Update: Seems like it does. At least in the emulator and on my device.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
So I did:
- add android:process=:remote in the manifest
You should not need that, and it may well be the source of your difficulty.
Sorry for the late reply, didn't notice it at first...
If I remove android:process=:remote and leave the app, music will
stop eiter immediately or after the
mort wrote:
Music players were the most common example for remote services even on
Google's SDK site.
Got a link for that handy?
How is it possible to enable playing while the
app's in background without a remote service?
Simple: don't use a remote service. For example, the Music app that
Sorry, I've got the reason... I had a timing problem with the
HEADSET_PLUG Intent, which is sent when registered, and in my case
caused a stopSelf() because the service thought it wasn't required
(bad value in internal status flag). The strange behaviour then
happened, because the service right
5 matches
Mail list logo