Thanks for the quick reply Mark.

You are right about the path, and yes I do have a database to which
the carousels are being saved.
The paths of the files on my device are (as expected, obviously...):
./data/data/com.mobilemerit.ultimatefaves/shared_prefs/
com.mobilemerit.ultimatefaves_preferences.xml
./data/data/com.mobilemerit.ultimatefaves/databases/
UltimateFavesPro.db

As far as I know the database access is ok. (I e-mailed the user to
confirm this, but without it the app would be totally useless for him,
and I don't think he would have bothered otherwise...)

What can cause the situation you described?

On Jan 19, 4:50 pm, Mark Murphy <[email protected]> wrote:
> Well, that path is mighty strange -- /dbdata/databases is usually
> /data/data on Android.
>
> That being said, it feels like somehow your application's preference
> files are owned by a different Linux user than the one that is used
> for running your process. Do you have databases or other files in your
> app, and do you have any idea if they are similarly affected?
>
>
>
>
>
>
>
>
>
> On Wed, Jan 19, 2011 at 9:45 AM, Lior <[email protected]> wrote:
> > 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?
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

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

Reply via email to