Hello there!
I have an app that has activity a and activity b.
The app has a server that puts push notifications every now and then.
If I click in the notification, I want to show activity b.
But activity B uses a global variable initialized in activity a.
Ok, now:
I start the application from activity a.
I receive a notification.
I click in the notificaton and it shows activity b. And...
Error. It says that the global variable initializated in activity a isn't initializated.
It's like the notification resets the app. Could it be that what's happening here?
Thanks for your answers and your time.
I have an app that has activity a and activity b.
The app has a server that puts push notifications every now and then.
If I click in the notification, I want to show activity b.
But activity B uses a global variable initialized in activity a.
Ok, now:
I start the application from activity a.
I receive a notification.
I click in the notificaton and it shows activity b. And...
Error. It says that the global variable initializated in activity a isn't initializated.
It's like the notification resets the app. Could it be that what's happening here?
Thanks for your answers and your time.