开发者

Issue in switching from one activity to other

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜