The changes made were pretty sweeping. The biggest addition was to allow on-device contact creation/editing, and supporting 2-way sync to the sample server that runs in Google App Engine. The client-side sample code also includes examples of how to support the user of AuthTokens (instead of always sending username/password to the server), how to change a contact's picture, and how to set IM-style status messages for each contact. I also greatly simplified the server code so that instead of mimicking both an addressbook and an IM-style status update system for multiple users, it really just simulates an addressbook for a single user. The server code also includes a cron job that (once a week) blows away the contact database, so that it's relatively self-cleaning. Change-Id: I017f1d3f9320a02fe05a20f1613846963107145e
19 lines
415 B
Makefile
19 lines
415 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := samples tests
|
|
|
|
# Only compile source java files in this apk.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := SampleSyncAdapter
|
|
|
|
LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_DX_FLAGS=--target-api=11
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
# Use the folloing include to make our test apk.
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|