google/paco — pull request #950 by philadams (2014-08-05 19:06:48+00:00)
Title: Persist data broadcast to Paco via a Paco action

This pull request adds the capability to persist data sent from another app via a Paco action Intent, without adding a notification for user input.

This capability is administered on the server in the experiment set-up in a new 'background listening' panel. The panel contains a checkbox (should this experiment listen on this broadcasts?) and a text field (which identifier should Paco listen for?).

If the Paco app receives a Paco action Intent, and has a joined and running experiment that should be doing such background listening, then:

- the Paco app creates a new Paco Event
- loads that Event up with Output key,value pairs from the Intent's extras
- the event is inserted into the ExperimentProviderUtil
- the sync service is notified