I have to write an App that should communicate with a Navigation Tool which is written in Java. There's an API library called navappclient.jar which I included in the #additionaljar. i cannot figure out how to access the methods in this library. I know there is a tutorial "accessing third party Java" with an example, but frankly i am too dumb to translate this to the given API.
The API says the following:
/quote
To use the NavApp SDK you need to create an instance of the NavAppClient, using the
NavAppClient.Factory.make(Context, ErrorCallback) method. The returned instance is used to access the individual APIs.
The package is called com.tomtom.navapp.
The interface (i shoul use) is called Routable
public interface
Routeable
extends com.tomtom.navapp.internals.Data
This interface is holding the data relating to any geographic location on the map. A Routeable can contain a latitude/longitude, and an address associated with this point.
end quote/
And to begin with, i would like to call the methods double getLatitude() and double getLongitude()
Any help how to access these methods in b4a would be great, thank you.
Georg
P.S. I have b4a 3.82