[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-29 Thread scanning_it
7;m actually storing some > snippets of unescaped HTML (which I actually don't care about much). I > think these I'll move to Bundle and see if my "real" preferences will > persist > > On Apr 24, 3:09 am, scanning_it wrote: > > > Thank you Dianne for join

[android-developers] Re: Android 1.5: How to get the BT state?

2009-04-25 Thread scanning_it
t in the source. :( Thank you very much. Regards. On Apr 25, 9:11 am, scanning_it wrote: > Thank you very much. I am aware that it is not part of the public > API. :) > > On Apr 24, 10:41 pm, Nick Pelly wrote: > > > On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way <

[android-developers] Re: Android 1.5: How to get the BT state?

2009-04-25 Thread scanning_it
Thank you very much. I am aware that it is not part of the public API. :) On Apr 24, 10:41 pm, Nick Pelly wrote: > On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way < > > > > festival.s...@googlemail.com> wrote: > > > At the moment I am trying to update my application to Android 1.5. >

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-24 Thread scanning_it
Thank you Dianne for joining the discussion. I will look into my code again but I'm sure that this is the only way I am writting to the SharedPreferences: settings.edit().putString(SOME_STRING, "Hello world.").commit(); So there shouldn't be a problem with that one. Is it possible that SharedP

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-23 Thread scanning_it
> reinstall. I haven't seen it happen (yet) after quoting, but maybe that's > > just luck. > > > I will also add a call to setPersistent to my app see if that helps. > > > On Thu, Apr 23, 2009 at 1:12 PM, scanning_it > > wrote: > > > > Thank you fo

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-23 Thread scanning_it
Thank you for your responses. By the way I love Nubinews. :) It is a known bug that & signs lead to a loss of shared prefs. But my settings don't include these signs. :( I have only the following things included as strings: content://media/internal/audio/media/33 100,200,300,400 So this can

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-22 Thread scanning_it
Thank you for your response. I'm using the settings the following way. http://paste.pocoo.org/show/kFnfBNWMlsWLS0TWuzlO/ I'm saving only Strings that can get the following values: - content://media/internal/audio/media/33 - 100,200,300 In addtion I'm having int values and boolean ones. The us

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-21 Thread scanning_it
Well here are the things that can be as a maximum in my settings file: http://paste.pocoo.org/show/lqqABv2lblNz1Bkh9XNs/ It would be nice if you could tell me if this is ok. Where should I use this one "use android:persistent="true"" ? Regards. On Apr 21, 5:39 pm, Chander Pechetty wrote: > A

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-21 Thread scanning_it
Thank you for the answer. Could you specifiy where I can find this bug in the issue list? Regards On Mar 6, 12:37 am, JP wrote: > This is a known issue. I worked around it by storing a copy of the > preferences in a sqlite database table, and populate the preferences > form the database in case