Closed GoogleCodeExporter closed 9 years ago
Just now, it was not registering the SIP connection. But when I tapped the
Csipsimple icon it did show me the quick settings screen. All settings lost
again. It seems to keep getting back to the fact that it does this when it
looses SIM network coverage, which is low at where I am, and sometimes is lost.
Original comment by pe...@virtuami.com
on 23 May 2011 at 1:09
Just wiped all data, just to check. After configuring csipsimple I checked if
it worked, all was fine. Then I rebooted the phone. Again csipsimple registered
after reboot, and the quick settings showed after starting the app. After
looking at the account settings I noticed the sip supplier had also changed..
Although it did register (but maybe that's a feature of betamax.. I use
intervoip, but the config was set to 12 voip. So still just a problem where
settings are not stored it seems.
Original comment by pe...@virtuami.com
on 23 May 2011 at 9:13
Mmm, strange.
Is the app installed on the sdcard?
It sounds like settings are lost somewhere but that's weird cause all of that
relies on the standard android settings system (which is provided to all apps
and should be stable).
Also quick other questions to try to eliminate basic possible root of problems:
* Is there another sip application installed on the phone (mainly, is there a fork of csipsimple installed on the phone -- list of known forks : http://code.google.com/p/csipsimple/wiki/BrandedVersionsOfCSipSimple?wl=en )
* Could be interesting to check the status of the phone storage (if it's full maybe android drop some app cache)
* Is the phone rooted and if so is there special apps that aim to backup/restore other apps settings. Since CSipSimple announce to not allow its backup/restore from other app it should be done but...
I'll do an extra check on the betamax wizard, cause sounds there is a problem
in it regarding your last comment. (I think this problem is not linked to other
things you are experimenting, and is probably due to a bug in this wizard)
Original comment by r3gis...@gmail.com
on 23 May 2011 at 9:28
Just for info, problem with betamax wizard was indeed there :).
I don't know why other users didn't cry about that ... but well, I did a fix
that will be built tonight as revision 880 (or upper).
However, still open issue is... why it loose other settings that should be
retained by android settings system. (accounts settings are in fact store in a
local database and entirely managed by csipsimple).
Original comment by r3gis...@gmail.com
on 23 May 2011 at 9:37
I have another sgs phone available this friday that is not rooted (mine is)
all I have for backup app is titanium backup root. Further more, memory is
plentiful but in apps management it says that the cache memory used by
csipsimple is not used. I just use the latest nightly, no forks, as far as I am
aware ;-).
saw your comments on betamax registration, good find.
I could move the app to the sd card if you think that could make a difference.
Aa will try anyway.
Original comment by pe...@virtuami.com
on 23 May 2011 at 9:45
I think the better place is on the internal memory :). Some other users
experiment problems when on sdcard.
As for the memory used by csipsimple, that's weird, it should contains data
stored by csipsimple for settings.
Maybe we are in a limit case where android store settings in some temporary
memory that it reset automatically. I never really tried this kind of case,
maybe there is something I should do to ensure android OS cry about the fact it
can't save settings. I don't really know how android API behaves in this kind
of situation. I'll do more searches on my side. If you get some results with
the other phone do not hesitate to let me know.
Original comment by r3gis...@gmail.com
on 23 May 2011 at 9:54
Ok. Just to be clear, user settings shows days stored, just no CACHE data. That
shows as not being used.
Original comment by pe...@virtuami.com
on 23 May 2011 at 9:58
New phone (for gf)with Froyo 2.2.1 (Stock) works just fine.
My Froyo.Doc_V4.0 (XXJPU) version seems to keep having the issues mentioned in
the topic start. Also the change you made to the BetaMax registration does not
work on my phone.
All else works fine on the phone, and I do not have any issues with other apps
forgetting user settings. Odd.
Did you find anything, and/or are you still interested in pursuing this issue?
I could upgrade my Rom, just don't really feel like it
Original comment by pe...@virtuami.com
on 1 Jun 2011 at 2:01
Found the cause:
Tech. explanation:
Samsung tried to fix their lag/freezes SGS issue by moving application settings
from slow flash (/data/data) to internal NAND memory (/dbdata/databases/),
unfortunately they "forgot" to add code to clean up these settings when
application is uninstalled.
So, if application is uninstalled, old preference files are kept. The next time
application gets installed, it won't be able to read/save its settings due to
the old preference files kept by the system, but still owned by old app UserID.
Each application installation generates new app UserID, thus old preference
files can't be read by app with the new UserID.
This bug affects any application which uses preference files.
Uninstall app A, install some other app B, install app A again - you get no
settings saved for app A anymore.
More resources on this problem:
http://code.google.com/p/android/issues/detail?id=14359
http://code.google.com/p/android-agenda ... tail?id=90
https://groups.google.com/forum/#!topic ... discussion
http://forum.xda-developers.com/showthread.php?t=998038
http://forum.xda-developers.com/showthr ... ?t=1009047
Original comment by pe...@virtuami.com
on 9 Jun 2011 at 6:48
Ok, thanks a lot for sharing the info :).
It will probably be helpful if somebody else have the same problem.
Original comment by r3gis...@gmail.com
on 9 Jun 2011 at 8:01
Original issue reported on code.google.com by
pe...@virtuami.com
on 23 May 2011 at 10:41