URL로 Activity 실행하는 방법

Android 2015. 9. 25. 12:31

http://gun0912.tistory.com/13



Android Manifest의


1
2
3
4
5
6
7
8
9
10
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
 
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
 
    <data
        android:host="genikidsmobile"
        android:scheme="genikidsmobilePopup" />
</intent-filter>
cs



scheme://host 형태로 Url 을 호출한다.

parameter 를 추가하고 싶을 경우에는

scheme://host?parameter=value

형태로 전달하면 된당.


아.



: