How to read sms?

gobblegob

Member
Licensed User
Longtime User
Hi this is in the help documentation. http://www.b4x.com/android/help/phone.html#smsmessages
It gets all the sms from the last week.

B4X:
Dim SmsMessages1 As SmsMessages 
Dim List1 As List 
List1 = SmsMessages1.GetAllSince(DateTim 0, 0, -7)) 
For i = 0 To List1.Size -1 
Dim Sms As Sms 
Sms = List1.Get(i) Log(Sms) 
Next


Waz.
 
Last edited:
Top