任何人都知道如何在android Studio中生成AppUrl。我的应用程序处于开发阶段,因此没有PlayStore应用程序URL。谁知道那个的替代方案?
注意-它不是在playstore上上传,它处于开发阶段,因此我没有playstore appurl。
可以通过任何方式获取或获取appurl,然后将其上传到Play商店中???
我想要类似https://developer.android.com/studio/write/app-link-indexing的东西。但是我不知道如何实现它。
较早的回复很明显
答案 0 :(得分:0)
您的应用网址将为
https://play.google.com/store/apps/details?id="your app package name"
答案 1 :(得分:0)
Uri uri = Uri.parse("market://details?id=" + getApplication().getPackageName());
Intent goToMarket = new Intent(Intent.ACTION_VIEW, uri);
// To count with Play market backstack, After pressing back button,
// to taken back to our application, we need to add following flags to intent.
goToMarket.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY |
Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
try {
startActivity(goToMarket);
} catch (ActivityNotFoundException e) {
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.parse("http://play.google.com/store/apps/details?id=" + getApplication().getPackageName())));
}