...
建立兩個Andriod Project, HideAppIcon及CallHideAppIcon,
STP1. HideAppIcon\AndroidManifest.xml, 修改activity的action及category如下,
<activity
android:name="com.example.hideappicon.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.example.hideappicon" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
STP2. CallHideAppIcon\src\com\example\callhideappicon\MainActivity.java, CallHideAppIcon呼叫HideAppIcon
Intent intent = new Intent();
intent.setAction("com.example.hideappicon");
startActivity(intent);