• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Validate Feasibility: App that makes calls in the background.

Hi Everyone,

I want to see the feasibility of an Android App that does the following:

  1. When installed ask permissions to the user to do calls from the phone: Internet VOIP calls and normal calls.
  2. Does calls in the background without the user knowing of the call, just that 1 or 2 calls are in progress from a panel.
  3. When the call in answered, transfer the call to a third person.
  4. Get some data about calls made, unanswered calls, answered calls etc.
Is this flow posible to develop? And is it posible to develop with a software like Xamarin or it has to be a native app?

Best regards.
 
I initially thought that there could not possibly be an Android app permission to allow automatic dialling of calls, but amazingly, there is.

If you put the following in your app's manifest, and the user confirms it's ok on installation, the app will be allowed to automatically make calls.

Code:
<uses-permission android:name="android.permission-group.PHONE"/>

To programatically make a call, do this

Code:
Intent intent = new Intent(Intent.ACTION_CALL);

intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
context.startActivity(intent);

Thanks to SO question -

https://stackoverflow.com/questions/4816683/how-to-make-a-phone-call-programmatically
 
Incredible Thanks a lot!

But what about transfer the call to a third party after its answered? do you think it is posible?

Best Regards.

I initially thought that there could not possibly be an Android app permission to allow automatic dialling of calls, but amazingly, there is.

If you put the following in your app's manifest, and the user confirms it's ok on installation, the app will be allowed to automatically make calls.

Code:
<uses-permission android:name="android.permission-group.PHONE"/>

To programatically make a call, do this

Code:
Intent intent = new Intent(Intent.ACTION_CALL);

intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
context.startActivity(intent);

Thanks to SO question -

https://stackoverflow.com/questions/4816683/how-to-make-a-phone-call-programmatically
 
Back
Top Bottom