Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to intercept presetted links to open my android app?
    primarykey
    data
    text
    <p>I am developing an issue tracking application for android platform. So i need to open link to an issue in my application. I know how to intercept links with setted in AndroidManifest.xml schemas (http://stackoverflow.com/questions/1609573/intercepting-links-from-the-browser-to-open-my-android-app), but my problem is that I don't know which schema I am gonna work with. My current AndroidManifest.xml looks like</p> <pre><code>&lt;activity android:name=".activity.InterceptionActivity" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &lt;data android:host="*" android:scheme="http"/&gt; &lt;/intent-filter&gt; &lt;/activity&gt; </code></pre> <p>So I open every links from browser, and this is not a good way. <p>There are ulr examples:</p> <ol> <li>Issue url from my tracker - <a href="http://strintec.myjetbrains.com/youtrack/issue/YD-176" rel="nofollow">http://strintec.myjetbrains.com/youtrack/issue/YD-176</a> android:scheme is "http", android:host is "strintec.myjetbrains.com"</li> <li>Issue url from another tracker - <a href="http://youtrack.jetbrains.com/issue/JT-16912" rel="nofollow">http://youtrack.jetbrains.com/issue/JT-16912</a> android:scheme is "http", android:host is "youtrack.jetbrains.com"</li> </ol> <p>My point is I don't know what tracker url gonna be looks like. Only one thing in common - "/issue/" part, and I've tried to use android:pathPattern but it doesn't work (maybe i've done it wrong).</p> <p>Is there any solution how to set links schemas within an already installed app? Or something else advice. Thank you.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload