Saturday, June 18, 2011

[android-developers] Re: Is there something wrong?

"Incredible clarity" may apply only to somewhat experience developers
who have been staring at logcat messages for months and have 'grokked'
the way of thinking behind the twisted mind that came up with those
messages and exceptions;)

Seriously: those messages may be "incredibly clear' to you, but to
beginners, they can be quite cryptic. Consider, for example, the error
you get when you write an app using Google Maps API, but forget to
choose a target that supports it: there is no way a newcomer to
Android can figure out from that message alone the he chose the wrong
emulator target.

On Jun 17, 12:11 pm, Kostya Vasilyev <kmans...@gmail.com> wrote:
> The first thing to check is the logcat.
>
> In 99% of the cases, runtime errors there are spelled out with incredible
> clarity.
>
> -- Kostya
>
> 2011/6/17 Jorge Luis <jorgelferr...@gmail.com>> Did changed the getString from (0) to (1), but it still crashes... :/
>
> > 2011/6/17 Jona <medicalsou...@gmail.com>
>
> >> you should explain a little more about what you are having problems
> >> with... If your table has _id than you probably wan to call results.add(r.getString(1));
> >> not results.add(r.getString(0));
>
> >> --
> >> 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+unsubscribe@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Jorge Luis Ferrari Cé
> > Desenvolvedor / Web Designer
> > Siga @JLFerrari
>
> >  --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

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

No comments:

Post a Comment