Thanks for your help Sardar.

 

The problem with the intent leak of my broadcastreceiver has gone. I have an 
Activity that holds a logout button in my app which makes intent to 
StartActivity (which is the launcher Activity as well):

 

Intent i = new Intent(parent.getContext(), StartActivity.class);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
i.putExtra("EXIT", true);
//i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

 

I think I has something to do with the flags I have put because now I played a 
bit with it (commented out  FLAG_ACTIVITY_NEW_TASK and now it seems to be ok

 

Marcel

 

From: android-developers@googlegroups.com 
[mailto:android-developers@googlegroups.com] On Behalf Of sardar khan
Sent: woensdag 10 februari 2016 12:05
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Help wanted for Android app development

 

yes its due to the images i will be solved if you reduce your image size 

 

On Wed, Feb 10, 2016 at 4:00 PM, MediaQuest | N.M. Molenaar <i...@mediaquest.nl 
<mailto:i...@mediaquest.nl> > wrote:

Hi Sardar,

 

The problem is solved now, thanks for your help!

 

I do not unregister it by the way because it should stay active through all 
livecycles of my app.

 

I still have problems with outOfMemory errors on an old Android phone but I 
think it is due to my images 

 

Marcel

 

From: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com>  
[mailto:android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> ] On Behalf Of sardar khan
Sent: woensdag 10 februari 2016 11:42


To: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> 
Subject: Re: [android-developers] Help wanted for Android app development

 

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

 

On Wed, Feb 10, 2016 at 2:49 PM, sardar khan <sardar.khan...@gmail.com 
<mailto:sardar.khan...@gmail.com> > wrote:

this will tell you how to unregister Recevier Android

 

On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <sardar.khan...@gmail.com 
<mailto:sardar.khan...@gmail.com> > 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 <i...@mediaquest.nl 
<mailto:i...@mediaquest.nl> > 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: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com>  
[mailto:android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> ] On Behalf Of sardar khan
Sent: woensdag 10 februari 2016 06:19
To: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> 
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 <i...@mediaquest.nl 
<mailto:i...@mediaquest.nl> > 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: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com>  
[mailto:android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> ] On Behalf Of Damien Cooke
Sent: dinsdag 9 februari 2016 21:59
To: android-developers@googlegroups.com 
<mailto:android-developers@googlegroups.com> 
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 <i...@mediaquest.nl 
<mailto:i...@mediaquest.nl> > 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 android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/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 
android-developers+unsubscr...@googlegroups.com 
<mailto: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/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 android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/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 
android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/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 android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/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 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 
android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/CABHzXAR%2Bq%3DbMEPJndsAvdqN81Ktp0jM%2BnL%3Dg%2BjGuALEssZRUcA%40mail.gmail.com
 
<https://groups.google.com/d/msgid/android-developers/CABHzXAR%2Bq%3DbMEPJndsAvdqN81Ktp0jM%2BnL%3Dg%2BjGuALEssZRUcA%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 android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/004401d163f2%2430670b70%2491352250%24%40mediaquest.nl
 
<https://groups.google.com/d/msgid/android-developers/004401d163f2%2430670b70%2491352250%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 
android-developers+unsubscr...@googlegroups.com 
<mailto:android-developers+unsubscr...@googlegroups.com> .
To post to this group, send email to android-developers@googlegroups.com 
<mailto: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/CABHzXASZmbNyGexkLXpCXVEO75N2oydu6jayw8oH-m1s3Hiyrw%40mail.gmail.com
 
<https://groups.google.com/d/msgid/android-developers/CABHzXASZmbNyGexkLXpCXVEO75N2oydu6jayw8oH-m1s3Hiyrw%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 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/004d01d163f4%24be90b660%243bb22320%24%40mediaquest.nl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to