Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
The resone why i want all this is ... what im wanting is since all those activities are already created ... on button click i jus want to switch [jump] to those activities ... instead of using the startActivity(intent) method ...anyways forget it and thnx for the help On Mon, May 10, 2010 at 10:4

Re: [android-developers] Go back to previous activity

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:46 AM, pawan nimje wrote: > hey Treking ... is there any way to find out the contents of Activity Stack > .. There should be a most recently used list somewhere - dig around the documentation (ApplicationInfo, Packagemanager, etc would be likely culprits). i.e gettin

Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
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 wrote: > On Mon, May 10, 20

Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
By Intent i = new Intent(Constants.CountryContext, selectcountry.class); > startActivity(i); > i meant Intent i = new Intent(getApplicationContext(), SomeClass.class); > startActivity(i); On Mon, May 10, 2010 at 9:59 PM, TreKing wrote: > On Mon, May 10, 2010 at 11:24 AM, pawan nimje wrote:

Re: [android-developers] Go back to previous activity

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:24 AM, pawan nimje 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 wha

[android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
I want to go back to previous activity What code should i write for back button plz dont suggest Intent i = new Intent(Constants.CountryContext, selectcountry.class); startActivity(i); This creates the whole activity again ... which i dont want .. i want somthing like emulators back button ..