What is intent setAction?

What is intent setAction?
Answer
The action string, which identifies the broadcast event, must be unique and typically uses the application’s Java package name syntax. For example, the following code fragment creates and sends a broadcast intent including a unique action string and data: Intent intent = new Intent(); intent. setAction(“com. example.
 

Tìm kiếm

Back
Top