Android Program to Vibrate Phone, in this post we will learn how to vibrate your Android phone. Here we are using android Vibrator class that operates the vibrator on the device. Vibrate for a Given Length of Time Before we proceed Click here to know how to install Android studio in Ubuntu. In order to […]
Uncategorized
Login Page Android Sample Program
This is a sample program for login to a activity from another using valid username and password. Before that click here for knowing how to install android studio . For creating Login page App first we have to create a new android project. For creating new project in android studio follow the instructions below File-> […]
Storing and Retrieving Data Using Shared Preferences
Storing and Retrieving Data Using Shared Preferences | in this tutorial, we will learn how to store and retrieve data using Shared Preferences in android. The primary purpose of using Shared Preferences in android is to store user specific details, such as user specific settings (eg: – username), when a user logged into the application. […]
Download Image using AsyncTask Tutorial in Android
Tutorial on Download Image using AsyncTask Tutorial in Android , you will learn how to download an image using URL address into your Android application. In the layout design, button click will start an AsyncTask class to begin downloading an image from a URL address specified in the Edittext control in your android application . Download […]
Android Theme Demo Example
This is a tutorial on usage of theme in android app. We can apply theme to a specific activity or apply to the whole app. We have already discussed the tutorial on style usage in android. Styles on Android allow you to separate your app design from the UI structure and behavior, similar to style […]
Android Broadcast Receiver tutorial
What is Android Broadcast Receiver? A broadcast receiver is an Android application component which allows you to register for system generated events or application events. All registered broadcast receiver for a particular event are notified by the Android runtime once the registered event fires. The Broadcast Receiver’s job is to pass a notification to the […]
Android Frame Layout Tutorial
Android Frame Layout is one of the simple layout to align user controls in the activity. There are number of layouts provided by android which you can use while developing android application to provide a good structure for your UI components. Android layouts are used to provide good look and feel to your android applications. […]
A Simple Android Activity Life-cycle Program
This is a simple example program for activity lifecycle in android. Activities in the android system are handled as an activity stack. When a new activity started, it placed on the top of the stack and it becomes running activity . The previous activity remain always below the new activity in the stack. The previous […]