Display Time Picker Dialog in Android

Display Time Picker Dialog in Android

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 displays a…
Display Date Picker Dialog in Android

Display Date Picker Dialog in Android

A date picker dialog is a popup window that allows to select a date. For this functionality Android provides the DatePickerDialog class. A layout XML file contains a Button that displays a…
Read Contacts in Android

Read Contacts in Android

Android allows to read contacts using Contacts Provider. It manages access to a central repository that stores the contact details of the people. The Contacts Provider is a content provider…
Capture Location in Android

Capture Location in Android

Android allows to capture current location of the device and we can build location-aware applications. When developing location aware-application we can choose location provider. It provides periodic location reports of…
Display Web View in Android

Display Web View in Android

A web view allows to display web pages inside application without opening a browser. Web view only displays a page and does not provide the browser features, such as an…
Show Notification in Android

Show Notification in Android

A notification is a message that appears outside an application's UI to get user attention, provide reminders, notify about events, etc. A typical notification consists of small icon, title, and…
Save Data in Android Internal Storage

Save Data in Android Internal Storage

Internal storage is used to save and retrieve the application's private data. Other applications don't have access to this data. Files will be removed when the user uninstalls the application.…
Integrate OpenCV 4 into Android via Gradle

Integrate OpenCV 4 into Android via Gradle

OpenCV is an open source library that can be used for image processing, computer vision, machine learning, etc. OpenCV 4 can be easily integrated into Android via Gradle using com.quickbirdstudios:opencv…
Display List View in Android

Display List View in Android

A list view is a scrollable list that displays a list of items. A ListView class is used to create a list view. It is empty and requires an adapter…