Example
of the specification of a triggering event: Let's take as an example an app that helps its users
navigate the public bus system. External triggering events for this app may be:
Event Title |
Triggering
Mechanism |
Attached Data |
Adding or changing a bus route |
An Intent sent to an Activity. The intent name is "edu.pitt.cs1699.team1.ROUTE" |
A Bundle with the following (key, value) pair: "data": a JSON string of the following schema: { "Direction0": { "DirectionNum":
"0", "DirectionText":
"INBOUND", "Stops": [ { "Lat":
39.011724, "Lon": -76.910024, "Name": "Stop 1", "StopID":
"3003037" }, { "Lat":
39.011278, "Lon": -76.904326, "Name": "STOP 2", "StopID":
"3002579" } }, "Direction1": { "DirectionNum":
"1", "DirectionText":
"OUTBOUND", "Stops": [ { "Lat":
39.191491, "Lon": -76.673025, "Name": "STOP 3", "StopID":
"3003039" }, { "Lat":
39.181777, "Lon": -76.672053, "Name": "STOP 4", "StopID":
"0" } }, "Name": "Negley", "RouteID":
"71A" } |