Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,752 Members 39,659 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jubagrande
Old
(Last edited by jubagrande; 9th March 2012 at 02:33 PM.)
#1  
Junior Member - OP
Thanks Meter 14
Posts: 16
Join Date: Sep 2011
Thumbs up [AAP] Sound Recorder: my first App (actualy, edited)

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, 140 views)
The Following 5 Users Say Thank You to jubagrande For This Useful Post: [ Click to Expand ]
 
whalesplaho
Old
#2  
whalesplaho's Avatar
Senior Member
Thanks Meter 1,373
Posts: 5,975
Join Date: Feb 2012
Location: Treasure Island
Nice job buddy....... i envy yur courage!






...what's tha sense of workin' hard if you never get to play...

...Pac


 
hansip87
Old
#3  
hansip87's Avatar
Senior Member
Thanks Meter 1,814
Posts: 2,512
Join Date: Jan 2011
Location: Jakarta

 
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
Love to Mod, Love to Experiment,
Sony Fanatic



My App Project:
Fast App Switcher Small App
System Monitor Small App
Media Viewer Small App


Phone History:
Nokia 6233 - Sony Ericsson K700i - SE Xperia X10 Mini Pro - SE Xperia Ray - Motorola RAZR Maxx - Xperia Z Ultra



 
jubagrande
Old
#4  
Junior Member - OP
Thanks Meter 14
Posts: 16
Join Date: 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: [ Click to Expand ]
 
jubagrande
Old
#5  
Junior Member - OP
Thanks Meter 14
Posts: 16
Join Date: 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, 74 views)
The Following 4 Users Say Thank You to jubagrande For This Useful Post: [ Click to Expand ]
 
chepoz
Old
#6  
chepoz's Avatar
Senior Member
Thanks Meter 529
Posts: 892
Join Date: Sep 2011
Location: City of Idiots
Can I install it using root explorer???

sent from my Walkman
 
jubagrande
Old
#7  
Junior Member - OP
Thanks Meter 14
Posts: 16
Join Date: 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: [ Click to Expand ]
 
lalocolin
Old
#8  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Jun 2011
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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes