简体   繁体   English

我如何知道用户是否已安装并打开我的应用程序?

[英]How do I know if a user has my app installed and opened?

I wish to promote my app. 我希望推广我的应用。 If a user downloads an app, I would like to know if this is downloaded and opened. 如果用户下载了一个应用程序,我想知道是否已下载并打开该应用程序。

How would you go around doing this? 您将如何做呢?

The question is: how would I know if the user does install my app and open it? 问题是:我怎么知道用户是否安装并打开了我的应用程序?

I assume that the key part of "downloaded and opened" is the " and opened " part, correct? 我假设“下载并打开”的关键部分是“ 并打开 ”部分,对吗?

You could just have your activity check some database value (for example) to see if this is the first time that the user opened the app. 您可以让活动检查一些数据库值(例如),以查看这是否是用户首次打开该应用程序。 If so, you could just call a Web Service. 如果是这样,您可以调用Web服务。

You could actually do that to keep usage statistics in general; 实际上,您可以这样做以保持总体使用情况统计信息; you'd probably want to have some kind of explicit opt-in from the user first, though. 不过,您可能希望先从用户那里获得某种明确的选择加入。

Android also has a package for capturing usage statistics. Android还提供了一个用于捕获使用情况统计信息的软件包

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

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