android - Play store download on website -


i trying place app download link on website see on various websites. need show when relevant android device views website. example of can found on fiverr.com when viewing website on android device.

tried online on how it, cannot seem find solution anywhere. have looked app indexing , have followed deep linking doesn't seem it.

you can detect android device,with js or php .

source : http://davidwalsh.name/detect-android

var ua = navigator.useragent.tolowercase();  var isandroid = ua.indexof("android") > -1; //&& ua.indexof("mobile");  if(isandroid) {      // something!      // redirect android-site?      window.location = 'http://android.davidwalsh.name';      //or      window.location = 'https://play.google.com/store/apps/details?id=com.name.name';  } 

Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -