Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: SaveState parameters



Permlink Replies: 1 - Last Post: Mar 20, 2018 10:08 AM Last Post By: Shlomo Abuisak
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
SaveState parameters
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 20, 2018 12:42 AM
I have a program using SaveState (Android).
On the first version i had 6 parameters.
saving 6 parameter onsavestate.
On form show
if SaveState.Stream.Size > 0 then
begin
..... Read 6 parameters
end
else
begin
.... initialize
end
However now i need to add more parameters
here i will have problems.
if SaveState.Stream.Size > 0 then
begin
read 8 or more parameters

My only solution is to DELETE the program and reinstall it.
BUT I DO NOT WANT TO ASK the users to uninstall
SO WHAT IS THE SOLUTION FROM ONE VERSION TO the other
when more parameters are added ?
Shlomo Abuisak

Posts: 100
Registered: 9/18/10
Re: SaveState parameters
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 20, 2018 10:08 AM   in response to: Shlomo Abuisak in response to: Shlomo Abuisak
Fixed by including last amount

shlomo abuisak wrote:
I have a program using SaveState (Android).
On the first version i had 6 parameters.
saving 6 parameter onsavestate.
On form show
if SaveState.Stream.Size > 0 then
begin
..... Read 6 parameters
end
else
begin
.... initialize
end
However now i need to add more parameters
here i will have problems.
if SaveState.Stream.Size > 0 then
begin
read 8 or more parameters

My only solution is to DELETE the program and reinstall it.
BUT I DO NOT WANT TO ASK the users to uninstall
SO WHAT IS THE SOLUTION FROM ONE VERSION TO the other
when more parameters are added ?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02