Saturday, August 13, 2011

Re: [android-developers]

On Sat, Aug 13, 2011 at 04:58:46AM -0700, Goutom wrote:

> I have a TextView.
>
> TextView navi_org_name;
> navi_org_name = (TextView) findViewById(R.id.pio_navi_org_name);
>
> navi_org_name.setText(orgname+"");
>
> red line crashes my program.Logcat shows nothing.just crushes.

Just a couple of quick comments to help you in the future.

1) The Subject line you chose, "", tells people nothing about your
question. It's as bad as "Help Me" or "I need help". In fact,
some people (myself included) look at any e-mail with no subject
as not being about anything in particular, and most definitely
contains nothing important.

2) There is no "red line" above (unless someone has their MUA set to
display message body text in red, in which case, ALL of the lines
would be red). Find some other way that works in plain text, such as
numbering the lines, re-stating the line that you're referring to,
inserting a comment, such as

[line of code causing crash] // THIS LINE CAUSES THE CRASH

or if the line of code you're referring to is already close to
80 columns long,

// THE FOLLOWING LINE CAUSES THE CRASH
[this longer line of code is causing the application to crash]

Hope this helps.

Later,
--jim

--
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

Do not look into laser with remaining eye!

Android Apps Listing at http://www.jstrack.org/barcodes.html

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