Friday, March 30, 2012

[android-developers] how to save/restore SharedPreferences between devices?

While my app is in beta testing I want to provide a mechanism to allow my testers to send me information (logs and such) so that I can have a better chance at reproducing problems.

My question is, is there a reasonable way for an app to send along the SharedPreferences state to me such that I could then restore it in the emulator to help diagnose problems?

I have certainly thought about just grabbing the values I am interested in and creating an XML file, and then just parse it on the other end. But it strikes me that there might be a better way.

Any ideas?

--
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