there is a way to find new missed call
I use from this code :
but this code give me all of the missed call
I need new messed call.
thanks
I use from this code :
B4X:
Dim Calls As List
Dim CallLog As CallLog
Dim numberOFmissCALL As Int
Calls = CallLog.GetAll(0)
For i = 0 To Calls.Size - 1
Dim c As CallItem
c = Calls.Get(i)
If c.CallType = c.TYPE_MISSED Then
numberOFmissCALL = numberOFmissCALL + 1
End If
Next
label2.Text = numberOFmissCALL
but this code give me all of the missed call
I need new messed call.
thanks