ZOFTINO.COM

Saving Key Value Pairs in Android Using SharedPreferences API

SharedPreferences API provides framework to read and write key value pairs in Android. SharedPreferences API stores data in a file on the device.

Android IntentService Example

If your app has long running tasks, you may need to consider implementing services to run those log running operations in the background.

Android Bound Services & Inter Process Communication

Android bound service is a service component which allows clients-server communication. Depending on how bound service is implemented, inter process communication is possible between clients and bound service.

Android Services

Android service is a component like activity but runs in the background. Android service by default runs in the main thread. Android service is used to perform tasks in the background without user interaction.

Long Running HTTP Downloads in Android

If your app needs to download large files which take time, the best option to perform long running downloads is to use android system provided DownloadManager.

Get & Post Data Using HTTP Library Volley in Android

Using any HTTP client, android apps can get data from and post data to server. Using simple http client library in your app requires you to write a lot of code to handle http connections, concurrent requests, threads, pooling, data cache, request prioritization and cancelling requests.

How to Create Browse Files Option in Android

Android provides storage access framework (SAF) using which an app can provide options such as browse, read and write files. Storage access framework consists of document providers, client app and picker.

How to Use SQLite Database in Android

SQLite database is a relational database which is embedded in android system and is used to store structured data in android apps.

Android Contacts Provider

In android data about people is stored in a central repository. This repository is managed by contacts provider. Adding, modifying and retrieving data about people can be done using contacts provider.

How to Read and Write Calendar Data in Android

If your application functionality or feature needs user calendar information, your app can get the calendar data using calendar provider or calendar intents.

Android Content Provider

If your application has data that is useful to other apps on a device, your app can share the data with other apps using content provider. Android provides a mechanism or framework to allow apps share data with other apps.

Android View Hierarchy Animation Using Transition Framework

Change in state of a view hierarchy can be animated using transition framework. Meaning, on an event in an activity, all view changes from current state to target state can be animated using transition framework.