Send GPS-Data to a map

schimanski

Well-Known Member
Licensed User
Longtime User
Hello

I'm going to transform my basic4ppc-app to android and it is still going on very fast:sign0060::sign0060:

One of the things I want to know, if it is possible to send gps-data (latitude and longitude) to a map or navigation-software? Under basic4ppc I have collected gps-data from a server and send them over two virtual serial ports (external lib) to the gps-port of the navigation-software.

More about that here:
http://www.b4x.com/forum/questions-help-needed/2094-send-data-serial-port-other-application.html#post11375

But under android, there are no different ports:confused::confused:??? Is there a way to manipulate a navigation-software so, that the gps-data doesn't comes from the internal gps-chip? Perhaps there is someone who knows, what direction I have to go to find a solution.
I have also advised, if it is possible to develop an own mapviewer with openlayers, but i think, that it is a considerable expenditure.....

Thanks for any help....and :icon_clap::icon_clap: for basic4android....
 

schimanski

Well-Known Member
Licensed User
Longtime User
Thanks for answer, Erel!

But that is not for what i'm looking for. It must be poosible to send a gps-data stream to the application. The data from the server is updated every second, so that you can see the sender of the gps-data driving through the map....
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
In Android applications get their GPS data from the system Location Manager. To provide your own location data you would have to register a Provider with this service and the other applications would have to request services from this Provider. There is more to doing this than I presently understand, including, I believe, having the correct entries in the manifest for your provider. The bottom line however is that Basic4android cannot do this at present.
 
Upvote 0

schimanski

Well-Known Member
Licensed User
Longtime User
Thanks for your answer, agraham.
I thought, that the solution could be found by knowing, how navigation-apps get their gps-data from external Bluetooth gps-moduls or is this the wrong way?
 
Upvote 0
Top