launch application from browser url scheme

Thanks to many good posts, I have bee trying to launch my Android app from a browser link using the following code. Please help me adjust the manifest and href to call my application –


  • Android Lollipop not showing android:background image
  • How to implement bottom navigation tab as per the google new guideline
  • Can we change the image of link (Which is posted by android app) on facebook
  • How can I generate an apk that can run without server with react-native?
  • Paypal payment : How to get success request when loading the paypal in webview
  • My Google Play App was suspended - how to reactivate it?
  • <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android=""
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
    <uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
    <uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"></uses-permission>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
    <uses-sdk android:minSdkVersion="9"></uses-sdk>
    <application android:label="@string/app_name" android:icon="@drawable/afs"        android:debuggable="true">
          <activity android:name=".afs"
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                 <data android:scheme=""/>
                 <data android:name="android.intent.action.VIEW" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.BROWSABLE" />

    HTML code

    <a href="">Launch Application</a>

    Related posts:

    How do I convert pt to sp?
    Autolink inside a TextView in android
    Android logcat logging only info level on real device. Cannot get debug messages, not even unhandled...
    What are the actual ms time values for Android&#039;s animTime constants?
    How can I add a sub folder to the raw folder in my Android app?
    Finished with Non Zero Exit Value 3
  • Intellij IDEA - view saved password
  • Get absolute path to a file create by openFileOutput method in Android
  • onStatusChanged situations
  • Form validation library for Android?
  • Calligraphy library by chrisjenx is not working
  • Android: How to change the textsize in an EditText field?
  • One Solution collect form web for “launch application from browser url scheme”

    Attributes from documentation scheme://host:port/path or pathPrefix or pathPattern.

    You need to change define proprely scheme and host definition. If you don’t specify scheme then all URI attributes will be ignored, and won’t be applied.

    You could use http URI scheme.

        <data android:scheme="http" android:host=""/>

    and in HTML

    <a href="">Launch Application</a>

    Or define own URL scheme.

        <data android:scheme="myapp" android:host=""/>

    and in HTML

    <a href="myapp://">Launch Application</a>


    Change this

        <data android:name="android.intent.action.VIEW" />


        <action android:name="android.intent.action.VIEW" />
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.