android - Start service in another package without Intent filter -
is there way start android service defined in package without using intent-filter tag in manifest file? reason not able update manifest file of app contains service.
if know exact package name , service name can create intent that. service still needs declared in other manifest though.
intent intent = new intent(); intent.setclassname("com.example.otherapplication", "com.example.otherapplication.servicename"); startservice(intent);
Comments
Post a Comment