Hi all,

I currently have an application that listens out for the out going
call broadcast, when I recieve the broadcast I pop up an activity on
the screen with some user information.

The user can then press end to remove this screen.

It all works fine however I have a problem when I hold down the home
key and get the recently used apps icons.

The dialer icon appears there and when i click on it my activity comes
back to the front of the device and is displayed on screen.

I dont want this to happen and I was working could my activity
somehwere be getting attached to the dialer context?

My intent for starting my activity is this:

 final Intent myIntent = new Intent(context,
CallDialogActivity.class);

Could the context being passed in somehow be the Dialer? And if so how
to I stop that happening?

Is there a better way to set up the intent so it doesn't use the
context?

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