The Pathfinder Android/Java Client Library allows developers to easily integrate Pathfinder routing service in their Android and Java applications.
Pathfinder provides routing as a service, removing the need for developers to implement their own routing logistics. This SDK allows for Android and Java applications to act as commodities that need transportation or transportation providers. Additionally, there is support for viewing routes for sets of commodities and transportation providers.
To register your application to use Pathfinder, visit our website.
To get up to speed on integrating Pathfinder in your Android or Java application, checkout the Javadocs or the tutorials.
Pathfinder is distributed through Maven Central and JCenter. To use Pathfinder in your application, add the following line to your build.gradle file if you are using Gradle:
compile 'xyz.thepathfinder:pathfinder-android:1.0.0'
compile 'com.google.code.gson:gson:2.5'
Note, if you are using Oracle's JDK/JRE you must add Let's Encrypt's X1 and X3 certificates to your keystore to properly connect to the Pathfinder service.
If you want to see the logging messages add the following dependencies:
compile 'org.slf4j:slf4j-log4j12:1.7.21'
compile 'ch.qos.logback:logback-classic:1.1.3'
compile 'ch.qos.logback:logback-core:1.1.3'