问题描述
我使用Google广告服务显示广告,当我单击广告时,Google SDK将打开一个包含应用程序详细信息的对话框,这很漂亮!
I use the Google ads services to show a AD,when I click the AD,the Google SDK will open a dialog with the app details,that's beautiful!
我试图获得这种效果,但是我只能找到这种方式,即使用"market://xxxxxxxxx".这种方式实际上是打开Play商店,而不是对话框.
I try to get this effect, but I only find this way,that's using "market://xxxxxxxxx".This way is really to open the Play Store,but is not the Dialog.
有人有什么主意吗?
推荐答案
您不能.不幸的是,该对话框仅适用于Google及其选择的合作伙伴.
You can't. Unfortunately, that dialog is only available to Google and its select partners.
您正在查看的对话框称为InlineAppDetailsDialog.对其代码的反编译显示,它会检查哪个应用程序正在调用它并如果无法识别调用应用程序的ID和签名,则不会显示.
The dialog you are looking at is known as an InlineAppDetailsDialog. Decompilation of its code reveals that it checks which application is calling it and will not display if it does not recognize the calling application's ID and signature.
要从另一个Android应用程序链接到应用程序的Google Play页面,请最好的选择是使用 market://
链接.
To link to an application's Google Play page from another Android App, your best bet is to use a market://
link.
这篇关于如何启动Google Play商店“应用程序详细信息"对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!