How are you creating your broadcast receiver? Is it a separate class and defined in the manifest? Or is it created and registered in an activity?
On Wed, Mar 2, 2016 at 2:49 AM Narendran Anil <[email protected]> wrote: > Hello, > > I am working on an app that will show a pop up on call end. It works fine > with a broadcast receiver but if the user force closes the app, the > broadcast receiver stop s working (as it should) and herein lies my > problem. My app's main functionality is to give the user a screen after the > call ends so he can select an action he requires. This pop up appears only > for certain numbers that he chooses so it is not a hassle in any way. > > I know that TrueCaller pop up will appear on receiving an incoming call > even if the app is forced stopped. How do they achieve this? Do they use a > special Broadcast Receiver? > Can I make my app work by using some other method? > > PS - I am here because of this article ( > http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/) > led me here. > > I hope you guys help me out. Thank you. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/14a64231-8141-48cf-a1c0-8f521eec305c%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/14a64231-8141-48cf-a1c0-8f521eec305c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAOq06s_FyTM%3D%2B%3DHMvEARoFoFoOKcKdnWa6CmhF_x_dzdjP6EEw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

