:earth_africa: Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
763
stars
170
forks
source link
NetworkClient.java line 39 (Caused by java.io.InterruptedIOException: thread interrupted) #329
Closed
dhaval951753 closed 1 year ago
Please provide proper solution for this issue:
fun requestFromLocationName(request: String): String? { var result: String? = null var stream: InputStream? = null var connection: HttpsURLConnection? = null try { val url = URL(request) Log.e("GeocodingUrl--", "" + request) connection = url.openConnection() as HttpsURLConnection connection.readTimeout = READ_TIMEOUT connection.connectTimeout = CONNECT_TIMEOUT connection.requestMethod = "GET" connection.doInput = true connection.connect()