public class GeocodeConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
GeocodeConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAddressString(android.location.Address addr)
Convert an Address object to a single-line string
|
static boolean |
isPresent() |
static java.lang.String |
readStream(HttpConnection connection) |
static java.lang.String |
requestStringFromUrl(java.lang.String url,
java.lang.String userAgent)
sends an http request, and returns the whole content result in a String
|
public static final java.lang.String TAG
public static boolean isPresent()
public static java.lang.String readStream(HttpConnection connection)
public static java.lang.String requestStringFromUrl(java.lang.String url, java.lang.String userAgent)
url
- userAgent
- public static java.lang.String getAddressString(android.location.Address addr)
addr
- Address to get information from