我将一个安卓应用程序移植到BB 10。使用安卓运行时,在重新打包到.BAR之后,应用程序运行良好,除了GooglePlayServices: com.google.android.gms.Application在我进入与此相关的屏幕时崩溃。我检查了我从这个库中使用的类:
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.ConnectionCallbacks对于google地图,我在android运行时文档中找到了BB 10的替代解决方案。这个库类的替代解决方案是什么??
发布于 2014-02-12 12:23:17
谷歌地图的OpenStreetMap 可作为替换 in GooglePlayServices。我的印象是,这是自动的,但我目前没有工作的Android,所以我没有任何直接的经验。
https://stackoverflow.com/questions/21723021
复制相似问题