ANDROID pre recorded call to a number - android

I am working on automated recorded voice calls system. If i use this,
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
This just makes the audio call. But i want a call to be done to a number with a prerecorded voice message. Can anyone please tell how to do this and oblige
Thanks in advance.

It is not possible in android unless you have a root permission
It locks microphone and will not let anyone access it or morph the input.
Even you cannot record dual voice(Incoming and outgoing) on call

Related

Android Video Calling feature using wifi

Can anyone help me how to implement video calling using wifi feature?
I have tried Intent for it but its not working.Please help me out.
Intent callIntent = new Intent("com.android.phone.videocall");
callIntent.putExtra("videocall", true);
callIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
callIntent.setData(Uri.parse("tel:" + "+919167903192"));
startActivity(callIntent);
Video calling like Skype requires using the SIP protocol. Good thing, there is android.net.sip. Bad thing, it only supports VoIP out of the box.
What's the way out?
You need to use a SIP library like JAIN SIP or CSipSimple to get the work done. You will also need a SIP provider. You can either become one or use an existing one like GetOnSip.
My point being?
It is not as easy as using an intent. You will have to do the manual coding.

Android, convert call stream to text possible?

I have a simple application that needs to call a number and speech-to-text (as best as possible) whatever the other party is saying.
Simply put, if the other party says "Hello", then "Hello" would be displayed on the screen.
I can make a call using Intent.ACTION_CALL:
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:91234567"));
startActivity(callIntent);
However, how do I continue from there, to convert the received audio signals to text?
In Android, you cannot access or modify the call audio stream. Due to this, you cannot get what is being spoken, and hence cannot convert it to text.
This app isn't possible on Android.

Android: make a call and disconnect after ringing to leave a missed call

I am using this code to make call
Intent callIntent = new Intent(Intent.ACTION_CALL,
Uri.parse("tel:" + phoneNumber));
startActivity(callIntent);
and I want to disconnect call after hear first ringing to leave a miss call on the destination phone.
I don't believe that's currently available in the Android sdk. I was trying to control outgoing calls on a project recently but other than dialing a number there's not a lot you can do. My last project needed to place a call, press a button, then hangup. For that I ended up setting up an Asterisk server that listened to a web page. You could do something similar but that would involve using a data connection to your own server.
You can check out these links. I don't like this answer but it's the way it is for now.
How to make a phone call in android and come back to my activity when the call is done?
http://developer.android.com/reference/android/content/Intent.html#ACTION_CALL
If you want to step outside of techniques I would recommend check out the this answer.

Put some message in a call from android app

I'm trying to make a call from my android app using the code below
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
Now i'm able to make a call from my device successfully but my requirement is that when the receiver of call (i.e. phone with number 123456789 )....picks the call he should be able to hear some custom message.....this custom message i should be able to give from my andriod app .....is it possible ?...any ideas ?

android howto create an (incoming phone call) but not for talking

hi again
search around but cant find a way to start developing this
Wanted to send an image to my phone (ftp) and when the image has
arrived and saved to my CD card i would like to have the phone ringing like
it was someone calling. When i answer the image will fill the screen.
What i have done so fare is is that the image is received and saved to CD card.
Only the Phone call thing missing
If you can give me a hint about what I need to do im happy
I know I can start a phone call activity with this code
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
Maybe it can be modified to create a dummy call?
Use the RingtoneManager to acquire a Ringtone object and then play() it.

Categories

Resources