[android-developers] Re: How to declare Button as global object????

2011-03-22 Thread harsh chandel
Declare a method to add button in a function and add setonclicklistner method on the button in the onclicklstner method do whatever you want to do with the button On Mar 15, 5:04 pm, DanH wrote: > PS:  You can probably skip chapters 13 and 15. > > On Mar 15, 4:53 am, "Ponraj \"Android Developer\"

[android-developers] Re: How to declare Button as global object????

2011-03-17 Thread DanH
> That's not very nice. If he is new to Java programming, the language > specification is NOT the place to start. Why? The language spec is how I learned Java. On Mar 15, 4:08 pm, Indicator Veritatis wrote: > That's not very nice. If he is new to Java programming, the language > specification i

[android-developers] Re: How to declare Button as global object????

2011-03-15 Thread Indicator Veritatis
That's not very nice. If he is new to Java programming, the language specification is NOT the place to start. He should start with the Sun (now Oracle) Tutorials, or a good primer on the topic, NOT with the language specification. I usually recommend both: 1) http://download.oracle.com/javase/tut

[android-developers] Re: How to declare Button as global object????

2011-03-15 Thread DanH
PS: You can probably skip chapters 13 and 15. On Mar 15, 4:53 am, "Ponraj \"Android Developer\"" wrote: > Hi All. > I am creating buttons dynamically. I am not able to access those buttons > outside the methods. > I am not familiar with java programming. I am new to android. Give solution > for

[android-developers] Re: How to declare Button as global object????

2011-03-15 Thread DanH
> I am not familiar with java programming. http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html Enjoy! On Mar 15, 4:53 am, "Ponraj \"Android Developer\"" wrote: > Hi All. > I am creating buttons dynamically. I am not able to access those buttons > outside the methods. > I am not fam