Phonegap and navigation

5 posts, 0 answers
  1. Relez
    Relez avatar
    45 posts
    Member since:
    Jan 2013

    Posted 11 Jul 2013 Link to this post

    Hello there, is there any way to send from a PhoneGap app to a Navigation app on your phone two address (one as the origin and the other as destination)? I need to use the Navigation app to show the route between two directions.

    Thanks!
  2. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 11 Jul 2013 Link to this post

    Hello Relez,

     On iOS you can use "map links" that will open the Maps application.

     On Android the Google Maps supports an Intent with the 'geo' url scheme. It seems that Android supports KML files as well, according to this Stack Overflow discussion. You will need the WebIntent plugin in order to send intents in Cordova on Android.

    Regards,
    Yavor Georgiev
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  3. Relez
    Relez avatar
    45 posts
    Member since:
    Jan 2013

    Posted 11 Jul 2013 Link to this post

    Hello Yavor, thanks for your reply.

    I am trying to install the WebIntent plugin on my Icenium project, but it seems to be missing the xml file in the plugin. When I go to Project Properties, and click on Import in Plugins section, it says theres an xml file missing in the plugin.

    Am I in the right url plugin or I miss something trying to install it?

    Thanks, 
    Relez!
  4. David Silveria
    David Silveria avatar
    234 posts
    Member since:
    May 2006

    Posted 11 Jul 2013 Link to this post

    This plugin is not plugman compatible as it is and you should create the plugin.xml file and setup the plugin structure yourself. More info is in the docs: http://docs.icenium.com/creating-your-project/using-plugins/using-custom-plugins/using-custom-plugins
  5. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 11 Jul 2013 Link to this post

    Hi Relez,

     The forum thread I linked to has information on what the plugin.xml for the WebIntent plugin should look like. Please check it out.

    Regards,
    Yavor Georgiev
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
Back to Top