Click here to Skip to main content
15,906,816 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,
My new android project is location based advertisement. I want to get the details of current location and important places like ATMs, hotels, restaurants nearby. Currently I stored some locations into the database. It has some demerits as it is difficult to insert all the places into the database. Is there any method to retrieve locations between source and destination without storing those locations into the database. Please help me with any good idea.

Thank you...........
Posted
Updated 22-Mar-12 2:26am
v4
Comments
Sergey Alexandrovich Kryukov 22-Mar-12 2:33am    
Not clear. What locations? Where you get the information?..
--SA
Neha Thanka 22-Mar-12 2:39am    
Sir, I have updated the question.

1 solution

Still not clear.
Do want to get the current location or do you have the current location and you want to get information related to the current location like POI?

if it is the first, have a look at the Android SDK documentation. There are APIs to get the current GPS coordinates and you can do reverse geo-coding to get the street name and so on.

If you are interested in POI;
The only free POI database that i'm aware of is Google's Places - https://developers.google.com/maps/documentation/places[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900