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):
nmea <--- This is explained here
So, 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- ... 4bbd84bc4a
So, I followed their instructions and implemented my Location Provider:
Using java Syntax Highlighting
public class MockLocationProvider
// implementations of methods...
Parsed in 0.032 seconds, using GeSHi
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!