Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to Get name of the place using longitude and latitude?  RSS feed

 
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an application which will determine in which building/college/University you are?
Then it will find the available labs in that building. I have the coordinates of those places.
I want to know that once I get the current location in terms of longitude and latitude how will I get the name of that place?
I have seen some applications which checks you in when you go to some coffee place or pubs.


Thanks for the help.

 
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use Geocoding to determine the name of the place
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Just want to confirm that the Geocoder will give the name of the city. Can I get the name of the place as well?

Thanks for the reply.

 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If by name of the place you mean building name then i dont think it would work but you can retrieve street address and city name
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.

I looked the Geocoder class and I think that can help me in getting what I need.
Is anyone here aware of the problem of Samsung Galaxy GPS system?
If yes is there any solution to that?
I have tried some approaches but nothing worked.
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is anyone here aware of the problem of Samsung Galaxy GPS system?


What is "the problem"?
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The GPS system is not reliable. It stops working or I should say it works randomly.
There is a lot of buzz in the community regarding the same. A quick Google search will yield thousands of complaints.
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to get the directions as well using the longitude and latitude.
I want to locate the user on his co-ordinates and then other objects in a plane by maintaining their relative positioning.
 
Ulf Dittmer
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything related to "getting directions" will likely involve calls to the Google Maps web service. I don't think Android comes with an API that wraps those calls in Java classes, but such classes probably exist somewhere out on the net.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!