0

我将一个 android 应用程序移植到 BB 10。使用 android 运行时,在重新打包到 .BAR 后,应用程序运行良好,除了 GooglePlayServices:com.google.android.gms。当我转到与此相关的屏幕时,应用程序崩溃。我检查了我从这个库中使用的类是:

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesClient;
import com.google.android.gms.location.LocationClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.LocationSource;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.LatLng;

一些实现是 GooglePlayServicesClient.ConnectionCallbacks、GooglePlayServicesClient.OnConnectionFailedListener。对于谷歌地图,我在 android 运行时文档中找到了 BB 10 的替代解决方案。这个库类的替代解决方案是什么?

4

1 回答 1

0

OpenStreetMap可替代GooglePlayServices 中的 Google 地图。我的印象是这是自动的,但我目前不在 Android 上工作,所以我没有任何直接经验。

于 2014-02-12T12:23:17.407 回答