javascript - Check if android app is installed from web page browser - Stack Overflow

I have an Android app and I'm building a corresponding website. I would like to write a code in my

I have an Android app and I'm building a corresponding website. I would like to write a code in my website home page "index.php" which check if my app is installed direct the user to thanks page url , or if the app isn't installed redirect user to download page

Does someone know how to implement this procedure?

Thanks in advance for your help.

I have an Android app and I'm building a corresponding website. I would like to write a code in my website home page "index.php" which check if my app is installed direct the user to thanks page url , or if the app isn't installed redirect user to download page

Does someone know how to implement this procedure?

Thanks in advance for your help.

Share Improve this question edited Jul 27, 2018 at 18:01 David 2,7122 gold badges21 silver badges32 bronze badges asked Jul 27, 2018 at 17:26 Dr.MezoDr.Mezo 8693 gold badges10 silver badges25 bronze badges 2
  • Possible duplicate of Redirect User From Browser to My App after open a specific URL – anthonyPHP Commented Jul 27, 2018 at 17:29
  • No, this wasn't that duplicate. Here, he wants to check in the browser without clicking on any URLs or without redirecting from website to installed app. – Kamalakannan J Commented Jul 27, 2018 at 17:31
Add a ment  | 

1 Answer 1

Reset to default 5

Yes, you can do if the user has accessed your webpage from Chrome browser(Chrome 59+).

You need to create the Webapp manifest for your website and configure your app's package name. Now from your website, you can check whether your app is installed or not.

You can find the documentation here.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744125765a4559605.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信