On Fri, Mar 18, 2011 at 11:12 AM, Boozel <[email protected]> wrote:

> new ColorPickerDialog(getApplicationContext() , ochp, 0).show();
>

Never use getApplicationContext() - the examples that show this are WRONG.

Use an Activity as your context when creating Dialogs.

-------------------------------------------------------------------------------------------------
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

Reply via email to