Android Question Call phone number ?

Discussion in 'Android Questions' started by Devv, Feb 19, 2015.

  1. Devv

    Devv Active Member Licensed User

    How can i dail a phone number directly (not viewing the phone app)
    i need to call a phone number without the help of the user
  2. DonManfred

    DonManfred Expert Licensed User

    Dim p As PhoneCalls
    you need... The call app is what is doing the call... You just can start it with the right number to dial... After this call the phoneapp will directly call this number. No need for help from user
    giga and Devv like this.
  3. Devv

    Devv Active Member Licensed User

    thanks bro
  4. Devv

    Devv Active Member Licensed User

    Dim p AsPhoneCallsStartActivity(p.Call("+49-12345-6789012"))

    is working but when having more than one call app (viber , vovox) in addition to the android phone app, it will ask the user to select one
    is it possible to make b4a call a number only with he stock android phone app without asking the user for his option ?
  5. Erel

    Erel Administrator Staff Member Licensed User

    This is how Android works. Why not let the user choose which app to use? The user can select to always use this app.

    If the default dialer has the same package name on all devices then you can use Intent.SetComponent to limit the intent to the default dialer. I do not know whether this is the case or not.
    Devv likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice