I've been bit by this incorrect documentation as well. I've just starred your issue, but I see that currently the vote count on it is very small. I hope that more people will vote to have this (and any other incorrect documentation) issue addressed; without solid documentation, the system value diminishes.
On Mar 17, 11:09 am, Lance Nanek <lna...@gmail.com> wrote: > I tried the official issue route of getting someone to do something > here:http://code.google.com/p/android/issues/detail?id=5748 > > You can star/vote it up, I suppose. It's been months, though. > Disappointing that such a trivial fix that would help so many people > who are starting out isn't being acted on. I've run into many other > documentation bugs as well. Too bad there's no way to get them fixed. > > It would be easy to put up a site with a copy of the docs that aren't > left to die. Allowing comments like in the PHP manual would help a lot > too. There'd be no way to get traffic to the fixed copy instead of the > broken official ones, though. Just like how all the Market > alternatives get so few users. > > On Mar 17, 9:38 am, TreKing <treking...@gmail.com> wrote: > > > 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 > > deviceshttp://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