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. May I use this method?


 We have a question regarding limit of loaded shared libraries.
 We have failed to load a library.
 This problem is resolved to increase SO_MAX from 96 to 150

 Plz refer to below source.
 #define SO_MAX 150
 //#define SO_MAX 96

 - Is there any problem if it's increased?
 - Is there any known memory issue of increasing this to a higher

 Thanks and regards,


2. How the input method can request 'updateCursor' event


we are implementing custom input method service and we are interested
in receiving cursor update events. The documentation of
InputMethodSession's updateCursor() says:
"This method is called when cursor location of the target input field
has changed within its window.  This is not normally called, but will
only be reported if requested by the input method."
How the input method can request this event?

Thanks in advance,


3. Font rendering quality

4. to connect android emulator to google account

5. May I use this solution? (by ARMADA)

6. Error generating final archive: duplicate entry: AndroidManifest.xml

7. Do many folks here go to the trouble of copyrighting their program?