Reputation: 61
Generally speaking.
I have an app that can receive data from Google APP Engine via Google Cloud MEssaging (GCM).
In one instance an Activity-X will call a http-get towards the GCM server which will trigger a GCM message back to the APP. The APP has a Service extended from GCMBaseIntentService to register and receive GCM messages. So that part works, Activity-X does and this triggers a GCM message from server to APP. The APP's GCMBaseIntentService gets triggered and receives the data.
how do i get the received data back to the activity which called the ?
Upvotes: 0
Views: 471
Reputation: 81399
Create an Intent
which your custom action, fill its extras with the data, and send it to the Activity
.
Upvotes: 1