You can configure Android to open Trucker Path instead of Google Maps when clicking on addresses in other apps (like Yelp). This setup must be done manually in Android system settings.
📱Set Trucker Path as Default Map App
-
Open your Android Settings.
-
Go to Apps → Default apps → Opening links.
-
In the list:
-
Find Google Maps and disable the Open by default option.
-
-
-
Find Trucker Path, then:
-
Tap Open supported links.
-
Allow Trucker Path to open supported links.
-
-
✅ Once configured, clicking an address (e.g., in Yelp) will automatically open Trucker Path and begin route calculation.
⚠️ Android 12+ Restrictions on Deep Links
Starting in Android 12, deep links (like Google Maps URLs) are restricted unless the app owns the linked domain. This change affects how third-party apps launch map apps.
Before Android 12:
-
Apps could share a common link (e.g.,
https://maps.google.com) and Android would ask the user which app to open it with.
Android 12 and later:
-
Only the app that owns the link’s domain can open it.
-
Ownership is verified using a published
assetlinks.jsonfile.
Example:
Google Maps publishes this file:
https://maps.google.com/.well-known/assetlinks.json
Because it only lists Google Maps as the valid handler, Android will always default to Google Maps for links using that domain.
💡 Workaround: Manually set Trucker Path to open supported links as shown in the setup steps above.
🛠️ Developer Solutions for Integration
If you're a developer building an app that needs to open Trucker Path directly, consider the following options:
1. Use Implicit Intents
Android supports the geo: URI for launching any map app.
Format:geo:latitude,longitude?q=Label
Example:
This opens a map app and calculates a route from the current location.
2. Define a Custom URI Scheme for Trucker Path
To enable deeper integrations (like Baidu or Amap), Trucker Path can publish a custom URI scheme (e.g., truckerpath://route?...) and share it with third-party developers.
This would allow apps to:
-
Open Trucker Path directly.
-
Provide multiple stops or custom settings.
-
Ensure consistent behavior across Android versions.
We recommend reaching out to Trucker Path support if you’re interested in using a future custom scheme.
Reference: Custom Scheme for Navigation on Android
Comments
Please sign in to leave a comment.