Thursday, August 30, 2012

[android-developers] Using SyncAdapter without creating an account

My app allows people to use and manage their data regardless they're logged in. Though, as I uniquely identify each device, I want to sync data from my anonymous users (not logged ones) as well. So, I was wondering if it is a good practice to create an anonymous account in this case, since SyncAdapters only work with accounts.

Should I create an account for my anonymous users or should I sync their data with threads/AsyncTasks/Loaders? In particular, is there any way to make ContentResolver.requestSync() work without the need of an account?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate