开发者

Issue in switching from one activity to other

开发者 https://www.devze.com 2023-01-17 06:43 出处:网络
I have Activity1 Activity2 Activity3 activities in my application. now I want to switch from Activity3 to Activity1.

I have Activity1 Activity2 Activity3 activities in my application.

now I want to switch from Activity3 to Activity1.

How do I proceed?

And also, how to finish an activity from another activ开发者_开发知识库ity?


you should use Inetnts to navigate from one page to another page and more over you shoul add activity for every class in the manifest.xml

if not trace out in the DDMS.


Intent i = new Intent(Activity3.this , Activity1.class);
startActivity(i);
0

精彩评论

暂无评论...
验证码 换一张
取 消