On Sat, Sep 10, 2011 at 11:56 AM, eddie.moxey <ed.mo...@gmail.com> wrote:

> Can someone please advise a valid solution


Never use getApplicationContext() unless you know what you're doing. In this
case you're trying to use a non-UI context to create a UI element (Dialog)
and that ain't gonna fly.

Just replace that with *this*.

-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to