CallRecorder icon indicating copy to clipboard operation
CallRecorder copied to clipboard

How to run in Service?

Open TikTak123 opened this issue 7 years ago • 2 comments

How to run in Service? There is no such method buildService?

callRecord = new CallRecord.Builder(this)
   .setRecordFileName("RecordFileName")
   .setRecordDirName("RecordDirName")
   .setRecordDirPath(Environment.getExternalStorageDirectory().getPath()) // optional & default value
   .setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB) // optional & default value
   .setOutputFormat(MediaRecorder.OutputFormat.AMR_NB) // optional & default value
   .setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION) // optional & default value
   .setShowSeed(true) // optional & default value ->Ex: RecordFileName_incoming.amr || RecordFileName_outgoing.amr
   .buildService();

TikTak123 avatar Apr 21 '18 15:04 TikTak123

no it seems they dont have any solutions for service

Feroz-Istar avatar Aug 21 '19 09:08 Feroz-Istar

no it seems they dont have any solutions for service

https://github.com/aykuttasil/CallRecorder/blob/master/callrecord/src/main/java/com/aykuttasil/callrecord/CallRecord.kt#L231-L232

Isn't this a solution for service?

govind-mukundan avatar Jun 27 '20 14:06 govind-mukundan