B4A Question how to set power manager wake lock with the following rules - Addo    Mar 17, 2021 in java, I can set the power manager to keep a socket connection alive like following
PowerManager.WakeLock newWakeLock = ((PowerManager) getSystemService("power")).newWakeLock(1, "Socket:WakeLock");
also with wifi
WifiManager.WifiLock createWifiLock = ((WifiManager) getApplicationContext().getSystemService("wifi")).createWifiLock(3, "Socket:WifiLock"... Other B4A v8.0 has been released! - Erel    Mar 20, 2018   (59 reactions) the background should be more reliable due to changes in the way services are started. A wake lock is automatically held when a receiver receives an intent. The wake lock is released when the service starts... service, will add the WAKE_LOCK permission. This is a non-dangerous permission. As mentioned above a wake lock is held automatically when a service is started from the background and until Service_Start is called. You can remove this permission with: RemovePermission(android.permission.WAKE_LOCK... B4A Question jRDC2 error : WakeLock already held - incendio    Feb 7, 2020 't start.
On log windows, there are an error messages
WakeLock already held
running waiting... B4A Question Error at startup : PowerManager$WakeLock.release on a null object reference - SDFP Studio (first post)    Jan 14, 2024 I just made the modification.
thanks again... B4A Question Wake lock permission - LucaMs    Dec 26, 2017 In my app I use only the phone wake lock permission.
So I think that I can set the SDK target to 23; is this correct?... B4A Question PROXIMITY_SCREEN_OFF_WAKE_LOCK - Marcos Alves    Mar 22, 2018 Hi all,
how can I enable/disable PROXIMITY_SCREEN_OFF_WAKE_LOCK ? (ref: https://developer.android.com/reference/android/os/PowerManager.html#PROXIMITY_SCREEN_OFF_WAKE_LOCK)... B4A Question [SOLVED] PhoneWakeState : changing WakeLocks - lemonisdead    Jan 27, 2016 Hello,
There is something I can't understand and can't manage to prototype : if I have previously engaged a PartialLock and need to activate the screen I do use a KeepAlive(True).
But, if after that I do ReleaseKeepAlive, do I need to reengage a PartialLock ?
Taking a look at the table about PowerManager, I can see that the flags put the CPU on. So, I wonder if that flag won't... B4A Question App isnt responding WakeLock acquired / WakeLock released - Erel (first post)    May 6, 2020   (1 reaction) First step is to switch to a real device. The emulator is slow and unreliable.... B4A Question Crash on void android.os.PowerManager$WakeLock.release() - FrankBerra (first post)    Dec 10, 2020 Thank you for the suggestions! I will try to use Wait For.
Anyway i feel confused now: what is the ... B4A Question WAKE_LOCK permission - bluedude    Dec 4, 2012 Hi,
When I uploaded an APK i just discovered it contains the WAKE_LOCK permission. I'm not using this functionality, which library could cause this to be added?
Cheers.... Page: 1   2   3   4   5   6   7   |