Home / Community / FIT5046 - Week 8: Network Connection in Android and Retrofit
Public

FIT5046 - Week 8: Network Connection in Android and Retrofit

50 accessible of 50 cards

Card Preview

50 accessible of 50 cards

A quick, read-only look at the deck content.

Term

What Kotlin delegate keyword is used to defer Retrofit instance creation until it is first accessed?

Definition

'by lazy' (lazy initialization).

Term

What is a Public Web API (Application Programming Interface)?

Definition

An open interface that provides client applications with access to remote business logic, data, and services over the internet using standard protocols like HTTP.

Term

What architectural style forms the foundation of modern Web APIs?

Definition

Service-Oriented Architecture (SOA) and REpresentational State Transfer (REST) protocols.

Term

What data format is most commonly used for sending requests and receiving responses in modern mobile Web APIs?

Definition

JSON (JavaScript Object Notation).

Term

What are the main components of a RESTful HTTP request URL?

Definition

Scheme (e.g., https), Base URL (domain host), Endpoint path, and Query parameters (key-value pairs).

Term

What Android permission must be declared in AndroidManifest.xml to perform network requests?

Definition

<uses-permission android:name=android.permission.INTERNET />

Term

Where inside AndroidManifest.xml must the INTERNET permission tag be placed?

Definition

Directly inside the root <manifest> tag, outside of the <application> tag.

Term

Why is INTERNET categorized as a normal permission in Android?

Definition

Because it is granted automatically upon app installation without requiring a runtime permission dialog popup.