canmove, Confirmed users
640
edits
Nalexander (talk | contribs) |
No edit summary |
||
| Line 51: | Line 51: | ||
android-sync has the following dependencies: | android-sync has the following dependencies: | ||
* httpclientandroidlib, which provides a working modern version of the Apache HTTPClient under a different Java package. | * httpclientandroidlib, which provides a working modern version of the Apache HTTPClient under a different Java package. | ||
* json-simple 1.1 and commons-codec 1.2, which ship with Android. | * json-simple 1.1 and commons-codec 1.2, which ship with Android. | ||
| Line 61: | Line 60: | ||
* Tiny “un-stub” packages for android.util.Log, android.util.Base64, and android.content.SharedPreferences. | * Tiny “un-stub” packages for android.util.Log, android.util.Base64, and android.content.SharedPreferences. | ||
These live on github, and must be built and installed. | These live on github, and *must be built and installed*. | ||
** https://github.com/rnewman/base64-unstub | ** https://github.com/rnewman/base64-unstub | ||
** https://github.com/rnewman/log-unstub | ** https://github.com/rnewman/log-unstub | ||
** https://github.com/rnewman/sharedpreferences-stub | ** https://github.com/rnewman/sharedpreferences-stub | ||
=== What you need to do === | === What you need to do === | ||
| Line 89: | Line 84: | ||
To do real Android development and testing, you need to import android-sync as a project in Eclipse with the ADT installed. | To do real Android development and testing, you need to import android-sync as a project in Eclipse with the ADT installed. | ||
Note that | Note that android-sync has JUnit 4 tests that run in both Eclipse and Maven. The subdirectory android-sync/test includes Android JUnit 3 tests for activity and store testing. This is to avoid the mammoth annoyance of testing in a VM without introducing robolectric. | ||
=== Running Fennec === | === Running Fennec === | ||