Android Question Duration second call

MarcoRome

Expert
Licensed User
Longtime User
Hi all.
I see this documentation http://www.b4x.com/android/help/phone.html#callitem
CallItem.
I read :
CallItem
Represents a single call in the call logs. See CallLog for more information.

and so for me it is necessary to know the duration of the call in seconds.
I see that examle:
B4X:
Dim secondi as CallItem
.....

ToastMessageShow(secondi.Duration, True)

Come back 0.
Where i wrong ?
Thank you
 
Top