CanguroCode Active Member Licensed User Longtime User Aug 11, 2015 #1 I have the next questions: 1. Where are stored the SMS messages? In other words when i call the code: Code: Copy Dim sms1 As SmsMessages Dim smsList As List smsList=sms1.GetAll how are obtained the SMS information? from default sms database? 2. If my app is the default SMS app, the SMS continues saved in the same place? or should I decide where to save? 3. If my app saves in other database (diferent name, diferent path) the code: Code: Copy smsList=sms1.GetAll still works? My apologies for my English
I have the next questions: 1. Where are stored the SMS messages? In other words when i call the code: Code: Copy Dim sms1 As SmsMessages Dim smsList As List smsList=sms1.GetAll how are obtained the SMS information? from default sms database? 2. If my app is the default SMS app, the SMS continues saved in the same place? or should I decide where to save? 3. If my app saves in other database (diferent name, diferent path) the code: Code: Copy smsList=sms1.GetAll still works? My apologies for my English
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2015 #2 SMS messages are stored somewhere in the system. You cannot change this location. Upvote 0
CanguroCode Active Member Licensed User Longtime User Aug 12, 2015 #3 Erel said: SMS messages are stored somewhere in the system. You cannot change this location. Click to expand... Ok but when i put my app like default SMS app, the SMS are not saved in the regular storage (actually are not saved) , so, Should I create my own system to store incoming sms? Upvote 0
Erel said: SMS messages are stored somewhere in the system. You cannot change this location. Click to expand... Ok but when i put my app like default SMS app, the SMS are not saved in the regular storage (actually are not saved) , so, Should I create my own system to store incoming sms?
Erel B4X founder Staff member Licensed User Longtime User Aug 14, 2015 #4 You can use the code posted here to add the messages: https://www.b4x.com/android/forum/threads/inserting-sms-into-inbox-or-outbox.44917/#post-274965 Upvote 0
You can use the code posted here to add the messages: https://www.b4x.com/android/forum/threads/inserting-sms-into-inbox-or-outbox.44917/#post-274965