Hi plusminus
I read your tutorial "
Mock LocationProvider - Structure/Explanation (NMEA, $GPRMC)" and this sentence kept my attention:
When an LocationProvider is requested its directory is searched for the following files (in order):
class
kml
nmea <--- This is explained here
trackSo, I started to research what I need to implement and install a Java class of my very own Location Provider. Then I found there were some guys working in the same concept:
http://groups.google.com/group/android- ... 4bbd84bc4aSo, I followed their instructions and implemented my Location Provider:
Using java Syntax Highlighting
import android.location.Location;
import android.location.LocationProviderImpl;
import android.location.LocationProvider;
import android.location.Criteria;
public class MockLocationProvider
extends LocationProviderImpl
{
// implementations of methods...
}
Parsed in 0.031 seconds, using
GeSHi 1.0.8.4
Note: I also created the directory structure and class file.
Later I figured out that even when my code chooses my "MockLocationProvider" implementation, Android always loads and uses this implementation "android.location.DummyLocationProvider".
I wonder if you can use your power to create a tutorial of implementing a Location Provider Java class. This Location Provider will allow us to read location information from a database or socket connection, and simulate more complex systems.
Thank you very much for your tutorials. I've learned a lot from them.
Have a Happy New Year!