From Android Youtube app when I click on the advertising, there is a dialog of the Google Play and you can install the app from the dialog.
With a Activity monitor I found this parameters:
1 - com.android.vending
2 - com.google.android.finsky.activities.InlineAppDetailsDialog
I tried to set a Uri "market://details?id=example.package", but nothing is succeded.
This is a dialog that open when I click the advertising.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Based on your findings and the help of fellow Android developers, I've concluded that this feature of Play Store app is exclusive for select Google's partners. The conclusion is based on the decompiled code of
com.google.android.finsky.activities.InlineAppDetailsDialog
, which includes aswitch
that checks for the calling package's application ID and signature. Only authorized apps are allowed to show this dialogue.Here's part of the decompiled code:
When attempting to launch this activity from a test app, I get the following logs:
So it seems that at least as of writing this answer, it is not possible to do what you want. Let's hope that this feature will be open for 3rd parties in the future.