CloudServices/NativeSync: Difference between revisions

No edit summary
Line 41: Line 41:


Let's figure out bleeding edge stuff ("how do I get a SyncAdapter to work?") in throwaway projects. There will be a lot of these :)
Let's figure out bleeding edge stuff ("how do I get a SyncAdapter to work?") in throwaway projects. There will be a lot of these :)
=== Setting up Eclipse ===
If you want to use Eclipse:
* Install it and the SDK plugin, as described in the Android SDK page.
* Run these in your repo:
mvn -Declipse.workspace=<eclipse-workspace> eclipse:add-maven-repo
mvn -DdownloadJavadocs=true -DdownloadSources=true eclipse:eclipse
* Open Eclipse, choose File > Import… Existing Project, pick your repo dir.
* Correct formatting: Preferences > Java:Code style:Formatter, Edit…, change name to "Mozilla", change both indentation values to 2, tab policy = Spaces only, check "Align fields in columns".
Confirmed users
400

edits