Android Question Error on line 10 keyvaluestore

alhaim

Member
Licensed User
Longtime User
Hello,

I have an app that uses keyvaluestore. It works perfectly on my Samsung Galaxy Tab, but when the program using keyvaluestore is open in my IDEOS android phone it crashes-doesn't even open. The line that causes the error is "sql1.Initialize(Dir, FileName, True)". Is there a fix for this?
 

alhaim

Member
Licensed User
Longtime User
Process com.clockworx.PreferredContact (pid 746) has died.
WIN DEATH: Window{43f58e00 com.clockworx.PreferredContact/com.clockworx.PreferredContact.main paused=true}
WIN DEATH: Window{43f598d0 com.clockworx.PreferredContact/com.clockworx.PreferredContact.main paused=true}
Displayed activity com.clockworx.PreferredContact/.main: 11850 ms (total 78994 ms)

OK, that's part of the unfiltered log. It just says it died. But Why?
 
Upvote 0

alhaim

Member
Licensed User
Longtime User
OK nevermind, what happened was that keyvaluestore saves to DirDefaultExternal, which the IDEOS phone does not have a memory card. So I changed the initialization to DirInternal and Now it works!!!
 
Upvote 0
Top