Hello, so i've been trying to get my application to run an Activity via an intent and it works fine, when i then assign the finish();
method, it returns to the activity that called it. The only thing i don't understand is that i'm not sure if the callee Activity is put onPause while the called Activity is in-front. I've tried to setup a toast message in the onPause()
method of the callee Acitivty but it won't appear.
I first tried to call the second Activity with startActivity(intentname)
and then a finish()
method on the first Acitivty, i then tried to use the startActivityForResult()
(even though i don't really need to recieve any information from the called Activity) method and closed it with onActivityResult()
.
I can't find any information about the side-effects that these Activity methods has on a Activity that's calling another. So i'm wondering if anybody could help me out ?
//Thx in advance