Set path for 'INTERNAL' synchronization in android

39 views
Skip to first unread message

mulyati...@gmail.com

unread,
Apr 27, 2013, 9:51:28 AM4/27/13
to perv...@googlegroups.com
For android, choosing internal sync in an app will create the synced sqlite db in <package-name>/files/pervasync/db/syncedDb.db

how to change that path to for example, <package-name>/databases/syncedDb.db ?

Thanks in advance!

perv...@gmail.com

unread,
Apr 29, 2013, 9:43:55 PM4/29/13
to perv...@googlegroups.com, mulyati...@gmail.com
Try the latest version at https://www.dropbox.com/s/8mqe6oo34p8cu23/pervasync_server-5.0.2.zip . Note the fix was on client side. So you need to download the new client after the new server is setup.

You can specify an absolute path like /data/data/<package-name>/databases/syncedDb.db as the client DB schema when you publish a sync schema. 

1350...@std.stei.itb.ac.id

unread,
Apr 30, 2013, 7:20:12 AM4/30/13
to perv...@googlegroups.com, mulyati...@gmail.com
Thanks for the fast reply! It works flawlessly now. Hopefully there wont be any problem in the future :D
Reply all
Reply to author
Forward
0 new messages