aspose file tools*
The moose likes Java Micro Edition and the fly likes problem in displaying location name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "problem in displaying location name" Watch "problem in displaying location name" New topic
Author

problem in displaying location name

kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
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
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

They lied. None of their examples work.
kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Hi

thank you very much for timely help......
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in displaying location name