Re: [android-developers] Re: Attempt to read preferences file without permission

2011-03-21 Thread Dustin
I did open a bug report a while back (sorry, forgot to post this in this thread) with regards to my issue (Launching app from history on Samsung Galaxy S loses all prefs (shared and default). http://code.google.com/p/android/issues/detail?id=14359 -- You received this message because you are

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-03-05 Thread Mark Murphy
If you have not done so already, post this information to http://b.android.com. On Sat, Mar 5, 2011 at 5:09 PM, Kevin TeslaCoil Software wrote: > The CTS needs to be updated to test that shared_prefs (and all app > data) is actually deleted during an uninstall. Especially if the > vendor randomly

[android-developers] Re: Attempt to read preferences file without permission

2011-03-05 Thread Kevin TeslaCoil Software
The CTS needs to be updated to test that shared_prefs (and all app data) is actually deleted during an uninstall. Especially if the vendor randomly picked /dbdata/databases rather than /data/data. Or maybe just ban Samsung. I finally got my hands on an affected phone. This one is a Galaxy S i9000-

[android-developers] Re: Attempt to read preferences file without permission

2011-02-11 Thread Carbodrache
Hello, I have the same problems with my 2.2.1 Galaxy S (rooted), I solve it by deleting my app folder (com.xxx) in \dbdata\databases. Does someone have the same problem on another phone ? On 1 fév, 23:21, klwinkel wrote: > I am pretty sure that it happened during normal use of 2.2.1 > > I uninst

[android-developers] Re: Attempt to read preferences file without permission

2011-02-01 Thread klwinkel
I am pretty sure that it happened during normal use of 2.2.1 I uninstalled/installed my app several times since 2.2.1, also without problems. On 30 jan, 15:56, Kostya Vasilyev wrote: > Lior, > > Do you know if the application was installed before or after he updated > the firmware? > > That wou

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-01-30 Thread Kostya Vasilyev
Lior, Do you know if the application was installed before or after he updated the firmware? That would tell if the 2.2.1 firmware messes up the files during the update process, or during normal use. -- Kostya 30.01.2011 17:25, Lior пишет: My user seem to have had the same symptom. He e-m

[android-developers] Re: Attempt to read preferences file without permission

2011-01-30 Thread Lior
My user seem to have had the same symptom. He e-mailed me that he had to do a factory-reset to his phone due to other reasons, he re-installed the app from the market (something that didn't help before the reset), and now everything works as expected. On Jan 27, 8:49 pm, klwinkel wrote: > I have

[android-developers] Re: Attempt to read preferences file without permission

2011-01-28 Thread klwinkel
I have exactly the same problem with my own developed app, on my own standard non-rooted Samsung Galaxy S with android 2.2.1. this is my error message, when I do the Editor.commit(): E/ApplicationContext(19228): Couldn't rename file /dbdata/databases/ klwinkel.huiswerk/shared_prefs/klwinkel.hui

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Kostya Vasilyev
A pretty curious case, would be interesting to know more. Anyone willing to make a one-off build of their application for one of those users having problems? It could just run "ls -l" for the few application-specific data directories (shared_prefs, databases, files) and capture the output. T

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread roflharrison
Sorry about the double post earlier! Opening the preferences as world readable didn't help the problem. On Jan 26, 6:03 am, Dustin wrote: > Scratch that -- still did not fix.  Will definitely report back if I find a > fix or workaround. -- You received this message because you are subscribed t

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Scratch that -- still did not fix. Will definitely report back if I find a fix or workaround. -- 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 thi

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Scratch that -- still did not fix. Will definitely report back if I find a fix or workaround. -- 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 th

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Having the same issue for Mad Yapper with some Samsung Galaxy S devices. It __APPEARS__ that a user was able to fix this issue by doing these steps in Manage Applications: 1) Force Stop 2) Clear Data 3) Uninstall 4) Re-install It sucks to have a user go through this, of course. Wonder how ma

[android-developers] Re: Attempt to read preferences file without permission

2011-01-24 Thread roflharrison
I am having the same problem with my application Android Agenda widget. E/ApplicationContext(15707): Couldn't rename file /dbdata/databases/ com.roflharrison.agenda/shared_prefs/ com.roflharrison.agenda_preferences.xml to backup file /dbdata/ databases/com.roflharrison.agenda/shared_prefs/ com.rof

[android-developers] Re: Attempt to read preferences file without permission

2011-01-24 Thread roflharrison
I have the same problem with Android Agenda Widget, its quite frustrating. Lior, are you doing anything fancy with your preference files (e.g. using alternate names etc)? In AAW I cache and make alternate preference files for different widgets via a preference. These functions use 'getPreferenceMa

[android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Lior
Uninstalling and re-installing didn't help, so it's not the backup file, which also abolishes Kosty'a suggestion. (Unless, of course, for some reason the backup file is not being removed during the uninstallation). I'll try to investigate in Mark's direction. If anyone has more ideas, I'd be happy

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Mark Murphy
On Wed, Jan 19, 2011 at 10:07 AM, Lior wrote: > 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.ul

[android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Lior
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