【问题标题】:Open app installation page in AppStore or PlayStore在 AppStore 或 PlayStore 中打开应用安装页面
【发布时间】:2016-05-04 16:32:10
【问题描述】:

我在 PlayStore (android) 和 AppStore (iOS) 中有一个付费应用。我正在开发一个免费应用程序,它具有与付费应用程序类似的功能,但底部有广告横幅,播放时有时间限制。在这个免费应用程序中,有一个允许用户升级/安装付费应用程序的按钮,当用户点击此按钮时,如果免费应用程序在 Android 设备上播放,将显示 PlayStore 上的应用程序页面。否则,将显示 AppStore 上的应用页面(免费应用正在 iOS 设备上播放)。如何在 CodenameOne 中执行此操作?

【问题讨论】:

    标签: google-play app-store codenameone


    【解决方案1】:

    你需要使用:

    Display.getInstance().execute(url);
    

    对于 Android,请参见此处如何构建 url: How to open the Google Play Store directly from my Android application?

    对于 iOS,请参见此处如何构建 url: How to link to apps on the app store

    【讨论】:

      猜你喜欢
      • 2018-09-16
      • 1970-01-01
      • 2012-11-30
      • 2015-03-10
      • 2015-12-29
      • 2020-06-23
      • 2010-10-31
      • 2021-09-18
      • 1970-01-01
      相关资源
      最近更新 更多