B b4AMarkO Member Licensed User Longtime User Apr 30, 2013 #1 Can I save Data ... what is contained in 2 EditText so its not lost I have 2 EditText with small amount of data ...... During testing I noticed when I changed to another App then back The data that was typed was gone ...... Can I save that so this doesn't happen? I need the data to stay while app is being used though it would be nice to save in case of a shut down .... but I don't think I need a DB as the data isn't something I will be archiving
Can I save Data ... what is contained in 2 EditText so its not lost I have 2 EditText with small amount of data ...... During testing I noticed when I changed to another App then back The data that was typed was gone ...... Can I save that so this doesn't happen? I need the data to stay while app is being used though it would be nice to save in case of a shut down .... but I don't think I need a DB as the data isn't something I will be archiving
M Mahares Expert Licensed User Longtime User Apr 30, 2013 #2 I think the KeyDataStore class created by Erel is what you are looking for. There is an example. See below link: http://www.b4x.com/forum/basic4andr...fficient-key-value-data-store.html#post152277 Upvote 0
I think the KeyDataStore class created by Erel is what you are looking for. There is an example. See below link: http://www.b4x.com/forum/basic4andr...fficient-key-value-data-store.html#post152277
warwound Expert Licensed User Longtime User Apr 30, 2013 #3 Or look at the StateManager module. Martin. Upvote 0
B b4AMarkO Member Licensed User Longtime User Apr 30, 2013 #4 Mahares said: I think the KeyDataStore class created by Erel is what you are looking for. There is an example. See below link: http://www.b4x.com/forum/basic4andr...fficient-key-value-data-store.html#post152277 Click to expand... Yep that was what I needed ... Thank You Upvote 0
Mahares said: I think the KeyDataStore class created by Erel is what you are looking for. There is an example. See below link: http://www.b4x.com/forum/basic4andr...fficient-key-value-data-store.html#post152277 Click to expand... Yep that was what I needed ... Thank You