Android User Session Management using Shared Preferences

android user session management

Session are useful when you want to store user data globally through out the application. This can be done in two ways. One is storing them in a global variables and second is storing the data in shared preferences. The problem with storing data in global variable is data will be lost once user closes …

Android Loading Image from URL (HTTP)

android loading image from url

I am writing this tutorial as lot of people are asking me about loading an image into imageview. Just by adding url to ImageView won’t load directly. Instead we need to store the image into cache (temporary location) and attach to ImageView. This can be achieved just by calling couple of lines and don’t forget …

Android Detect Internet Connection Status

android detect internet connectivity

It is better to check internet connectivity status before making any HTTP Requests to avoid http exceptions. This tutorial will explain how to detect internet connection status in your applications. Create new Project 1. Create a new project in Eclipse IDE by filling required details. File ⇒ New ⇒ Android Project 2. After creating new …

Android Downloading File by Showing Progress Bar

android download file by showing progress bar

When our application does a task that takes a considerable amount of time, it is common sense to show the progress of the task to the user. This is a good User Experience practice. In this tutorial i will be discussing the implementation of a process-progress dialog. As an example, i am displaying a progress …

Page 1 of 212