Friday, August 6, 2010

show Driving Directions in a ListView in Android

AIM :  To show Driving Directions in a ListView in Android .
Generally,to see driving directions in a browser we use query as follows:
We use the same url in mobile also .
the code snip is:

Uri uri =Uri.parse(",78.809369&daddr=15.612456,78.706055");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);

This will open intent chooser to view like open this either in Browser or Google Map.If you select  Google Map it will open the Map and fetch the driving directions in a listView.


  1. I'm amazed, I have to admit. Seldom do I encounter a blog that's equally educative and interesting, and without a doubt, you have hit the nail on
    the head. The problem is an issue that too few men and women are speaking intelligently about.
    I'm very happy I found this in my hunt for something concerning this.

    My page: bmi calculator women
    my webpage > bmi calculator women

  2. Attractive sесtion of content. I јust stumbled uρon your sіte and in accessіon capital tο assегt thаt I get actually enjoyed acсοunt уοur blog posts.
    Anyωаy I'll be ѕubscribing to youг
    augment and even І achіevement you access consіstently fast.

    Alsο visіt my blog megapolis cheat


Android Developers Blog

Ram's shared items