Layar: Opening App Store from Layar HTML Widget in JavaScript or JQuery -


i'm unsing html widget in layar has control interaction. no layar buttons. trying use simple javascript / jquery function open target app in app store:

$('.btn-download').click(function(){     window.location.href = "itms://itunes.com/apps/someapp"; }); 

i simular opening mail window mailto: works fine. somehow nothing. b.t.w. has work on ios.

try using this:

settimeout(function() {   window.location = "http://itunes.com/apps/someapp"; }, 25);  window.location = "custom-uri://"; 

copied from: is possible register http+domain-based url scheme iphone apps, youtube , maps?


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -