PackageManager packageManager = mContext.getPackageManager();
PcakageManager packageManager = getPackageManager();
List<ApplicationInfo> installedApplications =packageManager.getInstalledApplications(PackageManager.GET_UNINSTALLED_PACKAGES);
for (ApplicationInfo appInfo : installedApplications){
if((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 1){
//사용자 설치
}
}
[출저]
http://www.androidside.com/plugin/mobile/board.php?bo_table=B49&wr_id=102226
'개발일기 > Android' 카테고리의 다른 글
pull to refresh (당겨서 새로고침) (0) | 2017.01.12 |
---|---|
[Android] 전체 앱 퍼미션 가져오기 (0) | 2014.07.14 |
[Android] String형식으로 된 Hex값 확인하기 (0) | 2014.01.27 |