reverse Geocoder (getFromLocation(lat, lnt) not reliable

by sunny » Tue, 02 Nov 2010 13:36:19 GMT


Sponsored Links
 Dear all,
I find that geocoder apis particularly getFromLocation using Lat and Lnt is
not very reliable. I am noticing this behavior more after I upgraded to
android 2.2 on my Droid. I get an invalid argument exception for Latitude.
The funny thing it is not consistent in this behavior. It works some times
without any problem.

any tips?

thanks
Sunil

--



reverse Geocoder (getFromLocation(lat, lnt) not reliable

by TreKing » Tue, 02 Nov 2010 23:04:11 GMT


 




Base on posts I've seen, I think people employ workarounds like wrapping the
call in a try catch and trying to get a valid value 3 or so times, waiting a
second or so between each attempt, to try to get a good value before giving
up and reporting an error.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--


Sponsored Links


reverse Geocoder (getFromLocation(lat, lnt) not reliable

by sunny » Mon, 08 Nov 2010 07:03:32 GMT


 yes, it is in a try and catch and i run it within a while loop to retry if
it fails. I also log the exception caught when it fails. its just not
consistent. Is there a known issue with geocoder ?
thanks
Sunny.






>



reverse Geocoder (getFromLocation(lat, lnt) not reliable

by Bj枚rn Brala » Tue, 09 Nov 2010 02:54:34 GMT


 Im thinking of writing a class to use the new http geocoder of the v3 of the
API, i only read about problems online and it just won't work here... Sigh.

2010/11/8 sunny <menon1...@gmail.com>



>>



Other Threads

1. Starting an Activity (with the dialog theme) from the onCreate() of another Activity results in a black screen.

I've had this problem in a few different apps now and I can't seem to
find a solution.

If, in the onCreate() of an Activity, I start a new activity that uses
the dialog theme (via android:theme="@android:style/Theme.Dialog" in
the manifest) it doesn't draw anything to screen... the whole screen
stays black. All the views are there (e.g., I can tap where an
EditText should be and it'll give me the keyboard), they're just not
visible.

Anyone have any ideas?
--~--~---------~--~----~------------~-------~--~----~

2. Displaying a panoramic image

Hi,

I need to display an interactive (scroll, zoom) panorama out of a qtvr
(QuickTime VR) file. I've found some Java code for this, namely
PTViewer (http://wiki.panotools.org/PTViewer), which seems to have
been ported on J2ME.

Before I try and port this code :
- is there any Android component for this around ?
- may I encounter performances problems doing image computation in
pure Java when scrolling, etc..?

Regards,

--
og

--~--~---------~--~----~------------~-------~--~----~

3. wifi and browse

4. Unable to write text file to sdcard on physical G1 device

5. Why does media scanner not list the audio file suffixed with ".aac".

6. HTTP Connections?

7. java.lang.StackOverflowError for sdk1_5r3