I think you found it!
Looks pretty obvious because there is neither a reference to that
Parameter-ArrayList nor sth is returned.
On 21 Okt., 16:24, Rafael Fernandes <[EMAIL PROTECTED]> wrote:
> Hi all,
> after the release of android's source code, I believe found the
> problem with the method:
> public List<Address>getFromLocationName(String locationName, int
> maxResults,
> double lowerLeftLatitude, double lowerLeftLongitude,
> double upperRightLatitude, double upperRightLongitude) throws
> IOException;
>
> As I and some other fellas reported in other threads, this method
> always return empty results and the reason is on the line 231, is
> passing a object to the service, which fills the results but the
> method returns a different object <result>...
>
> I believe this is the issue, can anybody test this and let me know the
> results?
> I'm under windows here, so I can't even download the thing and fix
> myself....
>
> try {
> 228 ArrayList<Address> result = new ArrayList<Address>();
> 229 String ex =
> mService.getFromLocationName(locationName,
> 230 lowerLeftLatitude, lowerLeftLongitude,
> upperRightLatitude, upperRightLongitude,
> 231 maxResults, mLanguage, mCountry, mVariant,
> mAppName, new ArrayList<Address>());
> 232 if (ex != null) {
> 233 throw new IOException(ex);
> 234 } else {
> 235 return result;
> 236 }
> 237 }
>
> thanks,
> Rafael Fernandes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---