Do you guys have a workaround for the following problem?
In the onDestroy of a registration activity (when the user presses the back button) I call a new activity so the
Actually, I think I know what your problem is. I believe you are making this call:
public AksProductionNumbers()
in your activity constructor (as you state in your question) when you should be making it in the activity's onCreate
method. getIntent
will return null in the constructor.
Try to put this
Intent intent = getIntent(); // <-- returns null
Bundle extras = intent.getExtras();
on "onCreate()" method of new activity