Category Archives: Tutorials

Open Web Browser in Android with Specific URL Example Code

android-logoHow to Open Web Browser in Android Programmatically

Here we will learn the simple way to open web browser in android with a webpage or link (specific URL) from your Android application. It is very simple to launch a web page programmatically from your android application. We will use android intent to open web browser here.

Android Start Service on Boot Automatically

Android Start Service on BootAndroid Start Service on Boot Automatically (Autostart Android Application)

Here we will learn about Android Start Service on Boot Automatically (Autostart Android Application). That means we will learn the simplest way to start an Android service or an application at device boot up. It is very simple. First we will register an Android event called ‘android.intent.action.BOOT_COMPLETED’. Then we will capture this event when boot up completed and start our service. Then we will start our app from the service.

Communication Between Service and Activity in Android Example

Communication Between Service and Activity in Android (2 Way communication)

After posted a complete tutorial on simple Android service with example. Now it is time to learn the real usage of Android service in  an Android application. So here we will discuss on the communication between service and activity in Android (startService, stopService onStartCommand etc). So lets going to the coding part e.g , how to communicate between Android Service and Android Activity.

Simple Android Service Example Code Description(Start/Stop Service)

Simple Android Service Example with Code Description

Here we will learn about Android Service Example with detailed code description. Also you can download Android service example source code from here. Lets first discuss what exactly Android service means? Then will discuss different types of Android services, Then we will go for complete Android Service Example and code description.

Android SharedPreferences Example Code(Save User Data)

Simple Android SharedPreferences Example with Code Description

Here we will discuss about Android SharedPreferences example with source code and description. That means we will learn about how to store persistent user data in our own Android application and get it back when required. Also we will learn how to add, edit, retrieve (fetch), load, store, delete and update data in Android SharedPreferences. Android provides different

Android Screen Orientation Change (Screen Rotation) Example

Android Screen Orientation Change (Screen Rotation) Example with Code Description

Know everything about Android Screen Orientation Change (Screen Rotation Change) Example with Code Description. We will discuss all possible Android Screen Orientation Change in details with help of a simple Android Activity Example. Also you can learn how to do android screen orientation lock here. Also you can change your screen orientation any time you want in an Android application.