2013年6月8日 星期六

How to start activity in another application?

I searched on the web and found something like this below, and it works well.
Intent intent = new Intent();
intent.setComponent(new ComponentName("com.example", "com.example.MyExampleActivity"));
startActivity(intent);
share|improve this answer

沒有留言:

張貼留言

Related Posts Plugin for WordPress, Blogger...