M melamoud Active Member Licensed User Longtime User Nov 9, 2012 #1 is there a way to find out what time a call started or ended i'm browing the CallLog and looked at CallItem.Date but when i'm converting it to DateTime.Time(c.Date) it gives me the wrong time am I doing something wrong, or only the date is stored / or exposed here and not the actuall cal time ? thanks
is there a way to find out what time a call started or ended i'm browing the CallLog and looked at CallItem.Date but when i'm converting it to DateTime.Time(c.Date) it gives me the wrong time am I doing something wrong, or only the date is stored / or exposed here and not the actuall cal time ? thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2012 #2 The time returned should be correct. I tried the following code and it returns correct results: B4X: Sub Activity_Create(FirstTime As Boolean) Dim cl As CallLog For Each c As CallItem In cl.GetAll(10) Log(DateTime.Time(c.Date)) Next End Sub Upvote 0
The time returned should be correct. I tried the following code and it returns correct results: B4X: Sub Activity_Create(FirstTime As Boolean) Dim cl As CallLog For Each c As CallItem In cl.GetAll(10) Log(DateTime.Time(c.Date)) Next End Sub
M melamoud Active Member Licensed User Longtime User Nov 9, 2012 #3 thanks, this is what I did, my problem was that I was not waiting few seconds before accessing the log and only saw older calls not the last one thanks Upvote 0
thanks, this is what I did, my problem was that I was not waiting few seconds before accessing the log and only saw older calls not the last one thanks
M melamoud Active Member Licensed User Longtime User Nov 15, 2012 #4 The problem is that I do not have the ring time if I listen to the event and store the 'now' yhime when my function get called its not the same as the call log time up to 20 sec difference when the phone is under load Is there a way to get the ringing time? Thanks Upvote 0
The problem is that I do not have the ring time if I listen to the event and store the 'now' yhime when my function get called its not the same as the call log time up to 20 sec difference when the phone is under load Is there a way to get the ringing time? Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2012 #5 This is the only stored date. Upvote 0