• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in displaying location name

 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I wrote a j2me application using location API, to display the location co-ordinates (latitude and longitude). it works fine.

Now, Using these location co-ordinates I want to find the Location name.
Using the services of



I am able to display the location name, however when i want to do the same using the services of



I am getting http response code as 404.
Can anybody help me in understanding it more....

Thanks in advance.



 
Tim Holloway
Bartender
Posts: 18469
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Click on the following link:

http://locator.mapmyindia.com/reverseGeocode/x=77.21065320714651&y=28.56911994576303&type=WGS84

Notice it doesn't work any better that way than it does embedded within a program.

Your working URL targets an entirely different server and service. You need to construct a URL that works for that server according to whatever format they support.
 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to construct a URL that works for that server according to whatever format they support.


Ya I had constructed the URL according to them, here is what I followed:-

MapMyIndiaReverseGeocoding

Still it doesn't work.....am I still missing something.....

 
Tim Holloway
Bartender
Posts: 18469
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They lied. None of their examples work.
 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

thank you very much for timely help......
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!