displaying routes on android maps

by Raghuveer » Tue, 21 Apr 2009 23:09:59 GMT


Sponsored Links
 Hi,

My application is trying to display a path between two points  on
android maps. I was wondering if there is any API for doing it.

If not, any other pointers as to how to accomplish the task?

Any info would be appreciated.

Thanks,
Raghuveer

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. ListView - default selection

Hi.

SETUP : I'm using ListActivity and an ArrayAdapter to show a list of
items - straight forward.

OBSERVATION : When the application starts the list shows up with the
first entry lit up in bright orange. At this point the ListView is not
in Touch Mode, so I'm thinking that this represents the default
selection of the ListView.
( If I enter Touch Mode the selection goes away as expected, and if I
exit touchmode again the selection is back on)

PROBLEM : However, I would like to see the listview (in non-touch-
mode) without this "default" selection. My first intuition was to try
to set the selection to some magic value setSelection(NO_SELECTION).
Yet, the documentation of setSelection() tells me that parameters less
than 0 will be replaced by 0. Also - playing with the setSelection()
method does not seem to have any effect (even though I'm in non-touch-
mode). This puzzles me.

QUESTION : So, this seems like an easy thing, still after having spent
some time researching selection/focus/touchmode I'm still confused
about how to approach this.

- What am I missing here?
- Alternatively, is my desire not to show the default selection
inherently unwise for some reason?

-- 

2. PPP problem on Android

Hi,

I use multiplexer function on ril. When it dial "ATD*99***1#", PPP
daemon will start to work. I met a problem, PPP daemon can't get local
IP successfully. It will fail and show "Serial line is looped back.".
I use the same external modem and use "WvDial" on my PC, it can work
well. Does anyone have any suggestion? Below is my pppd log and
parameters of pppd. Thanks advice.

<init.gprs-pppd parameter>----------------------------------------
/system/xbin/pppd /dev/pts/1 115200 mru 1280 mtu 1280 nodetach debug
dump noauth noipdefault


<PPPD log>--------------------------------------------------
D/AT      (  680): AT> ATD*99***1#
D/AT      (  680): AT< ATD*99***1#
D/AT      (  680): AT< CONNECT 115200
D/RILJ    (  757): [0041]< SETUP_DEFAULT_PDP {1, ppp0}
D/GSM     (  757): [PdpConnection] PDP setup on cid = 1
I/pppd    (  867): Starting pppd
D/pppd    (  868): using channel 1
I/pppd    (  868): Using interface ppp0
I/pppd    (  868): Connect: ppp0 <--> /dev/pts/1
D/pppd    (  868): sent [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0x0>
<magic 0x10ee7db8> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0x0>
<magic 0x10ee7db8> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x1 <magic 0xcbadab2d>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x1 <magic 0xcbadab2d>]
D/pppd    (  868): sent [LCP ConfReq id=0x2 <mru 1280> <asyncmap 0x0>
<magic 0xdc2e6c51> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x2 <mru 1280> <asyncmap 0x0>
<magic 0xdc2e6c51> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x2 <magic 0x85213cae>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x2 <magic 0x85213cae>]
D/pppd    (  868): sent [LCP ConfReq id=0x3 <mru 1280> <asyncmap 0x0>
<magic 0xa4f6963d> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x3 <mru 1280> <asyncmap 0x0>
<magic 0xa4f6963d> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x3 <magic 0x6a788a51>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x3 <magic 0x6a788a51>]
D/pppd    (  868): sent [LCP ConfReq id=0x4 <mru 1280> <asyncmap 0x0>
<magic 0xe32a46cf> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x4 <mru 1280> <asyncmap 0x0>
<magic 0xe32a46cf> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x4 <magic 0xf00fb1a9>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x4 <magic 0xf00fb1a9>]
D/pppd    (  868): sent [LCP ConfReq id=0x5 <mru 1280> <asyncmap 0x0>
<magic 0xaec947d1> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x5 <mru 1280> <asyncmap 0x0>
<magic 0xaec947d1> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x5 <magic 0x5b856e94>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x5 <magic 0x5b856e94>]
D/pppd    (  868): sent [LCP ConfReq id=0x6 <mru 1280> <asyncmap 0x0>
<magic 0x9dbb784c> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x6 <mru 1280> <asyncmap 0x0>
<magic 0x9dbb784c> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x6 <magic 0xcd6c0183>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x6 <magic 0xcd6c0183>]
D/pppd    (  868): sent [LCP ConfReq id=0x7 <mru 1280> <asyncmap 0x0>
<magic 0x20414c33> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x7 <mru 1280> <asyncmap 0x0>
<magic 0x20414c33> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x7 <magic 0xa0f230a4>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x7 <magic 0xa0f230a4>]
D/pppd    (  868): sent [LCP ConfReq id=0x8 <mru 1280> <asyncmap 0x0>
<magic 0x3d011750> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x8 <mru 1280> <asyncmap 0x0>
<magic 0x3d011750> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x8 <magic 0xaabc6c98>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x8 <magic 0xaabc6c98>]
D/pppd    (  868): sent [LCP ConfReq id=0x9 <mru 1280> <asyncmap 0x0>
<magic 0x1c33c2e3> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0x9 <mru 1280> <asyncmap 0x0>
<magic 0x1c33c2e3> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0x9 <magic 0x2e4035ae>]
D/pppd    (  868): rcvd [LCP ConfNak id=0x9 <magic 0x2e4035ae>]
D/pppd    (  868): sent [LCP ConfReq id=0xa <mru 1280> <asyncmap 0x0>
<magic 0xabbfaccd> <pcomp> <accomp>]
D/pppd    (  868): rcvd [LCP ConfReq id=0xa <mru 1280> <asyncmap 0x0>
<magic 0xabbfaccd> <pcomp> <accomp>]
D/pppd    (  868): sent [LCP ConfNak id=0xa <magic 0x670acb6>]
D/pppd    (  868): rcvd [LCP ConfNak id=0xa <magic 0x670acb6>]
I/pppd    (  868): Serial line is looped back.
D/pppd    (  868): sent [LCP TermReq id=0xb "Loopback detected"]
D/pppd    (  868): rcvd [LCP TermReq id=0xb "Loopback detected"]
D/pppd    (  868): sent [LCP TermAck id=0xb]
D/pppd    (  868): rcvd [LCP TermAck id=0xb]
I/pppd    (  868): Connection terminated.
I/pppd    (  885): pppd exited with 17

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. N900 Mac OS X installed

4. Android sqlite unable open database problem

5. CPU performance in my nexus

6. changing the background color of an activity

7. Pipe separator "|" in sms