开发者

open other activity from view

How to open activity from view? I am develop a game if game is over I need to move user to main menu activi开发者_StackOverflow中文版ty.


Thank you all. i got solution myself.

Activity activity=(Activity)this;

i passed this activity object to my view and then i have done

activity.finish();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜