JakeBullet70 Well-Known Member Licensed User Longtime User Jul 3, 2013 #1 I have been testing the HTTP server service sample below http://www.b4x.com/forum/basic4android-getting-started-tutorials/25984-embed-http-server-your-android-application.html I need the web server to continue working even when the device is asleep. It works fine on my phone (Pantech P9070 Android V4.04) It is not working on my tablet. Its just a WM8850-MID standard generic 7in tablet running Android 4.03 Does anyone know a reason why it would work on the phone and not the tablet?
I have been testing the HTTP server service sample below http://www.b4x.com/forum/basic4android-getting-started-tutorials/25984-embed-http-server-your-android-application.html I need the web server to continue working even when the device is asleep. It works fine on my phone (Pantech P9070 Android V4.04) It is not working on my tablet. Its just a WM8850-MID standard generic 7in tablet running Android 4.03 Does anyone know a reason why it would work on the phone and not the tablet?
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2013 #2 1. Call Service.StartForeground 2. Acquire a partial lock with PhoneWakeState. Upvote 0