Вопрос

I'm wondering what would be the best way to implement isSupported() method in air native extension which utilizes android maps v2.

I know that MapFragment.getMap() returns null if Google Play Services is not installed, but this can be checked only after fragments onCreateView() has been called. I would need to check whether device supports the maps before I show map on stage.

Is that possible and if yes, what would be the best way?

Это было полезно?

Решение

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top