Monthly Archives: March 2014

startActivityForResult

A. To start another activity and do something when it’s finished: Intent myIntent = new Intent(this, GameActivity.class); startActivityForResult(myIntent, 1); Then you also need to add: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { //your code here to do … Continue reading

Posted in Android | Leave a comment