Would you happen to know what it means if when trying to do a setText the data shows as either null or a blank? Thank you
On Aug 25, 8:07 am, Kostya Vasilyev <[email protected]> wrote: > 25.08.2010 5:12, kingh32 пишет:> > //round.setText(String.valueOf(round)); The app crashes if I > > include this line, I've tried it for all of the variables > > I don't see a variable named "round". > > There is "roundVal", but it's not initialized, and is therefore null. > You should add code to call findViewById() somewhere after > setContentView and before the variable is used. > > The call String.valueOf() should use "rounds", which is where you store > the value gotten from intent, not "round", which is supposedly the view > where this value should be displayed. > > I also suggest you come up with some kind of consistent naming scheme > for your variables, that makes typos like the above less likely. > > -- > Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- 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

