Finishing an activity / Intent?

That's how it is supposed to work. You need to override onActivityResult method of your main activity to get the stringPath from the intent.

Ok. You seem to be missing this line inside your onActivityResult definition. Super.

OnActivityResult(requestCode, resultCode, data).

I want it to return to the previous activity, but it seems to restart the activity rather than just go back to it because all of my interface gets reset. – Jon Aug 28 at 15:10.

YourSecondActivity.this.finish(); That tells the system to finish the running acivity.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions