App Inventor Extensions


Texting Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor Extensions forum. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

May 31st, 2016: Initial Version released

Aug 11th, 2016: Version 1a: avoid DX execution failed error: build each extension separately

Description

This extension enables you to read all SMS from the inbox, draft and sent folders of the device.
Required permission: android.permission.READ_SMS

Note: This extension uses an undocumented and unsupported content provider, following this solution, which means, this probably will not work on all devices, see also Be Careful With Content Providers.

Methods


Read all SMS from inbox, sent and draft folder.

Note: The companion app does not offer the permission READ_SMS. Therefore you have to build the app to be able to use this block.

Events


Event indicating that reading SMS from inbox, sent and draft folder has been finished.

The result will be provided in JSON format. You can convert the result into a list using the JsonTextDecode block from the Web component, see the example app below.

Structure of the result
The following information will be provided for each SMS:

Example App: Read SMS Test


Screenshots:

you have to buld the app to be able to use this method!

after reading, you will receive the result in JSON format

after converting the result into a nicer format using address, body and date

Do you need help with your App Inventor project?

I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. Thank you.

Terms and Conditions

Download


If you find this example helpful and you are using it in one of your projects,
be nice and donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:
1Jd8kXLHu2Vkuhi15TWHiQm4uE9AGPYxi8
Bitcoin

Thank you! Taifun
 

Download TaifunTexting extension (aix file)
Download Read SMS Test (aia file)
Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.


Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact