Skip to first unread message

Stephen Biggs

unread,
Jun 25, 2016, 7:34:50 AM6/25/16
to MIT App Inventor Forum
hello i have about 19 tiny db result how do u send to a sms or email  please 
or can i make a txt doc of the results and send it to a sms or email address 
help need  please 

Taifun

unread,
Jun 25, 2016, 9:17:45 AM6/25/16
to MIT App Inventor Forum
use the join block to join your values, then use one of the email solutions to send it
one of the tutorials shows you how to send an SMS...

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         




Stephen Biggs

unread,
Jun 25, 2016, 10:17:25 PM6/25/16
to MIT App Inventor Forum
thanks for the   reply but i cant see  in the books  how so sent sms like the image 
Image2.jpg

Taifun

unread,
Jun 26, 2016, 10:38:51 AM6/26/16
to MIT App Inventor Forum
why are there duplicate blocks?
just do it like this


however on first run of the app, you will send an empty text as message, is this what you want to do?
Taifun

Stephen Biggs

unread,
Jun 26, 2016, 11:01:28 PM6/26/16
to MIT App Inventor Forum
i have removed the other tinybd4  line 
the tinydb 4 is from, the other screen 

Image2.jpg

Stephen Biggs

unread,
Jun 26, 2016, 11:04:28 PM6/26/16
to MIT App Inventor Forum
i remove the other tinydb block and it still does not work do i have to put the international mobile number in eg +61

Taifun

unread,
Jun 27, 2016, 10:39:19 AM6/27/16
to MIT App Inventor Forum
as already said, do the tutorials
and set the phone number and text before trying to send


also are you aware that there is only one TinyDB?

Each app has its own data store. There is only one data store per app. Even if you have multiple TinyDB components, they will use the same data store. To get the effect of separate stores, use different keys. You cannot use the TinyDB to pass data between two different apps on the phone, although you can use the TinyDB to share data between the different screens of a multi-screen app. 

Taifun

Stephen Biggs

unread,
Jun 27, 2016, 10:47:40 AM6/27/16
to MIT App Inventor Forum
i worked it out  now i want to know how do i make some of the txt go on new line 

Stephen Biggs

unread,
Jun 27, 2016, 10:50:55 AM6/27/16
to MIT App Inventor Forum

Taifun

unread,
Jun 27, 2016, 10:51:30 AM6/27/16
to MIT App Inventor Forum
i worked it out 
you might want to post a screenshot with your solution to help others with the same problem

 i want to know how do i make some of the txt go on new line
see my answer in your other thread https://groups.google.com/d/msg/mitappinventortest/ZbuMxt8NvnY/va7oV2mwBAAJ..
btw. it always helps to add a screenshot of your relevant blocks to see what you are doing and where the problem might be...

Taifun

Abraham Getzler

unread,
Jun 27, 2016, 11:28:47 AM6/27/16
to MIT App Inventor Forum
Ususally, \n means "new line" in text.

I don't know if that works in SMS text messages.

Also, look in the text blocks for the JOIN block.
Use it to build up one long text from a bunch of small ones.

ABG

Reply all
Reply to author
Forward
0 new messages