1. This is the wrong group, you should be posting in android-porting.
2. You should post enough information for people to actually help you.  What
does "phone goes in panic" mean?  Is there a stack crawl?  Log output?
What?
3. There is lots of documentation in the SDK about these things.  Please be
sure you read these first -- there is documentation in the Intent class for
these flags, overview documentation about the general application model,
etc.

On Tue, Apr 7, 2009 at 11:26 AM, [email protected] <[email protected]>wrote:

>
> 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!
>
>
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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