Intent là object nhắn tin để yêu cầu một hành động từ component khác trong app.
- Explicit intent chỉ định chính xác component cần khởi động (ví dụ mở một Activity cụ thể trong app).
- Implicit intent khai báo action mà không chỉ định component, để hệ thống tìm app phù hợp xử lý (ví dụ mở URL trong browser).
- Cả hai loại đều có thể truyền dữ liệu qua bundle.
Intents are messaging objects used to request an action from another app component.
- Explicit intents specify the exact component to launch (e.g., starting a specific Activity in your app).
- Implicit intents declare an action without specifying the component, letting the system find the appropriate app to handle it (e.g., opening a URL in a browser).
- Both types can pass data through bundles.