Currently no routing api is wrapped to enable it to be used in b4a.
Take the
Google Directions API as an example of a possible api to use.
You can do this in b4a without any additional library, you'd use HTTP or HttpUtils to make requests for directions and in that request specify the format of directions you require - JSON or XML.
Once you get the response to your request you'd parse it using b4a's JSON or XML parsing libraries.
There is a
java library to enable use of the Google Directions API in a java application and this java library could be wrapped into a b4a library.
The results will be the same no matter which method you use to access the API.
You can use the API today in your b4a project if you make requests using the HTTP or HttpUtils library and parse the response using b4a's JSON or XML libraries.
Or you can wait for someone to create a wrapper for the java library - and for that you could be waiting a long while or forever
.
The
OSMBonusPack library offers a java library to request directions from Google Directions API, Mapquest's routing service or the OSRM routing service.
I see OSMBonusPack has been updated to enable offline routing using the android
GraphHopper routing engine.
Obviously OSMBonusPack is designed to work with OSMDroid and not Google Maps but the OSMBonusPack classes that make and parse routing requests could (relatively easily) be modified to work with Google Maps.
I'll reply to you via a PM to continue the discussion about b4a routing libraries.
To obtain the user location without GPS requires some form of 'network location library', try searching the forum i'm sure b4a has at least one network location library available.
As for the problem with Hebrew text...
Is Hebrew a right to left language?
Is the problem caused by android not using a character set that that is capable of displaying Hebrew text?
Martin.