1. Are you ready for the Galaxy S20? Here is everything we know so far!

Validate Feasibility: App that makes calls in the background.

Discussion in 'Android Development' started by Rodrigo Fernández, Jul 10, 2017.

  1. Rodrigo Fernández

    Thread Starter

    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.
     


  2. Best Answer:
    Post #2 by Deleted User, Jul 10, 2017 (4 points)

    1. Download the Forums for Android™ app!


      Download

       
  3. Deleted User

    Deleted User Guest

    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 (Text):
    1.  
    2. <uses-permission android:name="android.permission-group.PHONE"/>
    3.  
    To programatically make a call, do this

    Code (Text):
    1.  
    2. Intent intent = new Intent(Intent.ACTION_CALL);
    3.  
    4. intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
    5. context.startActivity(intent);
    6.  
    Thanks to SO question -

    https://stackoverflow.com/questions/4816683/how-to-make-a-phone-call-programmatically
     
    steve likes this.
  4. Phalon4

    Phalon4 Android Enthusiast

  5. Rodrigo Fernández

    Thread Starter

    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.

     
Loading...
Similar Threads - Validate Feasibility App
  1. charlington
    Replies:
    3
    Views:
    170
  2. Jerome Jordan
    Replies:
    0
    Views:
    166
  3. EvasiveEmanual
    Replies:
    3
    Views:
    269
  4. EvasiveEmanual
    Replies:
    4
    Views:
    405
  5. CJ Melhorn
    Replies:
    3
    Views:
    347
  6. spman
    Replies:
    15
    Views:
    609
  7. Wayne Moodie
    Replies:
    1
    Views:
    1,380
  8. tdkehoe
    Replies:
    0
    Views:
    3,642
  9. amber moore
    Replies:
    8
    Views:
    2,870
  10. tanimf
    Replies:
    0
    Views:
    2,042

Share This Page

Loading...