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

Explain String vs StringBuilder vs SpannedString vs SpannableString vs SpannableStringBuilder vs
CharSequence ?

expert

What happens if the user navigates away or closes the app while I still have a reference to the Activity
the user just closed in my AsyncTask ?

middle

What is Implicit Intent?

Bình luận

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

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