- Android call recorder github
- Android call recorder github
- Android call recorder github
- About
- Android call recorder github
- About
- GitLab A android-call-recorder Project information Project information Activity Labels Members Repository Repository Files Commits Branches Tags Contributors Graph Compare Locked Files Issues 106 Issues 106 List Boards Service Desk Milestones Iterations Requirements Merge requests 8 Merge requests 8 CI/CD CI/CD Pipelines Jobs Schedules Test Cases Deployments Deployments Environments Releases Monitor Monitor Incidents Packages & Registries Packages & Registries Container Registry Analytics Analytics Value stream CI/CD Code review Insights Issue Repository Wiki Wiki Activity Graph Create a new issue Jobs Commits Issue Boards Collapse sidebar Close sidebar Android Call Recorder. Simple recording app, using native Android interfaces to record sound. Источник
Android call recorder github
This android application allows you to record all incoming and outgoing calls from your phone. All your recorded calls are saved in 3gp files and can be sent from the application.
You can enable/disable the recording during the call, or leave it enabled to record all the calls.
The main application screen contains a list of all calls with details of phone numbers, date and time of a call. By selecting one of the items the application will provide you with 3 options: erase record, send record and play record.
In order to allow or disallow recordings open the main menu and choose enable/disable recordings.
Your 3gp files are located in the folder «recordedCalls» in your SD card or phone storage, you can transfer your recorded calls to your computer by conecting your phone to it with a USB cable. (Some operative systems might require a driver to properly navigate your phone files)
The recording does not have a limit of time so be careful not to run out of space after a few long calls.
Compatible with Android 2.2 (API 8) or above
Tested on Android 4.1.2, 4.2.2 and 4.4.2
Some devices with Android 4.4.2 and Android 5 are not able to start recording
This repository is maintained by Raul Robledo, the base code was developed by Kobi Krasnoff, and automatically exported from code.google.com/p/call-recorder-for-android into this repository.
Note: For some reason Android will not properly clean references to MediaRecorder, that will stop the application to use MediaRecorder again until phone is rebooted.
Change log: 2015-03-21
- RecordService flow updated to allow stop and start recording during call
- Added authors and contributors files
- Removed unneeded Internet permission
- Fixed random application breaking bug caused by Service was called with null intent
- Fixed application breaking bug when other files exist on the recordedCalls folder
- Added functionality to stop recording when recording is disabled on main screen
- Adjusted to build with API 8 for Android 2.2 support
- Adjusted EN and ES translations
- Changed recording item options order to have delete as the last one
- Fixed mime type in play and email functionality
- Removed unneeded files from bin directory
- Project files moved out of the ‘Android Call Recorder’ folder to have direct access to project
- Fixed bug on deleteFile
- Fixed bug on stopAndReleaseRecorder
- Adjusted finishService functionality to properly dispose notifications
- Added TAG to constants
- Added functionality to use foreground when call is started to avoid service to be killed due to lack of resources
- Adjusted functionality to dispose MediaRecorder
- Adjusted functionality to delete file if MediaRecorder failed to stop
- Code re-factoring to use Constants and FileHelper
- Validations added to avoid starting or stopping recorder when not required
- Adjusted cleanup functionality to properly dispose recorder
- Moved target API to 10
- Added label to indicate possible issue with existing recorder
Источник
Android call recorder github
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
How do I get set up?
- Summary of set up
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
- Writing tests
- Code review
- Other guidelines
Who do I talk to?
- Repo owner or admin
- Other community or team contact
Pull SQLite DB from Android Device
Connect your device and launch the application in debug mode.
You may want to use adb -d shell «run-as com.yourpackge.name ls /data/data/com.yourpackge.name/databases/» to see what the database filename is. Notice: com.yourpackge.name is your application package name. You can get it from the manifest file.
Copy the database file from your application folder to your SD card.
adb -d shell «run-as anthonynahas.com.autocallrecorder cat /data/data/anthonynahas.com.autocallrecorder/databases/filename.sqlite > /sdcard/filename.sqlite»
Notice: filename.sqlite is your database name you used when you created the database
Pull the database files to your machine:
adb pull /sdcard/filename.sqlite This will copy the database from the SD card to the place where your ADB exist.
Install Firefox SQLite Manager: https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/ Open Firefox SQLite Manager (Tools->SQLite Manager) and open your database file from step 3 above. Enjoy!
Mockito vs Robolectric
is used for making mocks of your classes.
When you are testing a particular class you mock all of its dependencies with Mockito.
Where possible most of your tests should use mockito. To make this possible most people split their code up into MVP, etc where the business logic is separated from the View logic. This way your business logic (Presenter) has no knowledge (or dependencies) on the Android library and has no need to have mocks of them.
Robolectric
is a library which contains many mocks of Android classes.
The Robolectric test runner injects these ‘shadow objects’ in place of the actual Android classes when the tests are run. This is what allows the tests to run on the JVM without booting up an instance of Android.
When using MVP your View layer tends to be implemented by the Activity/Fragment and this is where you can use Robolectric to mock these.
Use Robolectric only where necessary. It basically re-implements parts of the Android framework but not always in exactly the same way.
You may also need another library such as PowerMock. This allows the mocking of static classes such as Math or can be used to mock static Android classes such as TextUtils.
Источник
Android call recorder github
SW Call Recorder
SW Call Recorder is an Android application that automatically records phone calls based on user selected phone numbers. It has the following main features:
- The phone numbers are organized into contacts.
- Every contact can have an associated picture selected by the user.
- There are 4 possible recording formats: WAV (Lossless), AAC 128kbs, AAC 64kbps and AAC 32kbps.
- Recordings can be mono or stereo.
- The device can be put automatically on speaker while the application records the call.
- Recordings can be stored in the application’s private storage space or in a public accessible location on the device. If they are stored in a public accessible location, they can be easily transferred to other devices, like a laptop. The location of the recordings on the device can be easily changed.
- Phone calls from private (unknown) numbers are supported.
- The user can rename the recordings.
- The recordings can be played from within the application with the help of a dedicated audio player.
- The audio player can modify the sound volume of the device while playing. After the playing finishes, the audio volume of the device automatically comes back to the previous value.
- The audio player can apply a gain to the audio signal to further control how loud the sound is played.
- The application has 2 themes: light and dark.
Because of the restrictions imposed by Google on requesting permissions from the Call log permission group (https://play.google.com/about/privacy-security-deception/permissions/), the app is currently developed using two branches: the original-app branch and the gpcompliant (from «google play compliant») branch.
The gpcompliant branch does not use the READ_CALL_LOG and PROCESS_OUTGOING_CALLS permissions and consequently the versions of the app compiled from this source cannot obtain the outgoing phone number in all supported versions of Android and cannot obtain the incoming phone number in Android versions 9 and above. This has consequences on the overall appearance and behavior of the app that are documented in the «Recording phone calls» section of the Help menu. These versions have the substring ‘gpcompliant’ appended to the version string.
The original-app branch retains all the functions that were removed from the gpcompliant branch. The versions of the app compiled from this source have the substring ‘original’ appended to the version string.
About
SW Call Recorder is an Android app that records phone calls based on user selected phone numbers.
Источник
Android call recorder github
Standalone Call Recorder
What is this project?
iPhone doesn’t support recording phone calls, so the only way to record audio during the phone conversations is to basically add a third party to the call who can record whatever is being said.
Now, there is a number of available options including Google Voice and what not, but I wanted to build an independent and more privacy-centred one, and have fun with the project.
Effectively, all you need is a Raspberry Pi, a 3G/GSM dongle and a second SIM card (check Pay As You Go plans in your country).
I have not created the underlying technologies myself, but rather merely created an automated setup and configurator for easier use.
Disclaimer 1: obey the law
A lot of people expressed their concern about legal implications when I first posted this project on Reddit.
Indeed, many countries oblige you to notify the other party about the fact you’re recording the call.
I am not a lawyer, so do your own research of your local legislation, obey it and get a legal advice if required.
If in doubt, avoid recording phone calls.
Disclaimer 2: treat this project as a proof of concept
TL;DR: I built this tool for fun as a proof of concept and did not intend for it to work perfectly.
This code does nothing but installs and configures third-party software (Asterisk PBX and chan_dongle).
As a matter of fact, that software may get compromised (or have been), may be faulty, buggy or might even render your hardware unusable.
On top of that, I have not done much bash scripting in my life.
I built this as a fun DIY project, and think of it as simply a proof of concept at this stage. The hardware I used is a Raspberry Pi, an old 3G dongle I got for free a decade ago and a free SIM card, so I couldn’t care less about any issues.
On top of that, 3G modems often need a lot more current than a Pi can give. Can this damage either the Pi or the dongle? Absolutely.
Feel free to make suggestions or contribute to the project.
- A Linux computer.
- I used a cheap Raspberry Pi 2, and tested it on Raspian Buster Lite (kernel 4.19)
- 3G USB modem. Important: not all of them support voice transmition. The older ones (circa 2010) should, the newer ones reportedly only support data transmition. Do your research.
- Any SIM card that fits that 3G dongle. Any «Pay As You Go» SIM should cut it.
How to run this tool
Clone this repository to your Raspberry Pi.
Edit the values of DONGLE_IMEI and WHITELISTED_PHONE_NUMBER in the «Configuration» section in install.sh , then execute it as a user (without sudo):
You can open the Asterisk terminal with:
The vvvvv bit makes the output more verbose, so you should be able to see when your call is received, picked up and routed to a correct context and extension.
Your call recordings will be available at:
You can copy the recordings from the computer by running an scp command, using a shared folder or putting some automation in place.
When you play a recording, you may notice a very sharp sound at the very beginning. I haven’t looked into removing it yet and most likely won’t, although feel free to submit a pull request with a fix.
Making a recorded call
You will need to make a 3-way conference call.
Different phones do it differently. Below is the description for iOS:
Open your contacts or phone app and make a call to your recording line.
When asterisk picks up, tap «Add Call». This will bring up the contact list.
Select a contact or enter a phone number. During that call the asterisk line will be put on hold.
Once connected with the other party, click «Merge» to create a three-way conference call.
Once successfully merged you should be able to hear the other party, and asterisk will record both parties.
Make sure to let the other party know you’re recording the call.
When you hang up, asterisk will stop the recording and save it in a folder of your preference.
Q: Can other people abuse my line?
A: If you properly set up the white list, only your calls will be picked up.
Q: Can I have multiple whitelisted numbers?
A: Yes, you may add something like exten => _+X.,1,GotoIf($[$
Q: Can I use a different directory to store my recordings?
A: Yes. Find the line same => n, MixMonitor($
- Asterisk community with its amazing project
- bg111 for creating chan_dongle and Walter Doekes for maintaining its up-to-date fork
This code is licensed under the MIT license. Be aware that other pieces of software that this tool manages may be subject to additional license agreements.
About
Another phone call recorder + a pinch of privacy. Record your iPhone, Android or landline calls.
Источник
GitLab - A android-call-recorder
- Project information
- Project information
- Activity
- Labels
- Members
- Repository
- Repository
- Files
- Commits
- Branches
- Tags
- Contributors
- Graph
- Compare
- Locked Files
- Issues 106
- Issues 106
- List
- Boards
- Service Desk
- Milestones
- Iterations
- Requirements
- Merge requests 8
- Merge requests 8
- CI/CD
- CI/CD
- Pipelines
- Jobs
- Schedules
- Test Cases
- Deployments
- Deployments
- Environments
- Releases
- Monitor
- Monitor
- Incidents
- Packages & Registries
- Packages & Registries
- Container Registry
- Analytics
- Analytics
- Value stream
- CI/CD
- Code review
- Insights
- Issue
- Repository
- Wiki
- Wiki
- Activity
- Graph
- Create a new issue
- Jobs
- Commits
- Issue Boards
- Project information
- Activity
- Labels
- Members
- Repository
- Files
- Commits
- Branches
- Tags
- Contributors
- Graph
- Compare
- Locked Files
- Issues 106
- List
- Boards
- Service Desk
- Milestones
- Iterations
- Requirements
- Merge requests 8
- CI/CD
- Pipelines
- Jobs
- Schedules
- Test Cases
- Deployments
- Environments
- Releases
- Monitor
- Incidents
- Packages & Registries
- Container Registry
- Analytics
- Value stream
- CI/CD
- Code review
- Insights
- Issue
- Repository
- Wiki
Collapse sidebar Close sidebar
Android Call Recorder. Simple recording app, using native Android interfaces to record sound.
Источник