【问题标题】:How to implement Google maps in android without Google play service?如何在没有 Google Play 服务的情况下在 android 中实现 Google 地图?
【发布时间】:2014-11-18 04:34:20
【问题描述】:

我已经使用 Google play 服务在我的 android 应用程序中实现了 Google 地图,它运行良好。我已经尝试使用 Blackberry 安装相同的 APK,所以一切正常,但地图无法运行。问题是 黑莓不提供 Google play 服务。因此,如果某些设备不支持 Google Play 服务,我必须寻求替代解决方案。 我搜索了很多,但找不到合适的解决方案。

if(isGooglePlayServiceAvilable){
 //implement maps with GooglePlayService(I did this part)
}else{
 //Please suggest me an alternative solution for this.( :( )
}

【问题讨论】:

  • 全班都有google play服务,没有play服务怎么办
  • @Dinesh Anuruddha 你解决了吗?

标签: android google-maps blackberry apk google-play-services


【解决方案1】:

对我来说,我会使用 - ImageView 改为显示谷歌静态地图。 - 添加一些屏幕消息以通知用户缺少播放服务的残废功能。 - 在静态地图 ImageView 上添加 OnClick 以使用 Intent 打开谷歌地图(网络)

^^

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-06-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多