Let's say that there is a youtube link in my app, what I want is when the user presses it, the link gets opened by the youtube app(if the user has youtube, if he doesn't any other app that can handle this request).
Thus, I want the android system to handle the link, not my app.
Thank you.
In my config.xml I added:
<access origin="http://img.youtube.com/*" launch-external="no"/>
<access origin="http://*" launch-external="yes"/>
<access origin="https://*" launch-external="yes" />
and removed <access origin="*"/>
So when I call window.open(link, '_system');
now it opens the link in the YouTube App.
more information here