hi all,

I used GeoCoder.getFromLocationName for resoved address to GeoPoint,
it will return true in the emulator,but "null" on my machine.

the simple code I post bellow..
is anyboy knows about this issue?

thanks!
======================================
        Geocoder mGeocoder = new Geocoder
        (this, Locale.getDefault());

        List<Address> lstAddress = mGeocoder.getFromLocationName
                           (search_address, 1);
        if (!lstAddress.isEmpty())
        {
          showDialog("not null")
        }
        else{
                showDialog("Address's GeoPoint not found,null!!");
        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to