Sub Globals
Dim d As madDTMF
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.Initialize("main")
Activity.LoadLayout("main")
'This DTMF Decoder will work till this Application is running
'It initializes the reciever
d.Initialize()
'but even after initializing you have to register it.
d.register()
End Sub
'This event is not called when activity is paused.
Sub maddtmf_keypress(key As Char)
'You can check d.fullText variable in regular interval of time to know every key press.
'we are using here to update textbox on next visible keystroke
Keys.Text=d.fullText
'Key contains new key press.
Log(key)
End Sub