Category Archives: Android Tutorial

Android Start Activity for Result Example

Android Start Activity for Result

Here we will learn how to use an  Android Start Activity for Result with Example, which will return some required results from user to it’s parent Activity. So let’s discuss about Android Start Activity for Result Example with Source Code. Here we will start a new activity from it’s parent Activity. when user will put some input data into that activity and close/finish that input activity, we will send notification to the parent activity with the input data. It is very simple.

Android Activity Lifecycle Example Code Description

Learn about Android Activity Lifecycle with Example

Before going to use Android Activity in your application, We need to learn about complete details of an Android Activity Lifecycle. Let go through Android Activity Lifecycle Example Code Description. We will discuss about all real time scenarios and different states of an Android Activity. Once you download the complete sample code example from below, then you can find inline code description for an Android Activity. 

Android Start New Activity Example

Learn About Android Start New Activity Example

Here we will learn about Android Start New Activity Example.  This is the simplest way to start a new activity in android. First we will create  a new Android Activity and then start a new android activity from another Activity. Also we can start a new android activity from any other components (like from Android Services, Button click etc). To make the example very clear, We will create a new activity and start the activity from another activity’s button click event. We can also find the complete code description here.

Android Activity Dialog

Android Activity Dialog

Here we will learn how to use Android Activity Dialog. Here We will learn the simplest way to display an Android activity as a Dialog.  When you will display the android activity as a dialog, it will work as a modal dialog. That means user can’t access it’s parent activity unless until the  dialog activity will be destroyed. Once the dialog activity will close, then only it’s parent activity will get focus.

Android Permissions List With Example

Android Permissions List With Example

Here we find complete Android Permissions List With Example. Here we will learn details about list of all Android Permissions along with very simple example. Android applications use different android permissions for different modules while developing android applications. For example: If we develop an android application for phone contact module, then we need to add the 2 android permissions (android.permission.READ_CONTACTSandroid.permission.WRITE_CONTACTS) to access Phone contact module in