[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 danhi...@ieee.org wrote: PS:  You can probably skip chapters 13 and 15. On Mar 15, 4:53 am, Ponraj

[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 mej1...@yahoo.com wrote: That's not very nice. If he is new to Java programming, the language

[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\ sanraj...@gmail.com wrote: Hi All. I am creating buttons dynamically. I am not able to access those buttons outside the methods. I

[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\ sanraj...@gmail.com 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

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