Junior
What is the difference between action and category in an Intent?
sobes.tech AI
Answer from AI
Action describes the intention to perform an action (for example, ACTION_VIEW for viewing data). Category provides additional information about the type of action or component that can handle it (for example, CATEGORY_LAUNCHER for the main screen). One Intent can have multiple categories, but only one action. Action defines what needs to be done, category — how, or in what context.