Android Question dtmf not send

ander47

Member
my code is not worked( why? help me please...

dtmf_call:
Sub Class_Globals
    Private Root As B4XView
    Private xui As XUI
    

    
End Sub

Public Sub Initialize
    
End Sub


Sub Activity_Create(FirstTime As Boolean)
    
    
    If FirstTime Then
    End If
End Sub


Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    Root.LoadLayout("MainPage")
End Sub




Private Sub Button1_Click
    
        
    
    Dim p As PhoneCalls
    StartActivity(p.Call("89259644355"))
    
    Dim CurrentCall As SipAudioCall
    
    
    If CurrentCall.IsInCall  Then
        CurrentCall.SendDtmf(2)
        CurrentCall.SendDtmf(1)
    End If
    
    
    
[QUOTE]
End Sub
[/QUOTE]
 

John Naylor

Active Member
Licensed User
Longtime User
Android won't let you do certain things like taking photographs and making calls without the users permission.

On your Logs tab click the List Permissions button. Anything marked with a * needs explicit permission from the user that it's acceptable to use. Tutorial here. Start with that.
 
Upvote 0

ander47

Member
there are no errors during the operation of the program. the code is executed but the dtmf commands being played are not audible
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top