Whenever I launch my App, even from a new emulator with now files created it still executes the bit of code, that says if the file has been created do this intent, I don't understand, it shouldn't, I have no way of testing, because I have an iPhone not an Android phone, in theory the code should not be called, only on the second time loading the app.   Thanks!   Code: Public class LogIn extends Activity implements OnClickListener {     Button send;     EditText user;     EditText pass;     CheckBox staySignedIn;     FileOutputStream Fos;     String a;     String b;     String string = a;     String string2 = b;     String DANNYISREALLLLYYYGAAYYYYYIMNOTBS;     String FILENAME = "userandpass";     @Override     protected void onCreate(Bundle savedInstanceState) {         // TODO Auto-generated method stub         super.onCreate(savedInstanceState);         setContentView(R.layout.login);         send = (Button) findViewById(R.id.bLogIn);         user = (EditText) find...