2014-02-12 29 views
0

我移植Android应用到BB 10采用Android运行时,要重新包装后.BAR,应用程序运行正常,除了GooglePlayServices:com.google.android.gms.Application崩溃,当我去的屏幕与此有关。我检查了我从这个库使用类:替代为BB10的Android执行GooglePlayServices

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的替代解决方案。 这个库类的替代解决方案是什么?

+0

它将如果我们知道为什么你需要 –

回答

0

OpenStreetMap的is available as a replacement谷歌地图在GooglePlayServices。我的印象是这是自动的,但我目前没有在Android上工作,所以我没有任何直接的经验。

+0

它不只是谷歌地图这些服务是有用的。那么GooglePlayServices中的其他课程呢? –

+0

据我所知,他们不可用。 BlackBerry Android运行时更像是亚马逊Kindle Fire中的Android运行时,而不是开放手机联盟设备。 – Richard