Android的 - 检测应用程序安装的各种情况 [英] Android - Detecting various cases of app installation

查看:294
本文介绍了Android的 - 检测应用程序安装的各种情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前工作的将被用于营销目的的应用程序。这个程序有一个功能,共享的链接以设备联系人或社交媒体,让其他人下载谷歌从这个应用程序Play商店。但我的公司已经制定了一个规则为这个应用程序:

I'm currently working on an app which will be used for marketing purpose. This app has a feature to share a link to device contacts or social media, to let other people download this app from Google Play Store. But my company has made a rule for this app:

如果这个程序是从谷歌Play下载商店没有任何点击共享链路,它不能运行(或简单地显示一个警告对话框,然后关闭应用程序的)。有这个程序运行的唯一方法是先单击该链接,然后下载。

If this app is downloaded from Google Play Store without clicking any shared link, it cannot be run (or simply, display an Alert Dialog then close the app). The only way to have this app running is to FIRSTLY click the link, then download.

所以我的问题是,我怎么能实现这一点?我必须找到一个方法来检测被点击的链接?或者是还有什么办法?

So my question is, how can I make this possible? Do I have to find a way to detect clicked link? Or is there any alternatives?

推荐答案

将在谷歌Play商店的目的是为人们找到并使用你的应用程序。一旦他们有链接到它,任何人都可以实现它,并尝试安装它。然而,如果你想要的是一个方法,以配合回又有什么用的安装/启动,那么你可能想看看司机:

The purpose of putting in the Google Play Store is for people to find and use your app. Once they have the link to it, anyone can reach it and try to install it. However if all you want is a way to tie back to what was the driver of that install/launch then you may want to look at:

谷歌播放广告系列归因

如果您想限制对谷歌的API或使用比谷歌Play以外的商店你的要求,也有其他厂商在这个领域也执行类似的功能。

If you want to limit your requirements on Google APIs or using a store other than Google Play, there are other vendors in this space as well which perform similar functions.

这篇关于Android的 - 检测应用程序安装的各种情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆