What steps will reproduce the problem?
1. Set voice record duration to 10 or more seconds.
2. Start recording a track.
3. Start recording a voice note.
4. Say "Rotating screen", then rotate the screen.
5. When the screen is finished rotating, say "Rotation finished".
6. Stop and save, export and listen to your voice note.
What is the expected output? What do you see instead?
Expected output is a voice note "Rotating screen...Rotation finished". Instead,
the voice note stops when the screen orientation changes.
What version of the product are you using (See "About" screen)?
0.5.8
Make/model of your device, and Android version?
Nexus S running Cyanogenmod 10.0.0
Please provide any additional information below.
In the field this is an issue when wearing the device with a wrist strap and
using a headset with its PTT key to record voice notes. You need to hold your
arm still while recording, else you risk losing the recording (and you don't
even get any acoustic feedback that the recording has stopped).
I suspect that this is because voice recordings take place inside an Activity.
This is not a good idea because Activities get destroyed and re-created on
screen rotation, which effectively aborts the voice recording. Such recordings
should take place in a foreground Activity, which Android will leave in peace.
(See also #98 for a similar issue with GPS export.)
Maybe you can use a voice recorder app as a sample (after testing that it
doesn't suffer from the same bug). CyanogenMod 7 came with one, though I never
tested if it handles screen rotation properly.
Original issue reported on code.google.com by mich...@vonglasow.com on 1 Feb 2013 at 3:50
Original issue reported on code.google.com by
mich...@vonglasow.com
on 1 Feb 2013 at 3:50