Answers to Self-Review Exercises
-
web service.
Representational State Transfer (REST).
org.json
.HttpUrlConnection
.ListView
.FloatingActionButton
.
-
True.
False. Though REST itself is not a standard, RESTful web services use web standards, such as HyperText Transfer Protocol (HTTP), which is used by web browsers to communicate with web servers.
True.
False. JSON (JavaScript Object Notation)—a simple way to represent JavaScript objects as strings—is an alternative to XML for passing data between the client and the server.
False. Arrays are represented in JSON with square brackets.
True.
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.