Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- jsp
- STS
- Web Service
- 안드로이드
- WebView
- javascript
- MANTIS
- 웹 서비스
- scrollView
- Java
- MS-SQL
- asp.net
- SpringSource Tool Suite
- Bootstrap
- TextBox
- html
- 이클립스
- 자바
- decompiler
- varags
- 컬럼명
- C#
- 웹뷰
- Maven
- 자바스크립트
- MSsql
- Apache Lucene
- Redirect
- Android
- Eclipse
Archives
- Today
- Total
bboks.net™
앱에서 다른앱 실행하기 본문
방법1
Intent intent = new Intent(Intent.ACTION_MAIN);
//<패키지키지명>, <시작할 액티비티 클래스>
intent.setClassName("com.example.package", "com.example.package.ActivityToStart");
startActivity(intent);
방법2
PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.example.package");
startActivity(intent);