0

I have an activity that contains the following filter:

 <intent-filter>
        <category android:name="android.intent.category.DEFAULT" />

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

        <data
            android:host="com.ibs.shababeek.search"
            android:path="/posts/*"
            android:scheme="content" />
    </intent-filter>

The linkfiy text fires this intent:

act=android.intent.action.VIEW dat=content://com.ibs.shababeek.search/posts/#test

but it keeps telling me: No Activity found to handle Intent

slezadav
  • 6,104
  • 7
  • 40
  • 61
Mahdi Hijazi
  • 4,424
  • 3
  • 24
  • 29

1 Answers1

1
android:path="/posts/*"

You probably want android:pathPattern, not android:path.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491