直接贴代码吧

1
2
3
4
5
6
7
Intent intent = new Intent(Intent.ACTION_MAIN);
ComponentName com = new ComponentName(
        		"com.google.android.apps.maps", //要打开的程序的包名
        		"com.google.android.maps.MapsActivity" //程序中入口MainActivity,在Mainifent.xml查看
        		);
intent.setComponent(com);
startActivity(intent);