WebSocket is a two-way communication protocol over a TCP. WebSocket provides a persistent connection between a client and server. It means that both of them can send data at any...
Android allows to read SMS messages using Telephony Provider. It manages access to a central repository that stores the data related to phone operation, SMS and MMS messages. The Telephony...
When developing an application that uses Internet access, we often need to load an image from a URL and display it into ImageView. To do that, we can use AsyncTask...
Android contains a permission system. Permission is the right given to an application to allow access to restricted resources. If an application wants to use restricted resources, the app should...
Settings allow users to change the application behavior and functionality. Preferences screen can be integrated into the application using the AndroidX Preference Library. It manages preferences displayed on screen and...
Google Maps is a web-based mapping service that can be integrated into an Android application.
The Google Maps Android API is a part of the Google Play Services. So, we...
An alert dialog is a popup window that is displayed in front of the current content. It asks the user to make a decision or enter additional details. An alert...
A toast is a small popup message that appears on the screen. A toast can inform about running processes and automatically disappears after a few seconds. The size of toast...
A snackbar is a small banner that appears at the bottom of the screen. A snackbar provides a short message about running processes and automatically disappears after a few seconds...
A time picker dialog is a popup window that allows to select a time. For this functionality, Android provides the TimePickerDialog class.
A layout XML file contains a Button that...