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. getLastKnownLocation() always returns null. What am I doing wrong?

as  far as i know u cannot connect to gps usin the emulator...


2. getLastKnownLocation() always returns null. What am I doing wrong?

can you send me your full codes?
im on a project on gps.
Thanks for your help.
Hence Chen

2009/5/22 pawpaw17 <>


3. SDK 1.5, Unable to load XML wizard

4. HorizontalScrollView reference text

5. finishing subactivity after some perticular time

6. Can't repo sync

7. Extremely frustrating = TextView in ScrollView -> Scroll to bottom?