Agraham
thank you for your endless effort to improve this great tool.
Have you used my satellites program http://www.b4x.com/forum/9075-post1.html (which is after visualgps display) because the graphics look quite similar (although it is the natural way to display it).
If you did - I'm glad I could be of help.
If you didn't - well it might have saved you from the opposite sign used...
Have you used my satellites program http://www.b4x.com/forum/9075-post1.html (which is after visualgps display) because the graphics look quite similar (although it is the natural way to display it).
No, I wrote it from scratch not realising that there was similar code out there. I put all the data I thought relevant on the front page and implemented the same constellation layout as I had seen on GPSViewer.
If you want to play you could try adding the GPSDriver.dll to a B4pcc project - it is pretty obvious what is what.
Yes you do! You do it every time you add a library as a component and add an object from it. AutoComplete in the IDE then shows you all the properties and methods.
I don't want to do much work documenting this or providing demos as the official version may well differ in detail. However I thought that on balance it might be worth at least letting the committed users play with it as it is closer to what Erel's official version will be like than what exists at the moment and is a much more efficient implementation than the Microsoft.....Samples.Location library and is optimised for .NET 2.0.
Make sure you close it when your program exits or it might leave the GPS on and draining power as the WIA matches opens and closes and turns off the GPS when all the opens are matched by closes.
The library will only run on the device as there are no comparable functions on the desktop. There you are stuck with Serial2.dll and either using GPS.dll or parsing the stuff yourself.
Based on Agraham's code an official GPSDriver will be released tomorrow or the day after.
The official library will not be exactly the same as this one.