KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Service and BroadcastReceiver in my application, but how do I launch the service directly from the BroadcastReceiver ? Using startService(new Intent(this, MyService.class)); does not work in a BroadcastReceiver , any ideas? EDIT: context.startService(..); works, I forgot the context part
Tags (comma-separated)
Save Edits
Cancel