2

I've googled more about linking to app via browser, but I can not found my solution.
I used from this manifest code:

<activity
        android:name=".MainActivity"
        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>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:host="example.com" android:pathPrefix="/apk" android:scheme="http" />
            <data android:host="www.example.com" android:pathPrefix="/apk" android:scheme="http" />
        </intent-filter>
    </activity>

but when I navigation to http://example.com/apk, I don't see any complete action using dialog. But when I entered http://example.com/apk in google search app everything is OK.

So I want when user navigate to my application homepage from android device browser, if my app was not install on user device, suggested it to install else navigated user to my app homepage.

In other hand I want introduce my other app in my homepage, and I want when clicked that, another complete action using dialog appear for select open it with my app.

Thanks in advance

Naruto Uzumaki
  • 2,019
  • 18
  • 37

0 Answers0