Folks: In a September 2014 forum post, Joshua Quick said Corona Labs had no plans to switch from the old android.location framework to Google Play services.
It now seems high time to make those plans. Google says the android.location framework that Corona SDK-built apps use is deprecated:
The Google Play services location APIs are preferred over the Android framework location APIs (android.location) as a way of adding location awareness to your app. If you are currently using the Android framework location APIs, you are strongly encouraged to switch to the Google Play services location APIs as soon as possible.
Can we get an update on this? One reason I’m asking is that my Corona SDK-built app is generating location-related Java crashes, according to Google Play Store beta testing (see below). This was a Galaxy S4 running 5.x. The problem appears to be in Corona’s use of the android.location framework:
java.lang.IllegalArgumentException: provider doesn’t exist: network
at android.os.Parcel.readException(Parcel.java:1544)
at android.os.Parcel.readException(Parcel.java:1493)
at
android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:623)
at
android.location.LocationManager.requestLocationUpdates(LocationManager.java:867)
at
android.location.LocationManager.requestLocationUpdates(LocationManager.java:459)
at com.ansca.corona.CoronaSensorManager$1.run(CoronaSensorManager.java:190)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
