Android : prevent to open my app to the browser task

on Saturday, March 21, 2015


I have a problem with my app. I try to open my app with a link (like that: myapp://) but when the app is open, it is on the same task as the browser.


Screenshot:


http://image.noelshack.com/fichiers/2015/12/1426952949-screenshots-2015-03-21-16-45-04.png


Here is the XML code:



<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:scheme="myapp" />
</intent-filter>


I have no idea to resolve this problem.


Thanks in advance.


0 comments:

Post a Comment