You are on page 1of 14

xdadevelopers Devices by OS or Manufacturer

find your d

Portal Wiki iPhone Forums Device DB Today's Posts Register Samsung Galaxy S I9000 Galaxy S I9000 Android Development [MOD] Phone.apk with automatic call recording (v0.3)
********

User Name

Remember Me?

Page 1 of 45

12311

Thread Tools Display Modes

[MOD] Phone.apk with automatic call recording (v0.3)

Thread Tools:

antsm 24th February 2011, 10:08 AM


#1

[MOD] Phone.apk with automatic call recording (v0.3) [MOD] Phone.apk with automatic call recording Features:

Automatic call recording for incoming/outgoing calls Added template system for flexible naming of records. No boring VoiceRecord001.amr anymore Disabled stop recording on some actions related to multi-line calling (i.e Hold, Conference mode, etc) Disabled stop recording when Dialer minimized to background Switchable increasing ringtone

Modification consist of 2 packages:


Main package: Phone.apk with automatic call recording Extra package: contains phone-related modifications (DialerTabActivity.apk at this moment)

nb: Main package still fully-workable without Extra package. There are two ways to control the modification:

Using embedded "Settings" menu (included in Extra package)

Using standalone Automatic Call Recording Control app from Dark3n

Features: -Turn call recording on/off for incoming/outgoing calls. -Change file naming pattern for recorded calls. -View .rec_template file -Optional Prompt to delete recording after Call -Turn increasing ring On/Off
Which way to prefer? You can try both and choose the best for you. Again, if you are using themed FW and don't want to break your general style by using unthemed apps (e.g DialerTabActivity.apk), so just use a Main package together with an Automatic Call Recording Control app.

All records are save in /sdcard/Sounds/CallRecords/. You can use stock "Voice Recorder" app to playback. System requirements: Tested on SGS GT-i9000 (XWJS3). Most likely should work on any 2.2.1 FW. Probably will not work on 2.2 FW's. [*] Flash using CWM or Recovery 2e. During update process, script will backup your original files to /sdcard/tmp/ To roll it back, flash update_restore_[main_extra_pkgs] file History: Version 0.3:

Now project consist of Main and Extra packages Main (Phone.apk): Completely changed settings storing mechanism: all settings are saved in /sdcard/rec_settings.xml in XML format (no more .rec_template, .norec_in, .norec_out files) Main (Phone.apk): Added "Disable increasing ringtone" option Main (Phone.apk): Fixed bug with special characters in filename Extra (DialerTabActivity.apk): Embedded "Settings" menu Installer: "copy" routines moved from update.sh to native updater-script (should improve compatibility in some cases. Now *.sh using only for backup/restore procedure) Updated restoring script

Version 0.2a:

Issue with filepath creation was finally solved.

Version 0.2:

Forced sdcard/Sounds/CallRecords/ creation (if you've got "Fail Recording" it should fix it) Some works on BT-recording. Need more reports.

Version n/a: initial release

Thanks to: designgears, wes58 for files from Asian ROM which enable call recording.

Attached Thumbnails

Attached Files update_autocallrecording_[main_pkg]_0.3-ANT.zip - [Click for QR Code] (2.48 MB, 8379 views) update_autocallrecording_[xtra_pkg]_0.3-ANT.zip - [Click for QR Code] (1.04 MB, 3680 views) update_restore_[main_extra_pkgs]_0.3.zip - [Click for QR Code] (159.1 KB, 2248 views) Last edited by antsm; 16th March 2011 at 09:05 AM. Reason: (+) DialerTabActivity now multiDPI-enabled (Extra package); Automatic Call Recording Control updated to v0.5

Thanks Meter 81

Member |OP|

Posts: 69 Join Date: Sep 2010 Location: Siberia

The Following 66 Users Say Thank You to antsm For This Useful Post: Show/Hide ragin 24th February 2011, 10:23 AM

#2

This is seriously what a lot of people like me were looking for I guess. I am going to try it.

__________________ if you like what I say, there is always a THANKS button below. My ALL circle NOTIFICATION bar idea. -> Here Odin 1.82 Thread. -> Here Convergence with DESI settings. -> Here For those that want usb drivers without installing Kies. pass=ragin -> Here

Thanks Meter 115

Senior Member

Posts: 1,660 Join Date: Dec 2007 Location: Hubli

miro666 24th February 2011, 10:24 AM


#3

Originally Posted by ragin This is seriously what a lot of people like me were looking for I guess. I am going to try it. ragin, please feedback...

Thanks Regards __________________ Device: SAMSUNG Galaxy GT-i9000 S, SDHC 32 GB Battery: 3000 mAh Product Code: GT-I9000HKDDBT Firmware: I9000XXJVR Kernel: CF-Root-XX_OXA_JVR-v4.1-CWM3RFS OS: Android Gingerbread v2.3.4

Thanks Meter 13

Senior Member

Posts: 738 Join Date: Jul 2007 Location: Osijek, Croatia

SirM2X 24th February 2011, 10:46 AM


#4

Oh man! Awesome stuff! I was really in need of something like this :-) Thanx a million Downloading now :-P

Thanks Meter 4

Member

Posts: 66 Join Date: Dec 2010 Location: Esfahan

zion12 24th February 2011, 11:55 AM


#5

Awesome... Really interested in having some feedback on how this works & if its better than Total Recall Call Recorder. Thanks...

Thanks Meter 2

Member

Posts: 45 Join Date: Nov 2008 Location: Pune

ronlkh 24th February 2011, 12:15 PM


#6

This libaudio.so and libaudioflinger.so has bug. Fring audio and video chat will not have audio out.

Thanks Meter 19

Senior Member

Posts: 161 Join Date: Nov 2003

antsm

24th February 2011, 12:42 PM


#7

ronlkh, i know you worked in this way. Can we cooperate to fix it?

Thanks Meter 81

Member |OP|

Posts: 69 Join Date: Sep 2010 Location: Siberia

ragin 24th February 2011, 12:56 PM


#8

Confirmed working with Calls made & Calls received. I have rated this thread with a 5-start that it deserves. __________________ if you like what I say, there is always a THANKS button below. My ALL circle NOTIFICATION bar idea. -> Here Odin 1.82 Thread. -> Here Convergence with DESI settings. -> Here For those that want usb drivers without installing Kies. pass=ragin -> Here

Last edited by ragin; 24th February 2011 at 01:14 PM.

Thanks Meter 115

Senior Member

Posts: 1,660 Join Date: Dec 2007 Location: Hubli

yogeesharma 24th February 2011, 01:02 PM


#9

Working perfectly on darky rom 9.3 beta 3 If possible, pl include some option to select whether to keep or not to keep recording after call Sent from my GT-I9000 (Darky 9.3 beta) using XDA App __________________ Non Stop Flasher SAMSUNG GALAXY S

Thanks Meter 3

Senior Member

Posts: 247 Join Date: Jul 2008

ronlkh 24th February 2011, 01:13 PM


# 10

Originally Posted by antsm ronlkh, i know you worked in this way. Can we cooperate to fix it? You can use just replace only the libaudiopolicy.so and dont touch other 2files but the conversation recorded could be softer. I am currently testing the libaudio.so and libaudioflinger.so from M110s but still the same. I dont know about coding development but if there is anything i can help I will be available. If I can find a better lib file I will update you. I am more interested in the callback dialer. If you can code this dialer I will be very happy to help you in developing because I use callback service alot. I know how the procedure works. cheers!

Thanks Meter 19

Senior Member

Posts: 161 Join Date: Nov 2003

The Following User Says Thank You to ronlkh For This Useful Post: Show/Hide
Page 1 of 45

12311

Previous Thread [MOD] Phone.apk with automatic call recording (v0.3) Next Thread

Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
All times are GMT +1. The time now is 07:50 PM.

Copyright xda-developers Follow us on Twitter - Contact Us - Have an iPhone? XDA-Developers Home - Members List - View Forum Leaders - Legacy Devices - Top

Thread: [MOD] Phone.apk with automatic call recording (v0.3) View Single Post Dark3n 24th February 2011, 06:07 PM

# 30

Automatic Call Recording Control: Control app for antsm's modded Phone.apk If you find any bugs, things you don't like or have feature requests, tell me. Maybe we can do something about . Features: -Turn call recording on/off for incoming/outgoing calls. -Change file naming pattern for recorded calls. -View rec_settings.xml -Optional Prompt to delete recording after Call -Turn increasing ring On/Off -Ensures valid rec_settings.xml file, will recreate with default values otherwise -Option to do a quick media rescan after deleting a recording(this will update lists in media players(i.e. voice recorder) (opening the control app will also start a quickscan if you don't want to do it after every deletion)

Changelog: v0.7 optimised code a little to use less resources changed rec_settings.xml generation to allow easier installation of new versions without loosing old settings added the requested option to rescan files after deleting the recording v0.6 added checks when deleting the recording, should now give correct message if it has been deleted or not v0.5 Help button now actually shows helpfull information Now checks if rec_settings.xml exists and is valid, if not it will generate a default one. v0.4 Rewritten and streamlined to be more stable and use very low resources. Fixed problem of program being closed in background which would lead to no more delete notifications. Added config option for increasing ring. Adapted to new config style of Phone.apk v0.3 Added debug output in case of a missing or corrupt settings file v0.3 Optional Prompt after each call to delete Recording v0.2 Read template file and change file naming pattern v0.1 Enable and Disable Recording

Attached Files Call Recording Control v0.7.apk - [Click for QR Code] (34.2 KB, 4323 views) __________________ Keep me interested by rewarding good answers through the Thanks Button

Did you know that DropBox is a must have for every smartphone? 2GB are free, but my link will give you and me an extra 250MB . How about a maid to keep your android clean, neat and tidy ? Last edited by Dark3n; 16th March 2011 at 11:04 PM. Reason: new App Version

Thanks Meter 328

Recognized Developer

Posts: 609 Join Date: Sep 2007

The Following 61 Users Say Thank You to Dark3n For This Useful Post: Show/Hide

You might also like