I'm writing an app part of whose functionality is to record audio through the microphone. The recording seems to stop as soon as the screen times out and the phone enters what I think is sleep mode. I've noticed that some apps(Tokasiki's Voice Recorder, for one) don't seem to have this problem on this phone(Motorola Atrix) and continue to record audio long after the screen has faded to black. I've tried using a partial wake lock but it doesn't seem to maintain the recording. Should I use AudioRecord instead of MediaRecorder? Voice Recorder seems to get by without using AudioRecord.
Anyone have experience with this?
Thanks in advance,
Raj
Never mind. I got it. Was just setting up the partial wake lock incorrectly.
Related
Intermittently, when initiating a call, the screen goes blank/ black for 5-6 seconds, or longer, and does not wake up. During this time, the phone does not respond to any tactile or soft input, but ringing and other audio continues to emit from the earphone.
I do not have any sort of screen cover/ protection, or any other obtrusion to the proximity sensor.
This is extremely annoying, as sometimes, I would like to immediately hang up, or place the call on speaker, but cannot do either as no input registers.
Is this an isolated issue to me, or CM7 on the AT&T SGS2? I am not running any special apps or background services.
It 'feels' as if this is mostly caused by some sort of lag, as it does happen intermittently. i can't pin down a particular pattern during which this persists. Anyone else experience any similar symptoms?
sweetrobot said:
Intermittently, when initiating a call, the screen goes blank/ black for 5-6 seconds, or longer, and does not wake up. During this time, the phone does not respond to any tactile or soft input, but ringing and other audio continues to emit from the earphone.
I do not have any sort of screen cover/ protection, or any other obtrusion to the proximity sensor.
This is extremely annoying, as sometimes, I would like to immediately hang up, or place the call on speaker, but cannot do either as no input registers.
Is this an isolated issue to me, or CM7 on the AT&T SGS2? I am not running any special apps or background services.
It 'feels' as if this is mostly caused by some sort of lag, as it does happen intermittently. i can't pin down a particular pattern during which this persists. Anyone else experience any similar symptoms?
Click to expand...
Click to collapse
this same issue is what made me drop cm7 and go to UnNamed
I had it and would just hit the power button to turn it back on.
Dropped this on their forums:
http://forum.cyanogenmod.com/topic/34235-cm7-screen-temporarily-5-6-seconds-black-when-placing-call/
Is there any setting to force phone to lock screen after finishing call? I'm using earphones with integrated mic, so I end call by clicking button on remote while leaving phone in pocket. And it unlocks after finishing call, waiting for screen timeout to lock it again. Quite annoying...
And also using phone with headset is quite annoying, because I would like to lock it after dialing call and put it to my pocket. But I also have my power button set to end my call. Voila, we have problem. Power button ends my call I just started. So I can disable this behavior in settings, but then when I use phone without headset, I always forget to end call by onscreen button and put it to my pocket with call still active. Best solution would be some kind of headset detection, which alters behavior of power button during call. Probably could be done with Tasker, but I kinda dont want to leave it running in background just for this. Any tips or ideas?
HTC One X running latest ViperX,
When I activate the Android camera the ringtone volume increases to maximum then returns to normal when camera is exited.
This behaviour is not replicated using 3rd party camera apps, I can lower the volume when in the camera app but next time it is opened the same thing happens.
Does anyone know of either a solution or which other processes may be triggered when the camera starts so I can trace the problem back.
Very annoying as when composing a picture of a sleeping cat with ringtone originally set low (shutter sound off) I may receive a call or message which now blares at full volume, thus waking my subject!
I've been running CM11 nightlies pretty much since I got my G2, and by far the worst problem I've had is that the screen will randomly turn on while I'm talking on the phone. The problem seems to go away if I disable the double-tap to wake setting.
Does anyone else use CM11 (or other roms) and have this problem? Have you found a way to work around it w/o disabling the double-tap feature? It's wicked annoying to be sending out random calendar invites to people, misplace icons on my home screen, turn on my flashlight, and sometimes drop a call because airplane mode has been activated. I have to keep watching my phone screen while I'm on a call so I can press the power button when I see it turn on!
Not sure if this issue is specific to the ROM I'm running or what, but has anyone else noticed that the call recording just randomly tries to turn on when taking calls?
My setup is as follows, 'Kate' device running LOS 13.0-20170301 with Radon kernel (though it did this with the stock LOS kernel too) and it happens fairly intermittently, but I can't figure out how it's happening. What happens is I'll be on a call, and suddenly my phone will vibrate once, and the 'enable call recording' pop up is displayed on my screen. I can only assume that somehow the proximity sensor randomly turns the screen on and my cheek hits the call recording button, as I'm being very cautious about not hitting any buttons, or even the touch sensor on the back, in case one of these things triggers it.
I guess the next question I'd have, does anyone know what sort of shortcuts could enable call recording? I guess my next step if this doesn't ring any bells will be to try and catch it on a logcat.