Skip to content Skip to sidebar Skip to footer

Android: Activity Also Calling Other Service Of The Application, Which Is Not Called

I creating an android app which basically contains 2 media players. One that plays music from phone memory & other that plays streams from internet(URLs). Each media player is

Solution 1:

Your manifest shows only one service, even though you've defined two, and the action you put in for the service you defined makes no sense (it doesn't match any action you've defined in code) and would be ignored since both Intents you're sending are explicit.

Do you have both services defined in your manifest?

Post a Comment for "Android: Activity Also Calling Other Service Of The Application, Which Is Not Called"