Web service

Fermé
eya - 5 mai 2012 à 12:08
Hello
if you have any idea that can help me I would be grateful
So i should create a web service wich will communicate with my android application .in my android app the client choose two point start and arrival this two point will be send to my web service to find the bus that has the shortest path between them.
i have a problem analytically and programmatically i find a dijkstra algorithme in this link http://www.vogella.com/code/de.vogella.algorithms.dijkstra/codestartpage.html
and i find this also http://www.codeweblog.com/dijkstra-shortest-path-algorithm-to-optimize-combat/

can you help me wich one i choose and how can i establish a relationship between this algorithme and my data base may be i need to send or retrieve the bulk of data in arraylist.. ..what are the classes needed what is the query that i need.. in wich classe i write them.. .

(i use eclipse ide )
thanks in advance
A voir également: