aboutsummaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-08-28 22:13:10 -0700
committerScott Jackson <daneren2005@gmail.com>2013-08-28 22:13:10 -0700
commit9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba (patch)
treee9fc363fb9fb97f95e1444420611e4411becf5db /res/xml
parent054f83744088381f99765bf2957ddbed19d8e61f (diff)
downloaddsub-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.xml7
-rw-r--r--res/xml/syncadapter.xml8
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