damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.42k stars 803 forks source link

Geocoder.getFromLocation throws IOException in 2.3 and 2.2, works fine till 2.1 #183

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

What device(s) are you experiencing the problem on?
Emulator

What firmware version are you running on the device?
Android 2.1 on emulator

What steps will reproduce the problem?
1.Using the function getFromLocation of the class Geocoder

What is the expected output? What do you see instead?
It should give an object of List<Address> as it does in 2.1, Its throwing 
IOException with the method "Service Not Available" instead.

What version of the product are you using? On what operating system?
Using SDK r8, on Ubuntu 10.04 32bit

Please provide any additional information below.
logcat.txt is attached

Original issue reported on code.google.com by shekh.a...@gmail.com on 15 Dec 2010 at 9:53

Attachments:

Copied from original issue: damonkohler/android-scripting#489

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

Correction:

*What is the expected output? What do you see instead?*
It should give an object of List<Address> as it does in 2.1, Its throwing 
IOException with the message "Service Not Available" instead.

Original comment by shekh.a...@gmail.com on 15 Dec 2010 at 9:55