0

How I can check in background service that MediaRecorder is occupied by another app or not ... I did apply check on MR but :(

before start recording during call when i try to start media recorder app crash ... even i did apply check before starting if (mr !=null) mr.start() else toast but not working. im doing some thing worng can anyone guide me ??

19th Apr 2018, 5:00 AM
Syed Farrukh Chishti
Syed Farrukh Chishti - avatar
2 Respostas
+ 5
Check this sample app implementing MediaRecorder API, you can look into it and check what's missing in your code. https://github.com/googlesamples/android-MediaRecorder/
19th Apr 2018, 8:14 AM
Dev
Dev - avatar
0
okay dear ... thank you :)
19th Apr 2018, 8:21 AM
Syed Farrukh Chishti
Syed Farrukh Chishti - avatar