Hi All.
I getting the error killing previous instance (main), and I don't have any idea about how to solve it.
My scenario is below:
I have my app implemented in the Main class and I have a second class called NewOrder, that is used to receive and process the notifications.
My App receives many notifications directly from GCM implementations.
When the message arrived, I create a new instance of NewOrder using, StartActivity(NewOrder).
Everythings works fine until here. But when I decide to do another tasks in the mobile phone, call somebody and even turn off the device, when I got back to the application, when it starts I receive a white screen, like if the application has lost the flow and in the log I can see the message Killing previous instance (main).
I have an option to pull the back button also, and when I do that, I came back to the correct NewOrder screen, and when I finalize the process, the application just closes.
Maybe an alternative, is put all the code of NewOrder, in the Main class, but I believe, that I can correct something in my code that will correct the behavior of my APP.
Regards.
I getting the error killing previous instance (main), and I don't have any idea about how to solve it.
My scenario is below:
I have my app implemented in the Main class and I have a second class called NewOrder, that is used to receive and process the notifications.
My App receives many notifications directly from GCM implementations.
When the message arrived, I create a new instance of NewOrder using, StartActivity(NewOrder).
Everythings works fine until here. But when I decide to do another tasks in the mobile phone, call somebody and even turn off the device, when I got back to the application, when it starts I receive a white screen, like if the application has lost the flow and in the log I can see the message Killing previous instance (main).
I have an option to pull the back button also, and when I do that, I came back to the correct NewOrder screen, and when I finalize the process, the application just closes.
Maybe an alternative, is put all the code of NewOrder, in the Main class, but I believe, that I can correct something in my code that will correct the behavior of my APP.
Regards.