Last active
August 29, 2015 14:10
-
-
Save shengoo/52a599fcd75ac427e854 to your computer and use it in GitHub Desktop.
Android register schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version=”1.0″ encoding=”utf-8″?> | |
<manifest xmlns:android=”http://schemas.android.com/apk/res/android” | |
package=”com.sheng00.customuridemo” | |
android:versionCode=”1″ | |
android:versionName=”1.0″ > | |
<uses-sdk | |
android:minSdkVersion=”9″ | |
android:targetSdkVersion=”17″ /> | |
<application | |
android:allowBackup=”true” | |
android:icon=”@drawable/ic_launcher” | |
android:label=”@string/app_name” | |
android:theme=”@style/AppTheme” > | |
<activity | |
android:name=”com.sheng00.customuridemo.MainActivity” | |
android:label=”@string/app_name” > | |
<intent-filter> | |
<action android:name=”android.intent.action.MAIN” /> | |
<category android:name=”android.intent.category.LAUNCHER” /> | |
</intent-filter> | |
<!– Open links like scheme://host/?… –> | |
<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=”scheme” android:host=”host” /> | |
</intent-filter> | |
</activity> | |
</application> | |
</manifest> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment