/**
* 获取应用程序基本信息
* @throws NameNotFoundException
*/
private void getPackaName(String packname) throws NameNotFoundException {
PackageManager pm = getPackageManager();
ApplicationInfo info = pm.getApplicationInfo(packname, 0);
icon = info.loadIcon(pm);
appname = (String) info.loadLabel(pm);
}