Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6715509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:37:23+00:00 2026-05-26T08:37:23+00:00

I am new to android and I am doing some project planning. To finish

  • 0

I am new to android and I am doing some project planning.

To finish the planning, I have to know which algorithms or techniques that I will use in my project. The idea is very simple. I just want to determine the shortest path/distance that between my current location and few supermarkets location.

Are there any algorithms or Android API I can apply?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:37:23+00:00Added an answer on May 26, 2026 at 8:37 am

    I don’t know about Android API, but if there is something you should be able to find it on google. For example try to look at “google map api”, and if you can get directions and distances with the api easily.

    Look for exemple at the Google direction API

    Or even better : google distance matrix api it gives you the distance of any given set of points.(for example a matrix with at each row : [your position, one supermarket)

    for example : if I am 20 passage de la bonne graine in paris and I
    want to check how far is the monoprix (supermarket 5 Rue
    Godefroy Cavaignac)
    I can request something like that :
    http://maps.googleapis.com/maps/api/distancematrix/json?origins=20%20passage%20de%20la%20bonne%20graine&destinations=45%20Rue%20Godefroy%20Cavaignac,%2075011%20Paris,%20France&mode=walking&language=fr-FR&sensor=false

    In term of algorithm you can process as below:

    create a graph:

    • each road is a edge
    • each suppermarket is a node
    • your position is a node

    then apply Dijktra’s algorithm to find the shortest path between your position and all supermarkets

    Here is a nice illustration (from wikipedia) on how Dijktra’s algorithm works :

    enter image description here

    hope it helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new in android developement. I'm doing an application that will go through some
I am developing an android game, in which i have some trains moving on
I am very new Android Soap Web-services I have some knowledge on consuming soap
I need some help with properly versioning my Android project with Git/Eclipse. I have
I am doing some thing like SMS application in android Environment. I have a
Im currently doing some android developer that lists items in a ListView , we
On my Android project I have the main Activity called TestFIO , which is
when i am creating new android project from visual studio 2010 it gives the
i am creating a new android application.i am using the table layout. I have
I am a new android app developer and i want to use google map

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.