On Tue, Feb 9, 2010 at 3:24 PM, André <[email protected]> wrote:

>  Context mContext = getApplicationContext();


You're probably seeing something about a BadToken in the debug log, yes?
DO NOT use getApplicationContext(). Use your current activity or the context
from one of your views.

I swear someone runs into this every single day ...

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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