How to open AppStore from InAppBrowser.

449 views
Skip to first unread message

Tom Krones

unread,
Oct 14, 2013, 1:35:10 PM10/14/13
to phon...@googlegroups.com
Hello.

I'm using the InAppBrowser to view my website from within the app. On my site I have links to my other apps in the appstore. Has anyone figured out a way to open the appstore from a link that's clicked on in the InAppBrowser?

Tony Hursh

unread,
Oct 14, 2013, 2:42:20 PM10/14/13
to phon...@googlegroups.com
Try something like window.open("itms://itunes.apple.com/us/app/angry-birds/id343200656?mt=8&uo=4", "_system","location=no");

Replacing http with itms will launch the app store directly rather than redirecting through Safari. Using "_system" for the target will tell it to open in the external system rather than in the internal InAppBrowser.

Tom Krones

unread,
Oct 14, 2013, 3:15:00 PM10/14/13
to phonegap
That worked great.  Thanks!



--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to a topic in the Google Groups "phonegap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phonegap/SRsmZWHKqUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Tien Do

unread,
Oct 14, 2013, 10:05:02 PM10/14/13
to phon...@googlegroups.com
I tried with itms-apps but nothing happened, might be just itms does the trick. Will try it again.

You don't need other parameters since link contains itunes.apple.com will always launch App Store.

Thanks,
Reply all
Reply to author
Forward
0 new messages