Re: [android-developers]
use intent to call one page to another....
On Fri, Jun 15, 2012 at 1:07 PM, dEEPESH PPM <deepeshppm@gmail.com> wrote:
Create two animation xmls in res/anim folder to start an activity. Then use this code..@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) {if (keyCode == KeyEvent.KEYCODE_BACK) {startActivity(new Intent(CurrentActivity.this,NextActivity.class));overridePendingTransition(R.anim.left_to_right, R.anim.slideoutleft);}return true;}On Fri, Jun 15, 2012 at 12:21 PM, Vijay Krishnan <vijay.vijay702@gmail.com> wrote:
Hi all,How to call another activity when i press the back button.
Thanks,vijay.k--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home