You may try using GooglePlayServicesUtil.isGooglePlayServicesAvailable.
How to implement isSupported() functions for the android maps v2 native extension
-
16-03-2022 - |
質問
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?
解決
所属していません StackOverflow