Maybe that's a better approach.. Thanks for your advice! FYI: I found some advice from Google on this topic, read this: http://developer.android.com/guide/practices/design/seamlessness.html
On 9 mrt, 17:07, Sean Hodges <[email protected]> wrote: > Interrupting another application with a custom dialog sounds quite invasive > to the user. How about displaying a notification icon when you want the user > input? > > Sean > > On Mon, Mar 9, 2009 at 3:25 PM, denzel <[email protected]> wrote: > > > Hi, > > > 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"); > > userprompt.setContentView(R.layout.prompt); > > userprompt.show(); > > > Thanks in advance! > > > Kind regards, > > > Denzel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

