Send data from Service back to my activity
问题 I have an activity that creates an intent, puts some extras with putExtra() and calls the startService(intent) to start a service. This service calculates some stuff based on the extras and then I want to send the result back to the activity. In which way can I do this? I tried to create an intent on my service and broadcast it using sendBroadcast(). I have a broadcastReceiver on the activity but Im not sure if I register it correctly. Im confused! Is there any other way to do so? Something