<i id='KUner'><tr id='KUner'><dt id='KUner'><q id='KUner'><span id='KUner'><b id='KUner'><form id='KUner'><ins id='KUner'></ins><ul id='KUner'></ul><sub id='KUner'></sub></form><legend id='KUner'></legend><bdo id='KUner'><pre id='KUner'><center id='KUner'></center></pre></bdo></b><th id='KUner'></th></span></q></dt></tr></i><div id='KUner'><tfoot id='KUner'></tfoot><dl id='KUner'><fieldset id='KUner'></fieldset></dl></div>

  • <legend id='KUner'><style id='KUner'><dir id='KUner'><q id='KUner'></q></dir></style></legend>

    <small id='KUner'></small><noframes id='KUner'>

  • <tfoot id='KUner'></tfoot>
    • <bdo id='KUner'></bdo><ul id='KUner'></ul>

        如何知道应用程序是从 google play 还是侧载安装的?

        How to know an application is installed from google play or side-load?(如何知道应用程序是从 google play 还是侧载安装的?)

        1. <small id='G4viH'></small><noframes id='G4viH'>

            <tbody id='G4viH'></tbody>

          • <i id='G4viH'><tr id='G4viH'><dt id='G4viH'><q id='G4viH'><span id='G4viH'><b id='G4viH'><form id='G4viH'><ins id='G4viH'></ins><ul id='G4viH'></ul><sub id='G4viH'></sub></form><legend id='G4viH'></legend><bdo id='G4viH'><pre id='G4viH'><center id='G4viH'></center></pre></bdo></b><th id='G4viH'></th></span></q></dt></tr></i><div id='G4viH'><tfoot id='G4viH'></tfoot><dl id='G4viH'><fieldset id='G4viH'></fieldset></dl></div>
            <legend id='G4viH'><style id='G4viH'><dir id='G4viH'><q id='G4viH'></q></dir></style></legend>
              <tfoot id='G4viH'></tfoot>
                  <bdo id='G4viH'></bdo><ul id='G4viH'></ul>
                • 本文介绍了如何知道应用程序是从 google play 还是侧载安装的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要检测我的应用程序是从 google play 或其他市场安装的,我如何获取此信息?

                  解决方案

                  PackageManager 类提供 getInstallerPackageName 方法将告诉您安装您指定的包的任何包的名称.侧载应用不会包含值.

                  编辑:请注意@mttmllns 的答案关于亚马逊应用商店.p>

                  I need to detect my application is installed from google play or other market, how could I get this information?

                  解决方案

                  The PackageManager class supplies the getInstallerPackageName method that will tell you the package name of whatever installed the package you specify. Side-loaded apps will not contain a value.

                  EDIT: Note @mttmllns' answer below regarding the Amazon app store.

                  这篇关于如何知道应用程序是从 google play 还是侧载安装的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Android - Is it possible to get install referrer programmatically(Android - 是否有可能以编程方式安装引荐来源网址)
                  How to sign an APK with more than one certificate?(如何使用多个证书签署 APK?)
                  versionCode vs versionName in Android Manifest(Android Manifest 中的 versionCode 与 versionName)
                  What does this Google Play APK publish error message mean?(这个 Google Play APK 发布错误消息是什么意思?)
                  Lost my keystore for uploaded app on android market(丢失了我在 android 市场上上传的应用程序的密钥库)
                  App on Google Play always shows quot;Updatequot; instead of open(Google Play 上的应用程序总是显示“更新;而不是打开)
                  <legend id='Bu6pm'><style id='Bu6pm'><dir id='Bu6pm'><q id='Bu6pm'></q></dir></style></legend>
                    • <tfoot id='Bu6pm'></tfoot>

                      <small id='Bu6pm'></small><noframes id='Bu6pm'>

                          <tbody id='Bu6pm'></tbody>
                          <bdo id='Bu6pm'></bdo><ul id='Bu6pm'></ul>
                            <i id='Bu6pm'><tr id='Bu6pm'><dt id='Bu6pm'><q id='Bu6pm'><span id='Bu6pm'><b id='Bu6pm'><form id='Bu6pm'><ins id='Bu6pm'></ins><ul id='Bu6pm'></ul><sub id='Bu6pm'></sub></form><legend id='Bu6pm'></legend><bdo id='Bu6pm'><pre id='Bu6pm'><center id='Bu6pm'></center></pre></bdo></b><th id='Bu6pm'></th></span></q></dt></tr></i><div id='Bu6pm'><tfoot id='Bu6pm'></tfoot><dl id='Bu6pm'><fieldset id='Bu6pm'></fieldset></dl></div>