First you avoid the force close by doing the following.

Register the broadcast on  Resume

Unregister the same onPause

and seconldy, let's say, if you get a force close, your app will try to
register in the onResume method and that will solve your problem.



On Sat, Nov 16, 2013 at 4:27 PM, Sathya Sri <sathya.sr...@gmail.com> wrote:

> Hi All,
>
> I have created my own dial pad in my application. And i added intent
> filters to that dial pad in manifest file as like below.
>
> <intent-filter > <action
> android:name="android.intent.action.CALL_PRIVILEGED" /> <action
> android:name="android.intent.action.CALL" /> <category
> android:name="android.intent.category.DEFAULT" /> <data
> android:scheme="tel" /> </intent-filter>
> If the application force closed then for the first selected contact number
> my dial pad is not working for the second time. any other contact number it
> is working fine.
> My question is if we force close any application, by any chance will the
> registered intent filters deregistered?
> Please let me know if any one have any idea on it.
> Thanks for your help in advance and appreciated.
>
> Thanks,
> sathish
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to