AppInventor: Tutorial Mengirim Automatis SMS Lokasi Handphone

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://www.appinventor.org/content/howDoYou/Conditionals/where


Example 2. How do you auto-respond to a “WHERE” text from a particular person?

If your child or friend leaves this app running, you can always find out where they are by sending a “WHERE” text to them. This code illustrates a complex if-test, one with an “and” clause, as you must test that both the sender is a particular phone number and the text sent was “WHERE”. If both are true, a text auto-reply is sent back to the phone number.

Appinventor-sms-lokasi.png


Referensi