URL : http://samse.tistory.com/151
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.iftitah.android.contact"> <application android:icon="@drawable/icon"> <activity class=".Contact" android:label="@string/app_name"> <intent-filter> <action android:value="android.intent.action.MAIN" /> <category android:value="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> . . </manifest> |
위와 같이 AndroidManifest.xml에 activity가 정의되어 있을 때
아래와 같이 adb shell에서 명령을 내리면 Activity가 실행됨.
/> am start -a android.intent.action.MAIN -n com.iftitah.android.contact/com.iftitah.android.contact.Contact
==> am start a <INTENT ACTION> -n <PACKAGE NAME>/<CLASS FULL PATH NAME>
'Programming > Android Kernel,Native' 카테고리의 다른 글
안드로이드 기본 개념 (0) | 2014.10.15 |
---|---|
Android StartUp (0) | 2014.10.14 |
Loading & Resolving classes by ClassLoader for APK. (0) | 2014.10.14 |
APP 시작 여행 (I) (0) | 2014.10.13 |
Binder Source Analysis (바인더 소스 분석) (0) | 2014.10.13 |