2014-02-12 30 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