Request for Android Community: Advice and Help on Playing Pre-Recorded Voice on Calls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
To the Esteemed Android Developer Community,
I am seeking your expert advice to understand whether my task is feasible on the Android platform. I aim to implement the following functionality:
Task Description:
- Objective:
- I want to create an Android app that plays a pre-recorded voice message during a phone call.
- The app will:
- Automatically answer an incoming call when it is ON.
- Play a pre-recorded audio file stored on the user's phone (recorded by the user).
- Audio Content: “I am busy right now, call back after some time.”
- Disconnect the call after playing the message.
- Usage Scenario:
- This feature will be used only when the app is ON.
- It is intended for times when the user is busy and wants to inform the caller without manually attending the call.
- Key Requirements:
- Detect and answer incoming calls automatically.
- Play the recorded voice message to the caller.
- Ensure the caller hears the message clearly on their end.
- Disconnect the call programmatically after the message is played.
Questions for the Community:
- Is this Task Feasible?
- Can the Android platform route a pre-recorded voice file to the call audio stream (STREAM_VOICE_CALL) so the caller can hear it?
- Are there technical or carrier-level restrictions that could prevent this functionality?
- Android APIs or Services:
- Are there specific APIs, such as TelecomManager, CallScreeningService, or AudioManager, that can handle this requirement effectively?
- Privacy and Legal Concerns:
- Are there any privacy or legal considerations (e.g., notifying the caller) that I should be aware of when implementing this feature?
- Compatibility Across Devices:
- How can I ensure compatibility across different Android devices and versions (API 26 and above)?
Additional Information:
- Voice File:
- The pre-recorded message is stored locally on the user’s phone in a secure folder.
- App Activation:
- The functionality will work only when the app is manually turned ON by the user.
- Intent:
- This is a personal productivity tool to handle calls during busy periods.
Help Needed:
- Advice:
- Can you confirm whether this task is achievable on the Android platform with existing APIs and hardware?
- Are there specific approaches or best practices to consider for implementing this?
- Code Implementation:
- I am looking to hire an experienced Android developer who can:
- Write fully working code to achieve this task.
- Ensure the solution is robust, privacy-compliant, and compatible across devices.
I deeply appreciate the Android community's expertise and guidance. Your input will help me determine the feasibility and approach for this project.
If you have any suggestions, insights, or are interested in developing this, please reply to this request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Thanks for your response. I am looking for an expert solution, not just advice. if below Android module not for public then i need your help to get approval process
plz help me " i want answer i am busy in my voice when i dont want to attend call"
I need an Android module that can:
Play a Pre-Recorded Voice Message on Calls:
- When the app is active, any incoming call should be automatically answered (without user intervention).
- A pre-recorded audio file, selected from the user's mobile storage, should be played to the caller.
Call Management:
- Once the audio message has finished playing, the call should automatically disconnect.
Please provide a comprehensive solution that meets these requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @blupal,
Nice to meet you. This sounds like a cool project.
As you specifically call out other Android developers in your post, I wonder have you also explored our developer communities and resources? Here is a link to the official developer page and if you scroll down you can see a link to the developer community on Stack Overflow.
I hope this helps and good luck with it - it would be great to hear how you get on.
Thanks,
Lizzie
- FQDNS for Zscaler / Google Play / Intune in Admin discussions
- Request for Android Community: Advice and Help on Playing Pre-Recorded Voice on Calls in Admin discussions
- Intune and Google play in Admin discussions
- Sporadic problems with Managed Google Play after enrollment in Admin discussions
- restrict android personal profile in Admin discussions