hello,

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

1. How can I launch the activity inside of bradcastreceiver?

2. If the activity which I want to start is already started, how can I
check it?
I read can use NEW_TASK_LAUNCH but don't know how to use  it.
If you have a sample code, could you 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to