我正在使用Titanium的Android 3.2+应用程序.至关重要的是,我能够确定设备是否启用了GPS.根据Titanium API参考,由于新的"被动"位置提供程序,Ti.Geolocation.locationServicesEnabled将始终在Android 2.2+上返回true.有没有其他方法可以确定GPS是否真正启用?
谢谢.
android titanium-mobile
android ×1
titanium-mobile ×1