Câu hỏi phỏng vấn Android
Câu hỏi

What is Intent Filter?

Câu trả lời

Intent Filter

An Intent Filter in Android is a mechanism that allows an app to specify the types of intents it can handle. It acts as a filter that intercepts intents and determines whether the app can process them or not. Intent Filters are defined in the app's manifest file (AndroidManifest.xml) and are used to specify the following:

  1. Action: The action to be performed, such as VIEW, EDIT, SEND, etc.
  2. Data: The type of data the app can handle, such as text/plain, image/*, http://, etc.
  3. Category: The category of the intent, such as LAUNCHER, BROWSABLE, etc.

When an intent is sent, the Android system checks the intent filters of all installed apps to determine which app(...

middle

middle

Gợi ý câu hỏi phỏng vấn

middle

What is the difference between a Bundle and an Intent ?

middle

What is the difference between Handler vs AsyncTask vs Thread ?

middle

What are the differences between ArrayList and ArrayMap ?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào