public void pak() {
pm = getPackageManager();
Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
//리스트 에 담기
appList = pm.queryIntentActivities(mainIntent, 0);
//정렬
Collections.sort(appList, new ResolveInfo.DisplayNameComparator(pm));
}
이 함수 그대로 쓰시면됩니다.~ appList는 ArrayList<String> 으로 선언 하시면 됩니다
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5152 |
senseme
|
12년 전 | 4160 | |
| 5151 |
senseme
|
12년 전 | 3735 | |
| 5150 |
프로프리랜서
|
12년 전 | 3131 | |
| 5149 |
프로프리랜서
|
12년 전 | 3970 | |
| 5148 |
프로프리랜서
|
12년 전 | 4354 | |
| 5147 |
프로프리랜서
|
12년 전 | 1585 | |
| 5146 |
senseme
|
12년 전 | 2714 | |
| 5145 |
senseme
|
12년 전 | 2714 | |
| 5144 |
senseme
|
12년 전 | 1255 | |
| 5143 | 12년 전 | 1291 | ||
| 5142 | 12년 전 | 8415 | ||
| 5141 |
senseme
|
12년 전 | 1510 | |
| 5140 |
senseme
|
12년 전 | 3745 | |
| 5139 |
senseme
|
12년 전 | 6329 | |
| 5138 |
senseme
|
12년 전 | 1550 | |
| 5137 | 12년 전 | 1144 | ||
| 5136 |
senseme
|
12년 전 | 1320 | |
| 5135 |
senseme
|
12년 전 | 3303 | |
| 5134 |
senseme
|
12년 전 | 1077 | |
| 5133 |
senseme
|
12년 전 | 1821 | |
| 5132 |
senseme
|
12년 전 | 1256 | |
| 5131 |
senseme
|
12년 전 | 909 | |
| 5130 | 12년 전 | 1402 | ||
| 5129 | 12년 전 | 2113 | ||
| 5128 |
senseme
|
12년 전 | 1387 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기