Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-26 Thread Laxmi Verma
Hi Filip, Thanks for your replies. But I want the functionality like how is it happening in NDTV App' which i downloaded it from Android Market. Thanks!! On Sat, Mar 26, 2011 at 1:12 AM, Filip Havlicek havlicek.fi...@gmail.comwrote: Hi Laxmi, if everything else works fine, just call

Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-26 Thread Laxmi Verma
Hi Filip, As per your suggestion i called finish() in the list body activity the problem which i discussed in the previous to last mail. But then I am facing one problem. Actually I am having an email button in it callling the email intent from there. When I am clicking on email intent and

[android-developers] Re: how to reload previous activity on back button click

2011-03-22 Thread harsh chandel
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { //Intent intent = new Intent(this,name of the class where you want to go to); startActivity(intent); return true; }

Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-22 Thread Filip Havlicek
Hi Ranveer, maybe refreshing the contents in the history Activity's onResume() method would be sufficient for your needs. Best regards, Filip Havlicek 2011/3/22 harsh chandel harshdchan...@gmail.com @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode ==

Re: [android-developers] Re: how to reload previous activity on back button click

2011-03-22 Thread Laxmi Verma
Hi All, Same problem I am facing for my application. I want to refresh my previous activity on back button. I am having an activity containing next and previous button. On clicking next and previous button I am calling the same activity itself but with different content. Now, If I am calling