On Tue, Mar 15, 2011 at 5:53 AM, Ponraj "Android Developer" <sanraj...@gmail.com> wrote: > I am creating buttons dynamically. I am not able to access those buttons > outside the methods. > I am not familiar with java programming.
Then you should learn Java outside of Android first. There are innumerable Java programming resources, including tons of free material online. Spend a month getting comfortable with the language, *then* dive into Android. Here is a blog post where I list the key pieces of Java that an Android developer needs, including links to relevant portions of the Java programming Wikibook: http://commonsware.com/blog/2010/08/02/java-good-parts-version.html > Should I declare theĀ Buttons globally???? No. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en