Android Question stop dialing

Discussion in 'Android Questions' started by mash4aa, Jul 3, 2015.

  1. mash4aa

    mash4aa New Member Licensed User

    How to stop dialing after 3 seconds when I use
    StartActivity(pc.Call("xxxxxxxxx"))

    simulation does not work
    keyg.keygenerator(KeyCodes.KEYCODE_ENDCALL)
     
  2. DonManfred

    DonManfred Expert Licensed User

    When executing StartActivity you´ll leave your app and starting another app which does to call. Your app is sleeping.
    You dont have control over the android.phone app and you cannot send any keycodes to it; reminder: your app is sleeping.
     
    lemonisdead likes this.
  3. mash4aa

    mash4aa New Member Licensed User

    and if it is otherwise, other than the command to dialing
    StartActivity (pc.Call ("xxxxxxxxx"))
     
Loading...