use intent to call one page to another....
On Fri, Jun 15, 2012 at 1:07 PM, dEEPESH PPM <[email protected]> wrote:
> Create two animation xmls in res/anim folder to start an activity. Then
> use this code..
>
> @Override
> public 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 <[email protected]
> > 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 [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
>
>
> --
> 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
>
--
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