| CARVIEW |
simplegeo / simplegeo-java-client
- Source
- Commits
- Network (2)
- Issues (1)
- Downloads (5)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
SGClient v1.1.0
ABSTRACT:
A thread-safe, Java HttpClient used to interface with the SimpleGeo API. Both synchronous and asynchronous calls are provided. The project is also capable of transforming into an Android project.
USAGE:
The initial state of the project uses normal JRE system libraries. To transform
the project into a more suitable environment for Android development, the
build.xml comes with a target called to_android. Running ant to-android
will move everything from the .android into the the top-level
directory. The target will also search and replace certain string values in
the source files (swapping log4j with Log, changing import packages). Once
the conversion process is done, running ant to-java will revert back to the
initial state.
Running ant dist will generate jars and JavaDocs.
Currently, there is only one example located in examples. There will be more to come. The unit tests in tests should also provide as examples. In order for unit tests to be successful, you must replace three static fields in tests/com/simplegeo/client/test/TestEnvironment.java: TESTING_LAYER, ACCESS_KEY and SECRETY_KEY.
CHANGES FROM PREVIOUS VERSIONS:
Version 1.1.0 - Fix query parameters for nearby calls
Version 1.0.0 - Nearby requests only accept a single layer instead of multiple.
Version 0.1.1 - Added license
