1

Receiving explicit intent don't work

view story
linux-howto

http://stackoverflow.com – I want to receive explicit intent from Service with specified Component to Activity. I have defined BroadcastReceiver only dynamically in MainActivity.java. When I didn't set Component for Intent, it is received to Activity. But with specified Component doesn't work. Why? BroadcastService.java public class BroadcastService extends IntentService { @Override public void onCreate() { super.onCreate(); intent = new Intent(); ComponentName component = new ComponentName(MainActivity.class.getPackage().getName(), MainActivity.class.getName()); (HowTos)