android-wake-lock Questions
1
I am trying to understand the use of partial wake locks in android. I have a wakeful intent service which starts another intent service.
If I don't acquire a wakelock for the called intent service...
Payne asked 27/6, 2015 at 6:54
1
Solved
My requirement is: after a GCM message arrives, the device should wake up to display a high-priority notification. The device should turn the screen on.
Currently I'm using WakeLock to achieve th...
Marchland asked 21/5, 2015 at 9:15
3
Solved
I would like my app to be able to turn the screen on and display my app. Let's say I'm setting an alarm and every hour I want my app to be displayed for 2 mins before the device naturally sleeps.
...
Charlatanry asked 14/5, 2015 at 20:9
1
Solved
I am writing a long-running background service that collects and analyzes device data. To do this I start a service, the service spawns a thread and the thread does the data collection / analysis.
...
Draggle asked 4/5, 2015 at 5:44
1
What happens to connection with BLE device connection when Android goes in sleep mode? So if application establishes a connection with BLE device and then Android goes sleep, will the connection be...
Airsick asked 18/3, 2015 at 9:49
4
Solved
I have problem and after some search I have not found any positive solutions.
After research I have idea that there is not implementation for my problem but this question may be is my last chance. ...
Dramatic asked 5/7, 2013 at 7:21
2
I want that when my application is running the power button (which upon pressing locks the screen & screen goes BLACK), should be disabled. So that the user cannot lock the screen.
I have not...
Tanika asked 30/5, 2012 at 13:31
2
Solved
I want to build an Android app that needs to be launched remotely over 3G (after getting a push notification over a socket).
I did some research and it seems it becomes very complicated as soon a...
Risotto asked 18/2, 2014 at 22:22
1
Solved
My audio streaming app is working correctly with only WifiLock.
But some devices report that when they turn off the screen, connection is cut and audio streaming is topped. (They say this does not...
Brahmana asked 18/11, 2013 at 9:32
2
Solved
I've an app that has a background service running every minute. I want the service to wake the device up if it's asleep. I am using a PowerManager but the device doesn't wake up. Any ideas why? Tha...
Shirley asked 4/7, 2013 at 13:2
1
Solved
I have an activity with some Handlers that are being executed at intervals no more than 5 minutes. The activity is launched from a BroadcastReceiver and may be launched with the screen off waiting ...
Montevideo asked 26/6, 2013 at 15:42
3
Solved
I making the application where an activity launch is scheduled by AlarmManager. I would like to appear even if the screen is turned off and device is locked.
To achive this a set the Window flags
...
Whodunit asked 2/5, 2013 at 17:59
2
Solved
I have question about wakelock. In cases shown below, does android OS release wakelock (PARTIAL_WAKE_LOCK if you need to specify) to prevent wakelock was left acquired and wasting battery until tur...
Unhouse asked 15/1, 2011 at 3:51
1
Solved
Application description:
The application is intended as a safety program for a specific client (not to be deployed publicly). When the application has not detected movement for a certain period of ...
Urine asked 7/2, 2013 at 0:37
2
Solved
Is there any problem with an application which acquires a partial wake lock at 10 second intervals. My use-case for this is being able to continually monitor the user's movement via the device acce...
Walsh asked 13/4, 2011 at 17:54
2
Solved
I am implementing a login system for an Android application utilizing the built-in accounts system (with the AccountManager APIs).
All is well and good on Android 2.2+, but on Android 2.1 not incl...
Empirical asked 18/3, 2011 at 22:18
1
Solved
I have a media player that stops playing whenever the user closes the app, either by pressing the home button, using the back button or simply opening another app.
To get this behavior, I added an...
Lara asked 25/1, 2012 at 12:11
1
I had done an app that transform the phone into a webcam and use the phone connection to send image to internet web space.
I'm using ad activity that set an Alarm Manager to execute a Service eve...
Monarchist asked 16/12, 2011 at 8:56
1
Solved
Android's AlarmManager Javadoc states
When an alarm goes off, the Intent that had been registered for it is broadcast by the system,
There is an AlarmService (package com.example.android.apis.ap...
Coltoncoltsfoot asked 16/11, 2011 at 11:58
3
Solved
I want to take pictures from the Android device's camera periodically over a matter of hours, to create a time lapse video effect.
I set an Alarm Manager with an AlarmManager.RTC_WAKEUP flag set t...
Hedrick asked 7/3, 2011 at 2:59
2
Solved
Hello I am trying to use a service to control a wakelock so I can permanently leave the screen on when my application is running. I create the wakelock and activate it in onCreate() and release it ...
Kresic asked 14/6, 2009 at 9:23
1
Solved
Hello I am trying to implement a wake lock for an application.
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL...
Kataway asked 14/6, 2009 at 16:20
© 2022 - 2024 — McMap. All rights reserved.