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 demos, and other samples. The basic thing that
happens is that you use an intent to open up the class.

There should be ample documentation on it available, but do read up about
what intents do.

Kris

On Sun, Apr 3, 2011 at 12:59 PM, Raghav Sood <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> On Sun, Apr 3, 2011 at 9:40 AM, Raghav Sood <[email protected]> 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
>>
>>
>> -------------------------------------------------------------------------------------------------
>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
>> transit tracking app for Android-powered devices
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Raghav Sood
> http://www.raghavsood.com/
> http://www.androidappcheck.com/
> http://www.telstop.tel/
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to