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 pres

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 wrote: > Hi Laxmi, > > if everything else works fine, just call finish() inside Activity 2

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 th

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 > @Override >public boolean onKeyDown(int keyCode, KeyEvent event) { >if (keyCode == KeyEvent.KEYCODE_BACK)

[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; }