[android-beginners] Re: Basic Java Problem..

2008-12-02 Thread Ralf
Glad you found it. Just for you information, you should have seen a NullPointerException or something similar in logcat ("adb logcat" in command line or Eclipse Windows > Perspectives > Other > DDMS). When something "doesn't work", always check logcat and post this info here. R/ On Tue, Dec 2,

[android-beginners] Re: Basic Java Problem..

2008-12-02 Thread chrisasmith...@gmail.com
Actually I just realized that I was trying to use those objects before creating them.. Sorry about that. Thank's for the reply though. On Dec 2, 11:00 am, Ralf <[EMAIL PROTECTED]> wrote: > Would you like to elaborate? > - What exactly happens when "it doesn't work". > - Can we see the surroundin

[android-beginners] Re: Basic Java Problem..

2008-12-02 Thread Ralf
Would you like to elaborate? - What exactly happens when "it doesn't work". - Can we see the surrounding code? From your extract it's not clear what kind of classes are involved nor where the piece variable is allocated and used. The full activity and view source would be useful. R/ On Mon, Dec