I created a database of many important features and locations of my city, and I want to find shortest/fastest path between two locations. Now, I'm calculating the route by using the A* algorithm in Java for Android device, but it takes too much time to calculate and draw a simple route.
Is there any efficient way to store and retrieve the road data from database for route calculation?