2012年10月30日 - Try this. int userScore1 = peepsScores.getInt("userScore1",0);. When you use getInt then you have to return integer value if your value is not set in ...
stackoverflow.com