简体   繁体   English

确定应用程序是否已安装在android上

[英]Determine if application is installed on android

On my android phone I launch an standard browser, after enter my URL www.example.com and press open. 在我的Android手机上,输入网址www.example.com并按打开后,我将启动标准浏览器。 I need some ways to determine if I have installed on my phone for example MYAPP, must I write an plugin for my Android browser or may be I must add some java functionality to my web site or maybe something else ? 我需要一些方法来确定是否已在手机上安装了MYAPP等应用程序,是否必须为Android浏览器编写插件,或者必须向网站中添加一些Java功能或其他功能?

I need some information, articles or something else of how can I do that, every kind of information will be helpful. 我需要一些信息,文章或其他有关如何执行此操作的信息,每种信息都会有所帮助。

@Aleks G is correct, you cannot do this. @Aleks G是正确的,您不能这样做。 However, you can make your app so that it will open when your web page is opened, given that it is already installed. 但是,您可以将自己的应用程序设置为在已打开网页的情况下将其打开。

See here: Launch custom android application from android browser 请参阅此处: 从android浏览器启动自定义android应用程序

- I don't think that what you want to do is possible... -don't认为你想要做什么是可能的...

- Yet you can use BroadCast-Receiver to determine when you browser opened and then you can launch your app if its installed.. -但是,您可以使用BroadCast-Receiver来确定何时打开浏览器,然后可以启动应用程序(如果已安装)。

- Another way to manually check, that whether you app has been installed or not, please check the Manage Application from Application , under Setting . -另一种手动检查应用程序是否已安装的方法,请在“ Setting下选中“从Application Manage Application Application

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM