On Mon, Mar 14, 2011 at 3:37 AM, Daniel Rindt <[email protected]>wrote:
> The problem is that the dialog showContextDialog() is not displayed. > Well, a dialog is not going to be displayed if you don't tell the system to display it, which is done with the show() method. > The dialog code is directly used from android examples. > Can you post the examples you got that from? Because that's wrong in so many ways. > I'm thankful for all hints to solve that problem. > 1 - Never use getApplicationContext() - it's utterly pointless and just does not work with dialogs. 2 - Call show() on the Dialog you create to actually show it. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

