<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Android SDK not responding after sitting in the background for an extended period of time in Adobe Experience Cloud Mobile Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208861#M83</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;How are you currently implementing the start/stop lifecycle calls in the onResume/onPause methods (for each activity)?&lt;/P&gt;&lt;P&gt;If you are not, the SDK will be unable to queue or send hits.&lt;BR /&gt;If you are, it is possible there are errors there and we may need to review your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What device models and Android version are the devices you are having issues with?&lt;/P&gt;&lt;P&gt;Could you enable debug logging before the next time you move the app to the background on one of the affected devices?&lt;BR /&gt;Could take a look at the log to identify the possible cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Carey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 02:26:17 GMT</pubDate>
    <dc:creator>AllDayDev</dc:creator>
    <dc:date>2015-10-16T02:26:17Z</dc:date>
    <item>
      <title>Android SDK not responding after sitting in the background for an extended period of time</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208860#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone seen a problem with the Android mobile app SDK not responding after the app has been sitting in the background?&lt;/P&gt;&lt;P&gt;I'm having a problem with the SDK in our Android app. It stops reporting data to Sitecatalyst after the app has been in the background for an extended period of time. It is communicating fine in the evening, but when I pick up the device in the morning, it isn't communicating to Sitecatalyst. It works on most devices, but I have found a handful (haven't identified the link yet) that this happens to on a daily basis. When I clear the app from memory and relaunch it, everything reports correctly.&lt;/P&gt;&lt;P&gt;I can see through my Charles proxy that there are communications with our servers and other 3rd party integrations, but not calls to Adobe. After I kill the app and relaunch it, I can see the calls flowing as expected.&lt;/P&gt;&lt;P&gt;Anyone else have experience with the SDK for mobile apps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:26:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208860#M82</guid>
      <dc:creator>mikebibbey</dc:creator>
      <dc:date>2015-10-16T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK not responding after sitting in the background for an extended period of time</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208861#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;How are you currently implementing the start/stop lifecycle calls in the onResume/onPause methods (for each activity)?&lt;/P&gt;&lt;P&gt;If you are not, the SDK will be unable to queue or send hits.&lt;BR /&gt;If you are, it is possible there are errors there and we may need to review your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What device models and Android version are the devices you are having issues with?&lt;/P&gt;&lt;P&gt;Could you enable debug logging before the next time you move the app to the background on one of the affected devices?&lt;BR /&gt;Could take a look at the log to identify the possible cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Carey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:26:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208861#M83</guid>
      <dc:creator>AllDayDev</dc:creator>
      <dc:date>2015-10-16T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK not responding after sitting in the background for an extended period of time</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208862#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have reproduced the issue on several devices - Samsung GS3 &amp;amp; GS4, Sony Xperia - and multiple versions of Android - 4.3, 4.4.2, 4.2.&lt;/P&gt;&lt;P&gt;The frustrating part is that it didn't happen everytime on all devices. I found one GS3 running 4.3 that it occurred every morning. It also takes over 7-hours in the background to produce the problem. It basically occured every morning, but we couldn't replicate it during other intervals during the day.&lt;/P&gt;&lt;P&gt;We just recently moved the startactivity to be after the onResume. Previously we had it after the onStart. That appears to have fixed the issue, but I'm not certain yet. I would love it if you could help take a look at the code or the logs to troubleshoot. Just let me know what I need to send you.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:26:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208862#M84</guid>
      <dc:creator>mikebibbey</dc:creator>
      <dc:date>2015-10-16T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK not responding after sitting in the background for an extended period of time</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208863#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;Yes, moving the call to onResume is the correct way to fix the issue. &lt;img class="lia-deferred-image lia-image-emoji" src="https://experienceleaguecommunities.adobe.com/html/@31B4D6D7B3510763F3CBB2AAB7997408/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;For anything that extends Activity, you should be using the onResume() to call&amp;nbsp;Config.collectLifecycleData() and onPause() to call&amp;nbsp;Config.pauseCollectingLifecycleData().&lt;/P&gt;&lt;P&gt;You can always find more documentation on this here, specifically under&amp;nbsp;the 'Lifecycle Metrics' header.&lt;/P&gt;&lt;P&gt;&lt;A href="http://microsite.omniture.com/t2/help/en_US/mobile/android/#Analytics" target="_blank"&gt;http://microsite.omniture.com/t2/help/en_US/mobile/android/#Analytics&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 20px; white-space: nowrap;"&gt;&lt;CODE class="plain java" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; color: rgb(0, 0, 0) !important;"&gt;Jared Butterfield&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="number2 alt1 line index1" style="line-height: 20px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: nowrap !important;"&gt;&lt;EM&gt;&lt;CODE class="plain java" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; color: rgb(0, 0, 0) !important;"&gt;Mobile Engineer&lt;/CODE&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="number3 index2 alt2 line" style="line-height: 20px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em 0px 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; white-space: nowrap !important;"&gt;&lt;CODE class="plain java" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: inherit !important; color: rgb(0, 0, 0) !important;"&gt;&lt;A href="http://www.adobe.com/solutions/digital-marketing.html" target="_blank"&gt;Adobe Marketing Cloud&lt;/A&gt;&lt;/CODE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:26:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-mobile/android-sdk-not-responding-after-sitting-in-the-background-for/m-p/208863#M85</guid>
      <dc:creator>jared_butterfie</dc:creator>
      <dc:date>2015-10-16T02:26:17Z</dc:date>
    </item>
  </channel>
</rss>

