I have the following service definition in AndroidManifest.xml
<service
android:name=".service.recommendation.Service"
android:enabled="true"
android:exported="false"/>
And the service declaration is as follows:
class Service : IntentService("RecommendationService"), ServiceContract.Service {
....
}
Is the recommendation service for an Android TV application.
I've tried to run this service via adb with /adb shell am startservice com.epix.epix/.service.recommendation.Service
or even /adb shell am startservice com.epix.epix/RecommendationService
with no luck. Had the same results by setting export=true
, the service did not start.
Right now android chooses when to trigger my service, can I trigger this service from adb?