Intent-filter For Service Start
I want to start a service, the service is basically a videoview on windowmanager. I want to start this videoview service even from other applications. this is my code intent-filte
Solution 1:
I want to start this videoview service even from other applications
Unless you are the one writing those other applications, or you hire people to write those other applications, no other applications will start your service.
My guess, from your <intent-filter>
, is that you think that if another app calls startActivity()
on an ACTION_VIEW
Intent
, that this will start your service. This is incorrect. startActivity()
starts an activity. It will not start a service, no matter what <intent-filter>
that service has.
Post a Comment for "Intent-filter For Service Start"