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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -