Show background applications dialog in front of current application

by denzel » Mon, 09 Mar 2009 23:32:14 GMT

Sponsored Links

I have an app that is running in the background doing some things.
Sometimes this apps needs  user input and therefore it shows a dialog.
While the app is running, I use some other app like the browser. Is it
possible to sort of interrupt the browser app (or another app that I'm
using at that moment) so that the dialog that my app wants show,
appears in front of the browser?

Here's the piece of code that I'm using right now to show the dialog:

Dialog userprompt = new Dialog(activity);
userprompt.setTitle("Prompt User");

Thanks in advance!

Kind regards,


Other Threads

1. Device Update!!!


I developed an application that works perfectly with the emulator
however my device still has API 1.0 isntalled on it and when I try to
run the application on it (from Eclipse) I am getting: ERROR:
Application requires API version 3. Device API version is 1 (Android

any ideas how can I update the phone?


2. Capture hardware button while screen is locked

Is it possible to capture one of the hardware buttons while the screen
is locked?

The volume up and down buttons function when the screen is locked so
are not completely disabled.

3. Touch screen not up yet

4. copybit

5. priv gone from struct net_device after 2.6.27; plans for wlan module?

6. I can't figure out how to link one projects files to another with eclipse. Please Help!

7. priv gone from struct net_device after 2.6.27; plans for wlan module?