Aug.11
Interview: Android – Network
Question: What are HTTP Client and REST Client?
HTTP Client is a client which is able to send requests and get responses from server in HTTP format.
REST Client is a client which is designed to use services from servers. These services are RESTFUL and use HTTP protocols.
Question: What is Parsing JSON?
Parsing = Interpreting.
JSon = Format specification.
Parsing JSON means interpreting data with a programming language.
Question: What is JSON Serialization/Deserialization?
JSON is a format that encode objects in a string.
Serialization means converting an object into a string and deserialization means converting a string into an object.
Question: What are Push Notifications?
Notification is a message that pops up on the user’s device. Notifications can be triggered locally by an open application, or they can be “pushed” from the server to the user even when the app is not running.
Push Notifications are assembled using two APIs: Notifications API and Push API. Notifications API lets the app display system notifications to the user. Push API allows a service worker to handle Push Messages from a server, even while the app is not active.