なぜこの Integer.parseInt が NullpointerException という例外を作るのか理解できません..
try
{
int numberOfPictures = Integer.parseInt(editTextNumberOfGames
.getText().toString());
Toast toast =Toast.makeText(getBaseContext(), "ratt", Toast.LENGTH_SHORT);
toast.show();
} catch (Exception e)
{
Toast toast =Toast.makeText(getBaseContext(), "fel", Toast.LENGTH_SHORT);
toast.show();
}