Hello,

I'd like to launch one of settings app screen when received a certain
broadcast event in idle state.
For that, I added my event to PhoneAppBroadcastReceiver() in
PhoneApp.java (because it seems this receiver handles the misc events)
But if I called startActivity() in here, it does not work.
ex. startActivity(new Intent(this, NetworkSetting.class));

1. How I can start activity in BroadcastReceiver?

2. If the activity which I want to start is already started, how I can
check it?
I read that can use "NEW_TASK_LAUNCH" but don't know how to use it.
If you have an example code, could post it?

Thank you!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to