Pass custom parameters to subactivity
<p>Is there any way to pass custom parameters from a activity to a sub-activity?</p>

<p>I tried to do it via a constructor by creating a object of the sub-activity in the main-activity and passing the desired parameters. But when i start the sub-activity via a Intent the program fails.</p>

<p>The parameter I'm trying to pass is the main-activity.</p>

<p>Thanks for all response!</p>
