Having a back button functioning like the emulators

by pawan nimje » Tue, 11 May 2010 00:10:16 GMT


Sponsored Links
 Hi all

I have 3 activities

1: Welcome screen

2:List of country

3:Details abt that country

Now i want to from activity 3 to 2

Currently wat im doing is

 Intent i = new Intent(getApplicationContext(), selectcountry.class);
 startActivity(i);

This way the onCreate methode of 2nd activity is called ... and the whole
list is populated again ...

But the back button of emulated function differently ...

wat code should i write to make my back button behave like the emulators ...

--



Having a back button functioning like the emulators

by TreKing » Tue, 11 May 2010 00:34:15 GMT


 




finish().

And please don't double post - it's really unnecessary.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--


Sponsored Links


Having a back button functioning like the emulators

by pawan nimje » Tue, 11 May 2010 00:47:06 GMT


 sorry and thank u ...






>



Other Threads

1. CursorAdapter notifyDataSetChanged doesn't work? What am I doing wrong?

Hi I'm trying to clean up some code and now I'm determined to get this
seemless ListView updating working...

I want my ListView to be updated when I call notifyDataSetChanged()
but nothing happens... I'm also passing the autoRequery flag to true
when creating my CursorAdapter.

Cursor c = FavoritesHandler.getCategoryFavorites(getSQLiteInstance(),
category);
                m_favoriteAdapter.changeCursor(c);
                startManagingCursor(c);

Any help is greatly appreciated!
-Moto

-- 

2. Mod: Hasil Meeting dengan Tsel

Rekan-rekan developer id-android,

Banyak pilihan bagi kita untuk berkreasi, jangan berkecil hati ataupun
merasa tidak dihargai, saya hanya menyimpulkan inti dari bisnis nya:

Share:

Developer : 49
Tsel         : 30
CP          : 21

Jauh dari harapan rekan-rekan 70 untuk developer

Sekian saja dari saya, jika ingin lebih detail silahkan email :
telkomselsupp...@cellmania.com dan winni...@staff.cellmania.com





-- 
Salam,


Agus Hamonangan

3. About the performance counter in android phone

4. pirated apps hosted on Google Sites :-(

5. OpenGL DrawTexture and Alpha

6. Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

7. Has anyone gotten the EAS synth plugin to work in a DAW?