Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,607 Members 52,354 Now Online
XDA Developers Android and Mobile Development Forum

[Android 2.0+] Audio Bug - Voice Recorder

Tip us?
 
Dark3n
Old
(Last edited by Dark3n; 22nd April 2014 at 11:38 AM.)
#1  
Dark3n's Avatar
Recognized Developer - OP
Thanks Meter 2042
Posts: 1,948
Join Date: Sep 2007
Default [Android 2.0+] Audio Bug - Voice Recorder

Audio Bug - Voice Recorder


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.

Attached Thumbnails
Click image for larger version

Name:	iconhq.jpg
Views:	1175
Size:	4.9 KB
ID:	624947  
The Following 2 Users Say Thank You to Dark3n For This Useful Post: [ Click to Expand ]
 
Tomncruiz
Old
#2  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Jun 2011
Quote:
Originally Posted by Dark3n View Post
Audio Bug - Voice Recorder


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
Old
#3  
Dark3n's Avatar
Recognized Developer - OP
Thanks Meter 2042
Posts: 1,948
Join Date: Sep 2007
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
Old
#4  
Dark3n's Avatar
Recognized Developer - OP
Thanks Meter 2042
Posts: 1,948
Join Date: Sep 2007
2 years since the last post and 2 years since the last update...

AudioBug has been rewritten and is now open source .
 
PŁnchUp
Old
(Last edited by PŁnchUp; 22nd April 2014 at 11:57 AM.)
#5  
PŁnchUp's Avatar
Senior Member
Thanks Meter 367
Posts: 1,161
Join Date: Sep 2013
Crashed as soon as I hit the recording button
Xperia S 4.1.2
Code:
Select 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)
The Following User Says Thank You to PŁnchUp For This Useful Post: [ Click to Expand ]
 
Dark3n
Old
#6  
Dark3n's Avatar
Recognized Developer - OP
Thanks Meter 2042
Posts: 1,948
Join Date: Sep 2007
Quote:
Originally Posted by PŁnchUp View Post
Crashed as soon as I hit the recording button
Xperia S 4.1.2
Code:
Select 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.
 
PŁnchUp
Old
#7  
PŁnchUp's Avatar
Senior Member
Thanks Meter 367
Posts: 1,161
Join Date: Sep 2013
I did it again.. This is all I got
Code:
Select 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!
The Following User Says Thank You to PŁnchUp For This Useful Post: [ Click to Expand ]
 
Dark3n
Old
#8  
Dark3n's Avatar
Recognized Developer - OP
Thanks Meter 2042
Posts: 1,948
Join Date: Sep 2007
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.

The Following User Says Thank You to Dark3n For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes