<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>29 Aug 2016 16:58:00 Z</lastBuildDate><pubDate>29 Aug 2016 16:14:00 Z</pubDate><description>Hello,&#13;
&#13;
I a mobile app (APK) that I have developed.&#13;
&#13;
I am using a back ground thread that will fetch data from remote server using web services and save the data locally.&#13;
&#13;
But this process of fetching of data gets suspended if the phone screen is locked.&#13;
&#13;
Why this happens?&#13;
&#13;
How to prevent the thread from getting suspended even when the phone screen is shut down or the phone is locked?&#13;
&#13;
TIA&#13;
&#13;
Yogi Yang</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp</link><title>[WM] - App (APK) gets suspended...</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59330/read.awp</comments><pubDate>29 Aug 2016 16:58:00 Z</pubDate><description>Hi. The normal android threads are paused when the app go to second plane.&#13;
&#13;
Do you have tried using a Persistent Thread? It wi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59330/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59330/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp">[WM] - App (APK) gets suspended...</source><title>Re: [WM] - App (APK) gets suspended...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59325/read.awp</comments><pubDate>29 Aug 2016 16:53:00 Z</pubDate><description>Hi Yogi,&#13;
&#13;
I forgot to mention that in WM you can add some java code directly. So you could call the required functions quite e…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59325/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59325/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp">[WM] - App (APK) gets suspended...</source><title>Re: [WM] - App (APK) gets suspended...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59329/read.awp</comments><pubDate>29 Aug 2016 16:49:00 Z</pubDate><description>Hello Yogi,&#13;
&#13;
I never needed that in the past, but... Check the WiFiActivate() function in WM. If you se this function it will …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59329/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59329/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp">[WM] - App (APK) gets suspended...</source><title>Re: [WM] - App (APK) gets suspended...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59328/read.awp</comments><pubDate>29 Aug 2016 16:37:00 Z</pubDate><description>Hello Alex,&#13;
&#13;
Thanks for the link. But how to implement this in WM?&#13;
&#13;
TIA&#13;
&#13;
Yogi Yang</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59328/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59328/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp">[WM] - App (APK) gets suspended...</source><title>Re: [WM] - App (APK) gets suspended...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59324/read.awp</comments><pubDate>29 Aug 2016 16:17:00 Z</pubDate><description>Hi Yogi,&#13;
&#13;
This is expected behavior from Android. You need special permissions to do that.&#13;
&#13;
Look at this: http://stackoverfl…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59324/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended-59324/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59319-app-apk-gets-suspended/read.awp">[WM] - App (APK) gets suspended...</source><title>Re: [WM] - App (APK) gets suspended...</title></item></channel></rss>
