Tag Archives: Launcher

Custom Spinner in Android Redone using BaseAdapter..

By | January 10, 2013

I have already shown another example of creating custom spinner in android in this post. That was by extending the ArrayAdapter class, Now it’s using the baseAdapter class. You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple… Read More »

How to pass an Object from One Activity to another in Android.

By | November 5, 2012

Hello all This is a simple post that shows How to pass an Object from One Activity to another in Android. I am going to pass the following object from One Activity to another. MyObject{ String name; String website; } This is the class that defines the Object. This is the first activity that sends… Read More »

How to pass an arraylist value from one activity to another in android?

By | October 28, 2012

This simple example shows how to pass an ArrayList from one activity to another in Android. This is the first activity on which we are sending the arrayList. MainActivity Now this is the Second activity in which we are receiving the passed arrayList. SecondActivity Please check the Logcat for the Output. Source code You can… Read More »

How will you create a custom Notification in Android with a custom Layout?

By | September 15, 2012

This sample application does that. First create an xml for your notification. custom_notification.xml Now the java code.

How to create shortcut for your application in the Desktop in Android?

By | April 7, 2012

Shortcuts are really useful feature in android. This example also explains how to create shortcut for your app in the desktop of your android phone. This is the complete code of an application which creates a shortcut of this app in the homescreen. Note : You need to add permission for this to work. Now… Read More »

How to make your activity appear like a dialog box in android?

By | February 5, 2012

Hello all.. Today I will talk about how to theme your activities the way you want. Besides that android provides many built in themes that you can use instead of all writing it yourselves. One of those kind is making the activity appear like a dialog box. Here is how you do it. After creating… Read More »

How to start with Google Maps in Android?

By | December 16, 2011

Hello everyone, in this tutorial I will show you how to start with Google Maps in android. Follow these steps while connecting to Google Maps in android. Create a project with “Google APIs” as the Base SDK. First, if you are testing the application on the Android emulator, locate the SDK debug certificate located in… Read More »

How to open browser in an ANDROID application? How to open a URL from an ANDROID application?

By | March 28, 2011

Hi all,In this tutorial I will show you how to open browser from an ANDROID application. This is done through intents. You know that intents are used to invoke other activities. So we here invoke the browser activity. The following code will open the default browser in your ANDROID phone. This is the manifest file… Read More »