1) Read .csv file from phone, 2) Seach for a keyword 'Apple4321' 3) If keyword found, then look for the nearest word if it is 'send' 4) If the word 'send' is found do some action like 'play music'

Your blocks work, if

  1. a notification is received while your app is up and running and
  2. the text file is owned by your app

From the documentation App Inventor Extensions: Notification Listener | Pura Vida Apps

Event indicating that a notification has been received.
If your app is up and running, new notifications can be received via this event.

If you want to have it working in the background, you additionally need itoo...

See again Notification Listener (powered by itoox-wrapper) and Itoo

Taifun

1 Like