I want to start my activity in android with link of
www.youtube.com/watchXXXXXXXXX
i have written this code in my manifest file.
i dont knw which mistake i am making.
Please help me
this is my xml :
<activity
android:name=".TempActivity"
android:label="@string/title_activity_temp" >
<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:scheme="http"
android:host="www.youtube.com"
android:pathPattern="watch*"/>
</intent-filter>
</activity>
www.youtube.com/watchXXXXXXXXX
i have written this code in my manifest file.
i dont knw which mistake i am making.
Please help me
this is my xml :
<activity
android:name=".TempActivity"
android:label="@string/title_activity_temp" >
<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:scheme="http"
android:host="www.youtube.com"
android:pathPattern="watch*"/>
</intent-filter>
</activity>
Aucun commentaire:
Enregistrer un commentaire