Renaming a file can fail if the destination file already exists. In this
case, the .bak file.
Can you do a one-off build and check?
You could also check the source code for 2.2.1, to see if it gives any
more ideas (like how this file is used, when is it created / deleted).
-- Kostya
19.01.2011 17:45, Lior пишет:
Hi,
I have an app called UltimateFavesPRO on the market (http://
ultimatefaves.com/).
The app is quite popular, very mature and stable. I have a user with a
problem I haven't been able to solve so far.
The application uses SharedPreferences to keep the user's setting. For
this user, the SharedPreferences are never saved. I asked him to send
me the logcat from his device. The relevant lines are:
01-19 12:08:56.852 D/UltimateFavesHome( 4563): onCreate
01-19 12:08:56.856 W/ApplicationContext( 4563): Attempt to read
preferences file /dbdata/databases/com.mobilemerit.ultimatefaves/
shared_prefs/com.mobilemerit.ultimatefaves_preferences.xml without
permission
01-19 12:08:56.856 E/ApplicationContext( 4563): Couldn't rename file /
dbdata/databases/com.mobilemerit.ultimatefaves/shared_prefs/
com.mobilemerit.ultimatefaves_preferences.xml to backup file /dbdata/
databases/com.mobilemerit.ultimatefaves/shared_prefs/
com.mobilemerit.ultimatefaves_preferences.xml.bak
The user has a T-Mobile Samsung Galaxy S running standard Froyo 2.2.1
that he updated using the Samsung Kies Windows app - from the v2.1 it
shipped with. He performed a factory reset after the upgrade.
He has no similar issues with any other apps.
Any suggestions?
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en