Android

Android Fundamentals

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

24 gespreksvragen·
Junior
1

What is an Activity in Android?

Antwoord

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?

Antwoord

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?

Antwoord

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 gespreksvragen

Beheers Android voor je volgende gesprek

Krijg toegang tot alle vragen, flashcards, technische tests, code review-oefeningen en gespreksimulatoren.

Begin gratis