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

Explain briefly all the Android application components

Câu trả lời

Here is a concise explanation of the main Android application components:

Activities

Activities represent a single screen with a user interface. They are the entry point for user interaction with the app. Each activity is independent and can be started by the system or other applications using an intent. Activities have a lifecycle that defines how they are created, used, and destroyed[1][3][4].

Services

Services run in the background to perform long-running operations or to provide functionality for other components. They don't have a visual interface. Services can be started by activities or other components and continue running even when the starting component is destroyed[1][2][4].

Broadcast Receivers

Broadcast receivers respond to system-wide announcements. They act as a gateway for system-wide events to enter the app. Broadcast receivers can be used to update the UI, start services, update data, etc. in response to system events like low battery, network connectivi...

junior

junior

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

middle

What is the difference between ListView and RecyclerView ?

senior

Is a Dalvik virtual machine instance created for each application?

senior

What is the difference between Android Timer and a Handler to do action every N seconds?

Bình luận

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

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