如何为android maps v2 native扩展实现isSupported()函数

时间:2013-03-01 15:59:19

标签: air-native-extension android-maps-v2

我想知道在使用android maps v2的air native扩展中实现isSupported()方法的最佳方法是什么。

我知道如果未安装Google Play服务,MapFragment.getMap()将返回null,但只有在调用了片段onCreateView()后才能检查此项。在我在舞台上显示地图之前,我需要检查设备是否支持地图。

这是可能的,如果是的话,最好的方法是什么?

1 个答案:

答案 0 :(得分:0)