diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-08-28 22:13:10 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-08-28 22:13:10 -0700 |
commit | 9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba (patch) | |
tree | e9fc363fb9fb97f95e1444420611e4411becf5db /res/xml | |
parent | 054f83744088381f99765bf2957ddbed19d8e61f (diff) | |
download | dsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.tar.gz dsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.tar.bz2 dsub-9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba.zip |
Start of custom SyncAdapters
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/authenticator.xml | 7 | ||||
-rw-r--r-- | res/xml/syncadapter.xml | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/res/xml/authenticator.xml b/res/xml/authenticator.xml new file mode 100644 index 00000000..ce62b117 --- /dev/null +++ b/res/xml/authenticator.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?>
+<account-authenticator
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:accountType="subsonic.org"
+ android:icon="@drawable/launch"
+ android:smallIcon="@drawable/launch"
+ android:label="@string/common.appname"/>
\ No newline at end of file diff --git a/res/xml/syncadapter.xml b/res/xml/syncadapter.xml new file mode 100644 index 00000000..da7b85f7 --- /dev/null +++ b/res/xml/syncadapter.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?>
+<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
+ android:contentAuthority="github.daneren2005.dsub.provider"
+ android:accountType="subsonic.org"
+ android:userVisible="true"
+ android:supportsUploading="false"
+ android:allowParallelSyncs="false"
+ android:isAlwaysSyncable="true"/>
\ No newline at end of file |