You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Hello All,
I am trying to develop an app using App Inventor. When an SMS message is got in an android mobile, I have written an app to show the message if it contains a particular keyword. Also, I am planning on saving the message details in the database. I would now like to delete that SMS. Can you please let me know how App Inventor can be used to delete SMS messages. Thanks
-Ashwini
SteveJG
unread,
Aug 7, 2018, 2:36:42 PM8/7/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
App Inventor 2 probably cannot delete SMS messages programably and no app can do it since KitKat (4.4). This is probably one of Google's security precautions. See https://stackoverflow.com/questions/46482005/delete-sms-from-another-activity-android for how it might be done using INTENTS for versions of Android lower than 4.4. The advice might work. Intents are implemented in App Inventor 2 by using the Activity Starter.
For practical purposes, this cannot be done other than manually using the page that displays the device's sms messages.