On Fri, Jan 15, 2016 at 4:29 AM, Florian Bock <florian.bock.mob...@gmail.com
> wrote:

> - Actual behavior: The typical "the App has crashed" message appears. When
> I close it, my app is resumed at the point where it was minimized. If I
> debug, I recognize that a second instance of my app is created where the
> required variables are not set and therefore it crashes. Nevertheless, my
> old instance is still present and resumed afterwards... How can I fix this?
> What is the correct code to create a notification in a Broadcast Receiver
> (I am still confused with the context/intent/pending intent things)?


Please post some code illustrating how you're launching your Activity and
setting "required variables" in both cases.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgi1R-L98Ueu%2B%2BPW4S1QXsVNBxbyeW%2BJ-8Kg-DvWEBOokg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to