Create simple login form with validation android.

create simple android login form with validation In this tutorial we are going to create android login window, first create activity_main.xml 1. Create MainActivity.java file package com.example.loginform; import android.support.v7.app.ActionBarActivity; import android.annotation.TargetApi; import android.os.Build; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public…

Fire an alarm when device is boots

Fire an alarm when device is boots. You can set repeating alarm when device is reboot Here are the steps 1.Set the RECEIVE_BOOT_COMPLETED permission in your application’s manifest. This allows your app to receive the ACTION_BOOT_COMPLETED that is <uses-permission android:name=”android.permission.RECEIVE_BOOT_COMPLETED”/> 2. set receiver class in manifest <receiver android:name=”.AlarmReceiverOne”> <intent-filter> <action…