[Android 2.0+] Audio Bug - Voice Recorder

Search This thread

Dark3n

Recognized Developer
Sep 14, 2007
2,626
5,478
twitter.com
Audio Bug - Voice Recorder​
attachment.php

Hi XDA,
i would like to present you a voice recorder i made.
I'm happy about any feedback or suggestions.

Audio Bug is an easy-to-use high quality audio/voice recorder.
It stands out in its ways to start a recording.

You could take your android device out of your pocket, swipe it with your hand or shake it, and start a recording without looking, even without turning the screen on. It also has a widget.
The beginning and end of a recording will be indicated through a vibrating pattern.
The recordings are done with 160kps @ 44,1khz and will produce AAC encoded .mp4 files.

 

Attachments

  • iconhq.jpg
    iconhq.jpg
    4.9 KB · Views: 1,408
Last edited:
  • Like
Reactions: PunchUp and jijus

Tomncruiz

Member
Jun 17, 2011
9
0
Audio Bug - Voice Recorder​
attachment.php

Hi XDA,
i would like to present you a voice recorder i made.
I'm happy about any feedback or suggestions.

Audio Bug is an easy-to-use high quality audio/voice recorder.
It stands out in its ways to start a recording.

You could take your android device out of your pocket, swipe it with your hand or shake it, and start a recording without looking, even without turning the screen on.
The beginning and end of a recording will be indicated through a vibrating pattern.

The quality is good enough to record someone holding a lecture/presentation on the other side of the room.

At the moment 2 options are provided to start a recording:
You can either swipe the phone (light/proximity sensor) or shake it to start a recording.
Both methods are fully customizable and can be adjusted to your needs.
Of course a widget is included too. Which you can select as trigger and start/stop a recording by tapping it.

The recordings are done with 160kps @ 44,1khz and will produce AAC encoded .mp4 files.

Super apps..really cool......
 

Dark3n

Recognized Developer
Sep 14, 2007
2,626
5,478
twitter.com
This app is free of charge now.

Didn't feel right charging for it anymore.

I fixed a bug with the proximity sensor and made some tweaks.

But generally the edges are a bit rough.

Maybe someone has use for it, the recording quality is pretty good :).
 

Dark3n

Recognized Developer
Sep 14, 2007
2,626
5,478
twitter.com
2 years since the last post and 2 years since the last update...

AudioBug has been rewritten and is now open source :).
 

PunchUp

Senior Member
Sep 18, 2013
4,282
2,879
Crashed as soon as I hit the recording button
Xperia S 4.1.2
Code:
04-22 16:22:58.825 E/MediaRecorder(32025): start called in an invalid state: 4
04-22 16:22:58.825 E/AndroidRuntime(32025): FATAL EXCEPTION: main
04-22 16:22:58.825 E/AndroidRuntime(32025): java.lang.IllegalStateException
04-22 16:22:58.825 E/AndroidRuntime(32025): at android.media.MediaRecorder.start(Native Method)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.Recorder.start(Recorder.java:83)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.startRecording(AudioBugService.java:204)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.toggleRecording(AudioBugService.java:194)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.access$100(AudioBugService.java:30)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService$LocalBinder.toggleRecorder(AudioBugService.java:55)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.ConfigurationFragment$1.onClick(ConfigurationFragment.java:63)
 
Last edited:
  • Like
Reactions: Dark3n

Dark3n

Recognized Developer
Sep 14, 2007
2,626
5,478
twitter.com
Crashed as soon as I hit the recording button
Xperia S 4.1.2
Code:
04-22 16:22:58.825 E/MediaRecorder(32025): start called in an invalid state: 4
04-22 16:22:58.825 E/AndroidRuntime(32025): FATAL EXCEPTION: main
04-22 16:22:58.825 E/AndroidRuntime(32025): java.lang.IllegalStateException
04-22 16:22:58.825 E/AndroidRuntime(32025): at android.media.MediaRecorder.start(Native Method)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.Recorder.start(Recorder.java:83)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.startRecording(AudioBugService.java:204)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.toggleRecording(AudioBugService.java:194)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.access$100(AudioBugService.java:30)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService$LocalBinder.toggleRecorder(AudioBugService.java:55)
04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.ConfigurationFragment$1.onClick(ConfigurationFragment.java:63)

Thanks.
Is that the only stacktrace in the log?
If it fails to start the recording, i suspect it failed the preparation which should have thrown a stack trace too.
 

PunchUp

Senior Member
Sep 18, 2013
4,282
2,879
I did it again.. This is all I got
Code:
04-22 21:24:49.115 E/MediaRecorder(21214): start called in an invalid state: 4
04-22 21:24:49.115 E/AndroidRuntime(21214): FATAL EXCEPTION: main
04-22 21:24:49.115 E/AndroidRuntime(21214): java.lang.IllegalStateException
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.media.MediaRecorder.start(Native Method)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.Recorder.start(Recorder.java:83)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.startRecording(AudioBugService.java:204)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.toggleRecording(AudioBugService.java:194)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.access$100(AudioBugService.java:30)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService$LocalBinder.toggleRecorder(AudioBugService.java:55)
04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.ConfigurationFragment$1.onClick(ConfigurationFragment.java:63)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.view.View.performClick(View.java:4147)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.view.View$PerformClick.run(View.java:17161)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Handler.handleCallback(Handler.java:615)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Handler.dispatchMessage(Handler.java:92)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Looper.loop(Looper.java:213)
04-22 21:24:49.115 E/AndroidRuntime(21214): at android.app.ActivityThread.main(ActivityThread.java:4787)
04-22 21:24:49.115 E/AndroidRuntime(21214): at java.lang.reflect.Method.invokeNative(Native Method)
04-22 21:24:49.115 E/AndroidRuntime(21214): at java.lang.reflect.Method.invoke(Method.java:511)
04-22 21:24:49.115 E/AndroidRuntime(21214): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
04-22 21:24:49.115 E/AndroidRuntime(21214): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
04-22 21:24:49.115 E/AndroidRuntime(21214): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
04-22 21:24:49.115 E/AndroidRuntime(21214): at dalvik.system.NativeStart.main(Native Method)
04-22 21:24:50.935 E/InputDispatcher(667): channel '42f4d288 eu.thedarken.audiobug/eu.thedarken.audiobug.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 
  • Like
Reactions: Dark3n

Dark3n

Recognized Developer
Sep 14, 2007
2,626
5,478
twitter.com
Got it.
The folder for the saved recordings wasn't created.
I didn't notice it, because on my dev device the folder already existed.
Sorry, that was a stupid bug :|.
Pushing fix now.
 
  • Like
Reactions: PunchUp

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Audio Bug - Voice Recorder​
    attachment.php

    Hi XDA,
    i would like to present you a voice recorder i made.
    I'm happy about any feedback or suggestions.

    Audio Bug is an easy-to-use high quality audio/voice recorder.
    It stands out in its ways to start a recording.

    You could take your android device out of your pocket, swipe it with your hand or shake it, and start a recording without looking, even without turning the screen on. It also has a widget.
    The beginning and end of a recording will be indicated through a vibrating pattern.
    The recordings are done with 160kps @ 44,1khz and will produce AAC encoded .mp4 files.

    1
    Crashed as soon as I hit the recording button
    Xperia S 4.1.2
    Code:
    04-22 16:22:58.825 E/MediaRecorder(32025): start called in an invalid state: 4
    04-22 16:22:58.825 E/AndroidRuntime(32025): FATAL EXCEPTION: main
    04-22 16:22:58.825 E/AndroidRuntime(32025): java.lang.IllegalStateException
    04-22 16:22:58.825 E/AndroidRuntime(32025): at android.media.MediaRecorder.start(Native Method)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.Recorder.start(Recorder.java:83)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.startRecording(AudioBugService.java:204)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.toggleRecording(AudioBugService.java:194)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService.access$100(AudioBugService.java:30)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.AudioBugService$LocalBinder.toggleRecorder(AudioBugService.java:55)
    04-22 16:22:58.825 E/AndroidRuntime(32025): at eu.thedarken.audiobug.ConfigurationFragment$1.onClick(ConfigurationFragment.java:63)
    1
    I did it again.. This is all I got
    Code:
    04-22 21:24:49.115 E/MediaRecorder(21214): start called in an invalid state: 4
    04-22 21:24:49.115 E/AndroidRuntime(21214): FATAL EXCEPTION: main
    04-22 21:24:49.115 E/AndroidRuntime(21214): java.lang.IllegalStateException
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.media.MediaRecorder.start(Native Method)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.Recorder.start(Recorder.java:83)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.startRecording(AudioBugService.java:204)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.toggleRecording(AudioBugService.java:194)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService.access$100(AudioBugService.java:30)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.AudioBugService$LocalBinder.toggleRecorder(AudioBugService.java:55)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at eu.thedarken.audiobug.ConfigurationFragment$1.onClick(ConfigurationFragment.java:63)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.view.View.performClick(View.java:4147)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.view.View$PerformClick.run(View.java:17161)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Handler.handleCallback(Handler.java:615)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Handler.dispatchMessage(Handler.java:92)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.os.Looper.loop(Looper.java:213)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at android.app.ActivityThread.main(ActivityThread.java:4787)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at java.lang.reflect.Method.invokeNative(Native Method)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at java.lang.reflect.Method.invoke(Method.java:511)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
    04-22 21:24:49.115 E/AndroidRuntime(21214): at dalvik.system.NativeStart.main(Native Method)
    04-22 21:24:50.935 E/InputDispatcher(667): channel '42f4d288 eu.thedarken.audiobug/eu.thedarken.audiobug.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    1
    Got it.
    The folder for the saved recordings wasn't created.
    I didn't notice it, because on my dev device the folder already existed.
    Sorry, that was a stupid bug :|.
    Pushing fix now.