Hi,
i want to change the behavior of back button,
I have 3 activity, activity1, activity2, and activity3
another activity, activity4 is a login activity
start ->activity1-----click---->Activity2-----click---->activity3
on activity2 i'm using
@Override
public void onBackPressed ()
{
System.out.println("started onBackPressed");
moveTaskToBack(true);
//android.os.Process.killProcess(android.os.Process.myPid()) ;
//System.exit(0);
}
Now my question is that, when i click on apps, i want to start
activity4.
I'm not able to do this, always start of application is opening the
activity2 in this case (back button).
:(
need help
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en