[AAP] Sound Recorder: my first App (actualy, edited)

16 posts
Thanks Meter: 14
By jubagrande, Junior Member on 9th March 2012, 03:28 PM
Post Reply Subscribe to Thread Email Thread
Hi people!

after 3 days loosing all days and nights of good sleep, I finaly did!
Finaly, I edited SoundRecorder, the standard recorder app of xperia x10 mini, xperia mini, and some others devices, to record audio in AAC encoder, with 16 bit encoding and 22khz of sample rate!

The difficult thing for me was to learn java and object orientation to do this (believe, I'm dumb with these 2 things )

Well, here I go.

First, I watched this video to learned how to get started:

Then, I downloaded the source code from this site:

and using androids developer's home page and oracle's man page, I could correct some erros, and recompile the APK.

Finaly, here is the project if you would like to improve the program , which I will do in the future to add some functions like choose sample rate, container, and codecs, and in the folder bin you find the APP

To install, you can use eclipse, connecting your phone to your computer through usb and hit run android app or use this program:
APK Edit v0.4, allows you to edit your apk file

That is it!
Thanks and, please, comment!
Attached Files
File Type: rar SoundRecorder.rar - [Click for QR Code] (390.8 KB, 145 views)
Last edited by jubagrande; 9th March 2012 at 03:33 PM.
The Following 5 Users Say Thank You to jubagrande For This Useful Post: [ View ]
9th March 2012, 04:24 PM |#2  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,531
Nice job buddy....... i envy yur courage!
12th March 2012, 11:35 AM |#3  
hansip87's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 2,074
Donate to Me
Nice try mate Btw actually i am searching for stereo recording app, since if i use usual app from market, the sound quality is not good. But if you know about Video recording on Xperia 2011 devices, you know the quality is much better (unfortunately i don't want the video, just sound). Can you achieve that
13th March 2012, 11:46 PM |#4  
OP Junior Member
Thanks Meter: 14
Thanks whalesplaho!

hansip87, I think its possible...
At the developers page, I remember of some codes to choose stereo in instead of mono...

I left mono because I tought: since the source is a microphone, stereo will not work and the file will be bigger for nothing

anyway, I will take a look and try to compile it with stereo record... when its done, you will can download it from here
The Following 2 Users Say Thank You to jubagrande For This Useful Post: [ View ]
14th March 2012, 04:44 PM |#5  
OP Junior Member
Thanks Meter: 14
Thumbs up Here it is!
Now with:
Sampling Rate 44100Hz
Audio Encoding BitRate 128kbps
Audio Channels 2 (stereo)
Audio Encoder AAC
Output File .3gpp

Attention: with this configuration, your file grows 16KB/s... a file with 1 minute has 960KB aprox.

and now you can launch the app direct, without need other app
Attached Files
File Type: rar SoundRecorder.rar - [Click for QR Code] (88.3 KB, 83 views)
The Following 4 Users Say Thank You to jubagrande For This Useful Post: [ View ]
22nd March 2012, 12:30 PM |#6  
chepoz's Avatar
Senior Member
Flag City of Idiots
Thanks Meter: 542
Can I install it using root explorer???

sent from my Walkman
23rd March 2012, 10:35 AM |#7  
OP Junior Member
Thanks Meter: 14
I think you can...

I've improved the app... Added a menu to select sample rate, bit rate and channels..

Next week I'll make a menu to show the configurations choice...

Sent from my ST15a using XDA
The Following User Says Thank You to jubagrande For This Useful Post: [ View ]
28th May 2012, 05:55 AM |#8  
Junior Member
Thanks Meter: 0
When I try to listen to what I recorded, I can't listen to it, it seems to be a codec faliure, or a problem accessing SD card, I would recommend you to add mp3 codec to record, its a more standarized format and maybe a built in player will do a nice app, sure it will sell @ android market Nice one budd!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes