I don't think the GPS code has been updated since I wrote it a long time ago. However, it should still work correctly, but it does not report the accuracy of the GPS link.
You have access to lat, lon, speed, bearing and altitude. It's not hard to update AndroidExtras to include the Accuracy. Unfortunately, I don't have time to do that these days, but Spacefractal may be able to.
Simply add a new function to AndroidGPS.java called getAccuracy and return location.getAccuracy(); Then update SDLActivity.java and add a new entry for "getGPSAccuracy" and return andreoidGPS.getAccuracy(). The final thing to do is add a new function in AndroidExtras.gbas - call it getGPSAccuracy and fire off a JAVACALL as per the other getGPS functions to "("getGPSAccuracy:");
Again, Spacefractal may be able to help more here as I've not looked at the more recent code in a long time.
Note: You won't start getting valid values back from any getGPS... call until a satellite fix has been made.
//Andy
You have access to lat, lon, speed, bearing and altitude. It's not hard to update AndroidExtras to include the Accuracy. Unfortunately, I don't have time to do that these days, but Spacefractal may be able to.
Simply add a new function to AndroidGPS.java called getAccuracy and return location.getAccuracy(); Then update SDLActivity.java and add a new entry for "getGPSAccuracy" and return andreoidGPS.getAccuracy(). The final thing to do is add a new function in AndroidExtras.gbas - call it getGPSAccuracy and fire off a JAVACALL as per the other getGPS functions to "("getGPSAccuracy:");
Again, Spacefractal may be able to help more here as I've not looked at the more recent code in a long time.
Note: You won't start getting valid values back from any getGPS... call until a satellite fix has been made.
//Andy