Creating a Custom Toast View
Normal Toast can create only with simple text but we can customize Toast using custom layout. In custom layout we can define the design and pass root view object to…
Passing Data Using Intents
We have invoked one Activity from another passing an action. Now we will learn how to transfer data. We will make the simplest application. On the first screen we will…
Explicit Intent
Explicit Intent specifies the component. In such case, intent provides the external class to be invoked. Intent i = new Intent(getApplicationContext(), ActivityTwo.class); startActivity(i); To get the full code of explicit intent,…
Data binding
Data Binding support was added to Android last year. In this example lets see how to implement Data Binding in Android application. In simple terms, the View is tied to…
Network Checking
Determining and Monitoring the Connectivity Status Some of the most common uses for repeating alarms and background services is to schedule regular updates of application data from Internet resources, cache…