AppInventor: Tutorial Mengirim Automatis SMS Lokasi Handphone

From OnnoWiki
Revision as of 09:24, 1 October 2015 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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