[android-developers] Pass control to another class

2011-04-03 Thread Raghav Sood
Hi, In my main class I have a button. There is another class called level1 which extends the main class. How do Imake that class show when the button is clicked? Thanks -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- You received this

Re: [android-developers] Pass control to another class

2011-04-03 Thread TreKing
On Sun, Apr 3, 2011 at 9:40 AM, Raghav Sood raghavs...@gmail.com wrote: In my main class I have a button. There is another class called level1 which extends the main class. How do Imake that class show when the button is clicked? http://developer.android.com/guide/topics/fundamentals.html

Re: [android-developers] Pass control to another class

2011-04-03 Thread Raghav Sood
Thanks TreKing I have already been through that and encountered problems please refer to my other discussion. On Sun, Apr 3, 2011 at 10:22 PM, TreKing treking...@gmail.com wrote: On Sun, Apr 3, 2011 at 9:40 AM, Raghav Sood raghavs...@gmail.com wrote: In my main class I have a button. There is

Re: [android-developers] Pass control to another class

2011-04-03 Thread Kristopher Micinski
You don't really have a class that gets called. You have a view that comes to the foreground. However, since it's really implemented as a class I could see how beginners would confuse the two. In any case, what you want is an intent. You should be able to figure out how to do this from the API