프로그래밍 정리/안드로이드

[안드로이드] 다른 어플 액티비티 띄우기

주누다 2012. 11. 29. 17:27
반응형

    ComponentName compName = new ComponentName(

"com.smaple.example",

"com.smaple.example.exam");

Intent actIntent = new Intent(Intent.ACTION_MAIN);

actIntent.setComponent(compName);

try {

actIntent.putExtra("MBR_NUM", HOme.Data);

} catch (RemoteException e) {

e.printStackTrace();

}

actIntent.putExtra("MEMU_NUMBER", "INTENT_LAUNCHER");

actIntent.putExtra("SEARCH_URL", urlPath + mTopicLinkUrl);

getContext().startActivity(actIntent);

반응형