Basically I am making a tally counter app which uses int++ to increase the number. I have managed to save whatever number the user has counted up t
tally
int++
You need to see the description of getSharedPreferences. The second argument is Mode. I think you'd better use 0.