you should unregister the receiver in on stop or in on destroy method

On Wed, Feb 10, 2016 at 2:49 PM, sardar khan <[email protected]>
wrote:

> this will tell you how to unregister Recevier Android
>
> On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <[email protected]>
> wrote:
>
>>
>> http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
>> look at this
>>
>> On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
>> [email protected]> wrote:
>>
>>> Hi Sardar,
>>>
>>>
>>>
>>> I have this in my manifest.xml file:
>>>
>>>
>>>
>>> <*receiver **android**:name=**".MyReceiver"*>
>>>     <*intent-filter*>
>>>         <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
>>> */>
>>>     </*intent-filter*>
>>> </*receiver*>
>>>
>>>
>>>
>>> Where to unregister it and how?
>>>
>>>
>>>
>>> Marcel
>>>
>>>
>>>
>>>
>>>
>>> *From:* [email protected] [mailto:
>>> [email protected]] *On Behalf Of *sardar khan
>>> *Sent:* woensdag 10 februari 2016 06:19
>>> *To:* [email protected]
>>> *Subject:* Re: [android-developers] Help wanted for Android app
>>> development
>>>
>>>
>>>
>>> yes the first issue is due to the broadcast receiver to check the
>>> internet.you can use connectivityManager to check the internet state.or you
>>> can unregister the broadcast properly see the offical documentation about
>>> the broadcast receiver.
>>>
>>>
>>>
>>> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
>>> [email protected]> wrote:
>>>
>>> Damien,
>>>
>>>
>>>
>>> Thanks for your reply. I am in contact with 2 other men offering help so
>>> I do not know what to do now.
>>>
>>>
>>>
>>> Marcel
>>>
>>>
>>>
>>> *From:* [email protected] [mailto:
>>> [email protected]] *On Behalf Of *Damien Cooke
>>> *Sent:* dinsdag 9 februari 2016 21:59
>>> *To:* [email protected]
>>> *Subject:* Re: [android-developers] Help wanted for Android app
>>> development
>>>
>>>
>>>
>>> I can help you,
>>>
>>> Send me the code and a description of what it is doing and what you need
>>> it to do and lets see if I can fix it for you.
>>>
>>>
>>>
>>> Damien
>>>
>>> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I am working on the development of an Android-app. I ran into some
>>> strange errors. I really need an expert to help me to solve this.
>>>
>>>
>>>
>>> Does anyone know someone who can assist me. i would like to send the
>>> whole project and an experienced developer to solve my issues.
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> Marcel
>>>
>>> --
>>> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%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 a topic in the
>>> Google Groups "Android Developers" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/android-developers/t2ubR8P_ZS4/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/android-developers/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.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/000901d1637e%24691c0c50%243b5424f0%24%40mediaquest.nl
>>> <https://groups.google.com/d/msgid/android-developers/000901d1637e%24691c0c50%243b5424f0%24%40mediaquest.nl?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 a topic in the
>>> Google Groups "Android Developers" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/android-developers/t2ubR8P_ZS4/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/CABHzXATigZd6ZdZG2w-geA%3DSvE_iyHrC0mU9xZcGtt7jeYx83A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/android-developers/CABHzXATigZd6ZdZG2w-geA%3DSvE_iyHrC0mU9xZcGtt7jeYx83A%40mail.gmail.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/002001d163dd%2451924e00%24f4b6ea00%24%40mediaquest.nl
>>> <https://groups.google.com/d/msgid/android-developers/002001d163dd%2451924e00%24f4b6ea00%24%40mediaquest.nl?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/CABHzXAR%2Bq%3DbMEPJndsAvdqN81Ktp0jM%2BnL%3Dg%2BjGuALEssZRUcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to