Skip to content Skip to sidebar Skip to footer

Intent-filter Within A Service

I have the following inside my manifest file:

Solution 1:

That is because SEARCH_LONG_PRESS is not used for services. It is used for activities. Each use of the Intent system (startActivity(), startService(), sendBroadcast()) is independent of the others. You cannot have a service respond to startActivity(), for example.


Post a Comment for "Intent-filter Within A Service"