On Tue, Mar 16, 2010 at 3:55 PM, Bob Kerns <r...@acm.org> wrote:

> I've not been able to come up with a single use case for
> calling getApplicationContext();
>

Could someone from Google PLEASE update the documentation for this function
and the samples that use it incorrectly? It is the source of massive
confusion for people new to the platform and results in basically the exact
same "my dialog is crashing" question on an almost weekly basis.

It shouldn't take someone more than 10 minutes to comment this function
warning people not to use it and to do a find and replace on the examples to
change it to "this" (or whatever is appropriate in the samples). This will
ultimately save a TON of time people would otherwise waste trying to figure
out why the examples don't work, posting here, and ultimately getting the
exact same answer every time.

Thank you.

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