Difference between revisions of "AppInventor: Tutorial Mengirim Automatis SMS Lokasi Handphone"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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...)
 
 
Line 8: Line 8:
  
 
[[Image:Appinventor-sms-lokasi.png|center|200px|thumb]]
 
[[Image:Appinventor-sms-lokasi.png|center|200px|thumb]]
 
 
 
 
 
 
 
  
  

Latest revision as of 09:24, 1 October 2015

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