What does setAction () do for intent (Broadcast)
问题 What does setAction () do in intent (Service) I don't really get what setAction () does, I mostly found it in " service to activity data passing " example. Can the string be set freely ?. What does it do exactly ? When a broadcast intent is created, it must include an ACTION STRING in addition to optional data and a category string. As with standard intents, data is added to a broadcast intent using key-value pairs in conjunction with the putExtra() method of the intent object. The optional