This is my code:
boolean startGameBoolean;
Bundle extras = getIntent().getExtras();
extras.getInt(\"startGameBoolean\");
if (startGameBoolean = true){
counte
I had this same problem developing for Android.
The reason you're seeing those warnings saying the "variable is never read" is because you're assigning it RIGHT AFTER creating it. Try creating the variable at the start of the class, then assigning it in an OnCreate() or other appropriate method that gets called when the class is first created.