summaryrefslogtreecommitdiffstats
path: root/Android/02-Intents/MyBrowser/AndroidManifest.xml
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-02-12 22:33:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 17:40:54 +0100
commitee3ef2bcf3656e3e7a02d86d43858cc8145508da (patch)
treec428969d47180877913f95201067f4b750f91b2a /Android/02-Intents/MyBrowser/AndroidManifest.xml
parent339c57d3520c8de6f970b020c87f77ec266f3bf8 (diff)
downloadcoursera-ee3ef2bcf3656e3e7a02d86d43858cc8145508da.zip
coursera-ee3ef2bcf3656e3e7a02d86d43858cc8145508da.tar.gz
Android : 02-Intents: add
Diffstat (limited to 'Android/02-Intents/MyBrowser/AndroidManifest.xml')
-rw-r--r--Android/02-Intents/MyBrowser/AndroidManifest.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/Android/02-Intents/MyBrowser/AndroidManifest.xml b/Android/02-Intents/MyBrowser/AndroidManifest.xml
new file mode 100644
index 0000000..af5645c
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/AndroidManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="course.labs.intentslab.mybrowser"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
+ <activity android:name="MyBrowserActivity"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ <intent-filter>
+ <activity android:name="android.intent.category.BROWSABLE"/>
+ <action android:name="android.intent.action.VIEW"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ <data android:scheme="http"/>
+ </intent-filter>
+ </activity>
+ </application>
+</manifest>