Start navigating from external app with ident

tdsrhh
tdsrhh Registered Users Posts: 2
Apprentice Traveler
Is there any way to start navigating from external app with ident from my app given a pair of target coordinates ?

Comments

  • szachowa
    szachowa TomTom Staff Posts: 492
    Supreme Pioneer
    tdsrhh wrote: »
    Is there any way to start navigating from external app with ident from my app given a pair of target coordinates ?

    Hi @tdsrhh , I will confirm that with our devs, but yes, this should be possible.
    As far as I know - for instance - we support intent sent from PlugShare app while using Android Auto head unit.

    I will get back to you shortly.
  • tdsrhh
    tdsrhh Registered Users Posts: 2
    Apprentice Traveler
    Thank you for the quick and accurate feedback.

    If I need to navigate to an address given as text. Is this possible ?

    Regards
  • szachowa
    szachowa TomTom Staff Posts: 492
    Supreme Pioneer
    tdsrhh wrote: »
    Thank you for the quick and accurate feedback.

    If I need to navigate to an address given as text. Is this possible ?

    Regards

    As far as I remember, it also should be possible.
  • szachowa
    szachowa TomTom Staff Posts: 492
    Supreme Pioneer
    edited May 2021
    Yup, it works OK:
    adb shell am start -a android.intent.action.VIEW -d geo:0,0?q=Prosta+51,+Warszawa
    

    or
    adb shell am start -a android.intent.action.VIEW -d geo:0,0?q=$(echo 'Prosta 51, Warszawa' | sed 's/ /\+/g')
  • Vik117
    Vik117 Registered Users Posts: 7
    Master Explorer
    Yes it works perfectly fine. For coordinates, make sure to remove brackets before sending to TomTom. Also only comma between latitude and longitude, remove any spaces.