ITeye博客

代码控制返回Home界面

Clareshao · 2011-10-11 10:20 · android_日常积累 · 移动开发 · Markdown

Intent intent = new Intent();  
intent.setAction(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);   
startActivity(intent);

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。