Question

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

Was it helpful?

Solution

android:path="/posts/*"

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top