程序運行效果圖:


程序代碼:
/**
* 獲取所有軟件信息
* 1.通過異步的方式顯示系統中所有軟件
* 2.單擊打開指定軟件
* 3.將所有軟件的包名和activity名保存的本地SharedPreferences
* @author jph
* Date:2014.09.21
*/
public class ScanPackage1 extends Activity {
/**掃描成功**/
private final static int FLAG_LOAD_SUCCESS=0x10001;
private final static int SCANNING=0x10002;
private ListView list;
private List