OK I have been working on an app for a few weeks now. Basically what it is as a score keeper app for pool league. I have it saving all the pertinent info into variables right now. The app runs but when I shut it off I loose all the data.
I have looked into various ways of handling the information but cannot figure out which one to use.
My ultimate goal is to have the app update a file resident on the device every so many minutes so that if the app crashes they can pick up where they left off. then at the end of the night hit the submit button and transmit the data to me. I know it can be transmitted to a server like cloud kvs but i cannot afford a server at this time.
I would be OK with the app emailing me the file or even manually removing the file myself as the only devices this will be run on I have full control over and it will not be installed on any "Outside" devices.
OK so here is the basic gist of the app:
Two Players play each other. Based on their handicap they play x amount of games. The game count can be anywhere from one to ten games. Each game the following info has to be saved for later access by me so I can transfer it into a excel file to do the handicap calculations:
name of player one
name of player two
handicap of player one
handicap of player two
games needed for payer one
games needed for player two
makes for player one
makes for player two
misses for player one
misses for player two
defensives for player one
defensives for player two
made on break for player one
made on break for player two
left on table for player one
left on table for player two
dead balls for player one
dead balls for player two
winner of game
This data could be saved up to ten times in one usage before it gets submitted depending on the handicaps of the two players.
OK now my question. What is the safest and easiest way to go about implementing this idea???
As i stated before I cannot use servers unless i can build one that is completely free and reliable without the fear of losing data. I have looked at doing database files but not sure how to retrieve the data later. I have looked into saving it to text files but not sure how i would go about that either. About the best I have come up with so far is writing to excel file but I cant seem to get it to work and all the examples I have found seem to not work.
I don't need someone to do it for me but i do need ideas and tutorials or WORKING examples of those ideas. Any help would be appreciated. thanks in advance.
I have looked into various ways of handling the information but cannot figure out which one to use.
My ultimate goal is to have the app update a file resident on the device every so many minutes so that if the app crashes they can pick up where they left off. then at the end of the night hit the submit button and transmit the data to me. I know it can be transmitted to a server like cloud kvs but i cannot afford a server at this time.
I would be OK with the app emailing me the file or even manually removing the file myself as the only devices this will be run on I have full control over and it will not be installed on any "Outside" devices.
OK so here is the basic gist of the app:
Two Players play each other. Based on their handicap they play x amount of games. The game count can be anywhere from one to ten games. Each game the following info has to be saved for later access by me so I can transfer it into a excel file to do the handicap calculations:
name of player one
name of player two
handicap of player one
handicap of player two
games needed for payer one
games needed for player two
makes for player one
makes for player two
misses for player one
misses for player two
defensives for player one
defensives for player two
made on break for player one
made on break for player two
left on table for player one
left on table for player two
dead balls for player one
dead balls for player two
winner of game
This data could be saved up to ten times in one usage before it gets submitted depending on the handicaps of the two players.
OK now my question. What is the safest and easiest way to go about implementing this idea???
As i stated before I cannot use servers unless i can build one that is completely free and reliable without the fear of losing data. I have looked at doing database files but not sure how to retrieve the data later. I have looked into saving it to text files but not sure how i would go about that either. About the best I have come up with so far is writing to excel file but I cant seem to get it to work and all the examples I have found seem to not work.
I don't need someone to do it for me but i do need ideas and tutorials or WORKING examples of those ideas. Any help would be appreciated. thanks in advance.