I am calling an Activity
using an Intent
, and I need to pass variables to that Activity
when is initialized. On iOS you can use a custom initialization using the initWithNibName
method. How can a similar thing be achieved on Android?
Here is my code that creates an Intent
...
Intent myIntent = new Intent(webPush.this, webPushActivity.class);
startActivity(myIntent);