Post Reply

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

OP jubagrande

9th March 2012, 02:28 PM   |  #1  
OP Junior Member
Thanks Meter: 14
 
16 posts
Join Date:Joined: Sep 2011
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:
http://gitorious.org/0xdroid/package...c9b8dfe67a7673

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, 141 views)
Last edited by jubagrande; 9th March 2012 at 02:33 PM.
The Following 5 Users Say Thank You to jubagrande For This Useful Post: [ View ]
9th March 2012, 03:24 PM   |  #2  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,373
 
5,975 posts
Join Date:Joined: Feb 2012
More
Nice job buddy....... i envy yur courage!
12th March 2012, 10:35 AM   |  #3  
hansip87's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 1,844
 
2,556 posts
Join Date:Joined: Jan 2011
Donate to Me
More
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, 10:46 PM   |  #4  
OP Junior Member
Thanks Meter: 14
 
16 posts
Join Date:Joined: Sep 2011
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, 03:44 PM   |  #5  
OP Junior Member
Thanks Meter: 14
 
16 posts
Join Date:Joined: Sep 2011
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, 75 views)
The Following 4 Users Say Thank You to jubagrande For This Useful Post: [ View ]
22nd March 2012, 11:30 AM   |  #6  
chepoz's Avatar
Senior Member
Flag City of Idiots
Thanks Meter: 529
 
891 posts
Join Date:Joined: Sep 2011
More
Can I install it using root explorer???

sent from my Walkman
23rd March 2012, 09:35 AM   |  #7  
OP Junior Member
Thanks Meter: 14
 
16 posts
Join Date:Joined: Sep 2011
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, 04:55 AM   |  #8  
Junior Member
Thanks Meter: 0
 
17 posts
Join Date:Joined: Jun 2011
More
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Mini, Mini Pro, Xperia Pro, Active, Ray, Live with Walkman Themes and Apps by ThreadRank