我試圖從我的應用程序內調用地圖應用程序,足夠公平我可以啓動地圖應用程序,但我的標題欄消失了,我希望地圖在我的應用程序內運行並且不啓動作爲一個單獨的應用程序:Android在同一個應用程序中啓動另一個應用程序
MainActivity:
startActivity(new Intent(MainActivity.this, ActivityMap.class));
ActivityMap:
actionBar = getActionBar();
Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.google.android.apps.maps");
startActivity(launchIntent);
不能運行在一個應用程序一個應用程序 – tyczj
檢查此http://stackoverflow.com/questions/2780102/open-another-application-from-your-own-intent –