I currently am working on developing an android app. I have an SQLite database
set up in the app and Google Maps
as well (i.e. its displaying the map when the user wants to see it).
- My problem is that my
SQLite database
has 3 columns : Name, cell number and address. My aim is that the entries made by users in the address column be displayed as pinpoints inGoogle Maps
. Eg if someone makes an entry: Richard, 0333 1321421, Berlin Street Hawaii. Then a pinpoint should show up on that particular address in Google Maps. So far i have had no luck in figuring out how to accomplish this.
I would greatly appreciate it if someone could tell me how to:
- Convert address entries to longitude, latitude
- Display a pinpoint in google maps on that particular latitude, longitude.
Also, is conversion of an address to latitude, longitude necessary or can a pinpoint be made directly over the address with just the address alone.
Any sample codes which demonstrate this would be very helpful. I am currently making this app in Google API 2.2 api level 8 in eclipse java.