Tommy wrote:
> At this point I have my if statement:
>
> if (reportlength=="d"){
Don't compare strings in Java with ==. Use equals():
if (reportlength.equals("d")) {
and so on.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--
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