yup ... finish() is working ...

hey Treking ... is there any way to find out the contents of Activity Stack
..

i.e getting the name and position of Activities ... and den bringing forward
any of the activities ..

plz help ..

On Mon, May 10, 2010 at 9:59 PM, TreKing <treking...@gmail.com> wrote:

> On Mon, May 10, 2010 at 11:24 AM, pawan nimje <pawanni...@gmail.com>wrote:
>
>> I want to go back to previous activity
>> What code should i write for back button
>>
>
> How about finish() ?
>
>
>> plz dont suggest
>>
>> Intent i = new Intent(Constants.CountryContext, selectcountry.class);
>>
> startActivity(i);
>>
>
> I have no idea what ContryContext or selectcountry.class are. Why in the
> world would anyone suggest that?
>
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
> http://sites.google.com/site/rezmobileapps/treking
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> 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 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

Reply via email to