Article Hero Background
Articles in this section

Using the Trucker Path URL Launcher Schema

The URL Launcher Schema lets third-party applications open the Trucker Path app and initiate truck-safe navigation. You can build a route by passing one or more stops, defined by latitude and longitude, into the app.

Once launched, the driver simply taps Confirm and Navigate to begin the route.


📍 Supported Inputs

You can pass the following types of stops via URL:

  • Starting Point (optional)
    saddr (iOS) or s_addr (Android): latitude,longitude

  • Destination (required)
    daddr (iOS) or d_addr (Android): latitude,longitude

  • Waypoints (optional)
    paddr (iOS) or p_addr (Android): one or more latitude,longitude values, separated by |

Note: All coordinates must be in decimal format. Only lat/long values are supported (no addresses or place names).


📱 iOS Schema Format

 
truckerpath://cal_route?saddr=%f,%f&daddr=%f,%f&paddr=%f,%f|%f,%f|...

Examples:

  • Only destination:

    arduino
     
    truckerpath://cal_route?daddr=35.353112,-119.040104
  • Start and end points:

    arduino
     
    truckerpath://cal_route?saddr=34.353112,-118.040104&daddr=35.353112,-119.040104
  • Route with 2 waypoints:

    arduino
     
    truckerpath://cal_route?saddr=34.353112,-118.040104&daddr=35.353112,-119.040104&paddr=33.353112,-117.040104|32.353112,-116.040104

🤖 Android Schema Format

perl
 
truckerpath://cal_route?s_addr=%f,%f&d_addr=%f,%f&p_addr=%f,%f|%f,%f|...

Key Differences:

  • Use underscores (s_addr, d_addr, p_addr) instead of (saddr, daddr, paddr)

  • d_addr is required, s_addr and p_addr are optional

  • If no s_addr is provided, Trucker Path uses the driver’s current location

Examples:

  • Only destination:

     
    truckerpath://cal_route?d_addr=35.353112,-119.040104
  • Start and end points:

     
    truckerpath://cal_route?s_addr=34.353112,-118.040104&d_addr=35.353112,-119.040104
  • Route with 2 waypoints:

     
    truckerpath://cal_route?s_addr=34.353112,-118.040104&d_addr=35.353112,-119.040104&p_addr=33.353112,-117.040104|32.353112,-116.040104

đź’» Sample Android Code

val intent = Intent( Intent.ACTION_VIEW, Uri.parse("truckerpath://cal_route?d_addr=35.353112,-119.040104") ) startActivity(intent)

Questions?

If you have any questions regarding this topic or any others, please reach out to our Support Team via email at fleetsupport@truckerpath.com.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Additional Resources

  • Our helpline hours:

    8:00am - 8:00pm CST Monday to Friday; 9:00am - 6:00pm CST Saturday

  • Follow us on our socials

    Get the latest news and updates first