Android

Android Fundamentals

The 4 core components (Activity, Service, BroadcastReceiver, ContentProvider), Intent and Manifest

24 pytań z rozmów·
Junior
1

What is an Activity in Android?

Odpowiedź

An Activity represents a single screen in an Android application. It's a fundamental component that manages the user interface and interactions. It must be declared in the AndroidManifest.xml to be used.

2

What is the main difference between Activity and Fragment?

Odpowiedź

A Fragment is a modular and reusable sub-component that must be hosted within an Activity. An Activity is a standalone component representing a complete screen. An Activity can contain multiple Fragments, but a Fragment cannot exist without an Activity.

3

What is the AndroidManifest.xml file used for?

Odpowiedź

The AndroidManifest.xml file is essential for every Android application. It declares all app components (Activities, Services, Receivers, Providers), defines permissions, intent-filters, specifies metadata and the minimum supported Android version.

4

How do you declare an Activity in AndroidManifest.xml?

5

What is an Intent in Android?

+21 pytań z rozmów

Opanuj Android na następną rozmowę

Uzyskaj dostęp do wszystkich pytań, flashcards, testów technicznych, ćwiczeń code review i symulatorów rozmów.

Zacznij za darmo