Category Archives: ANDROID

Send Data when Clicking on a Notification in Android?

By | March 10, 2012

Hello everyone… I have shown in my previous tutorials on how to create notification in android and cancel it. This is the post showing this . Now today I am going to show how to send data when you click on the notification message. Here I am creating two activities. One the main activity that… Read More »

New features in Android GingerBread OS version from Google

By | March 8, 2012

1. Support for Mobile Payments Android phones which have android gingerbread option will help you pay all your bills through your mobile phone. No need to wait in line or switch on your computer to pay bills. Sit in your office and pay your bills using android OS gingerbread. 2. One Touch Copy and Paste… Read More »

Now you can upload APK's up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

Now you can upload APK’s up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

Now you can upload APK’s up to 4 GB.

By | March 6, 2012

Yes, Google has announced that from now on you can upload APK’s up to 4GB. This is an effort to accommodate apps that require more local storage. Previously Google had made a limitation of 50MB for apps but due to the intervention of high speed 3D games and other Google has decided to increase the… Read More »

How to use Calendar in Android?

By | June 18, 2012

Hello all……. In today’s post I will show you how to use Calendar in android. Actually it is really easy to use calendar in android. For that android provides a calendar widget. We use calendar class to show the Calendar widget. Here is the java source code for this example. This is the main.xml for… Read More »

Google Alternative of Siri Likely to come out in Q4 2012.

By | March 4, 2012

Yes, Google is planning to release an alternative for Siri in the near future. According to google the new Alternative will be called “the Assistant”. Assistant will go beyond what Siri can do according to google. As first reported by Tech Crunch, it seems Google is prepping a major release of its voice assistant this… Read More »

A Simple Layout with two listViews.

By | April 24, 2012

Here is a simple example to show two listviews horizintally in android. here is the java code that sets up the list. Here is the main.xml file. Here is the layout for each row in the list . Here is the complete source code for this example.

Custom GridView in android. A simple example.

By | June 15, 2012

Hello all……….. Android has been absoultely wonderful for customizing widgets. I have shown a lot of example to customize ListViews, spinners etc. Today I will show you how to customize gridviews. Using this method you can actually place anything inside a gridview even a webview also. So here we start. We customize a gridview by… Read More »

How to Sort a String array in Android.

By | June 15, 2012

Hello all…. This is a simple example showing how to sort a string array which is a arraylist in android. we sort the array using the “Collections” class in android. Here is a simple example Take a look at the LogCat for the output.

ListView with Sections in android.

By | May 3, 2013

Hello all………. We have seen many posts about ListViews like creating a listview, adding data to it, customizing a listview etc. Take a look at some of these examples 1. Single Selection ListView in android 2. Flitering a ListView using an input from an EditText in Android. 3. How to create a custom ListView in… Read More »

Sony's new HD Android SmartPhone Sony Xperia S – Really Smart.

By | February 21, 2012

Features include GENERAL 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 900 / 2100 – LT26i HSDPA 850 / 1900 / 2100 – LT26a BODY Dimensions 128 x 64 x 10.6 mm Weight 144 g – Touch-sensitive controls DISPLAY Type LED-backlit LCD, capacitive touchscreen, 16M colors Size 720 x 1280… Read More »

Sony’s new HD Android SmartPhone Sony Xperia S – Really Smart.

By | February 21, 2012

Features include GENERAL 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 900 / 2100 – LT26i HSDPA 850 / 1900 / 2100 – LT26a BODY Dimensions 128 x 64 x 10.6 mm Weight 144 g – Touch-sensitive controls DISPLAY Type LED-backlit LCD, capacitive touchscreen, 16M colors Size 720 x 1280… Read More »

Sony’s new HD Android SmartPhone Sony Xperia S – Really Smart.

By | February 21, 2012

Features include GENERAL 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 900 / 2100 – LT26i HSDPA 850 / 1900 / 2100 – LT26a BODY Dimensions 128 x 64 x 10.6 mm Weight 144 g – Touch-sensitive controls DISPLAY Type LED-backlit LCD, capacitive touchscreen, 16M colors Size 720 x 1280… Read More »

How to use global variables in android? -Part 2

By | June 12, 2012

Hello all…. In a previous post I showed a method to share global variables across your android application. Those were done using a static class. Now today I will show you another way of sharing global variables across the application Check these posts for sharing data across the application. 1. http://coderzheaven.com/2011/05/global-variables-in-android/ 2. http://coderzheaven.com/2011/05/global-variables-in-android%e2%80%a6/ 3. http://coderzheaven.com/2011/03/passing-data-between-intents-in-android/… Read More »

Evi more intelligent than Siri and Iris

By | May 16, 2013

Ever Since the launch of Siri in iOS smartphones has become more user friendly and funny for people. After that Iris was launched a rival for Siri, this too was a big hit. A little bit about Siri The application uses a natural language user interface to answer questions, make recommendations, and perform actions by… Read More »

Angry Birds Again, Angry Birds Space, the new Angry Birds coming.

By | May 16, 2013

We know Angry Birds have conquered almost all tablets and now the completely new edition is launching this March. Acoording to the reports the new game will be launched on March. Angry Birds Space already has an official website with an image of a slingshot on the Moon overlooking Earth. The official blog spot says… Read More »

Listening to EditText input in Android using TextWatcher.

By | February 16, 2012

Hello all……. In todays post I will show you how to listen to an EditText input in Android. Often we need this in our applications. We implement this with the help of TextWatcher class. Here is the java code for this. Here I am checking whether the input value in the edittext is between 20… Read More »

Listening to checkBox stateChange in Android

By | February 14, 2012

This is a simple example showing how to listen to checkbox in android. To check whether the checkbox is in on state or in off state just add a listener to the checkbox you want to listen. This is how we do this. ch.setOnCheckedChangeListener(new OnCheckedChangeListener() { }); This is the layout contaning a checkbox. This… Read More »

How to change the activity orientation through java code in android?

By | February 11, 2012

Here is a simple way to change the orientation of the activity in android Through java code we do this…. Through xml we do this Following are two other values that you can specify in the android:screenOrientation attribute: ➤➤ portrait — Portrait mode ➤➤ sensor — Based on the accelerometer Please leave your valuable comments.

How to place layouts one over another in android using addContentView()?

By | February 10, 2012

Hello all… In today’s tutorial I will show you how to add different layouts one over another in android through java code. For this we use the function addContentView() which is a variation on setContentView(View, android.view.ViewGroup.LayoutParams) to add an additional content view to the screen. Here I will create an xml with a textView and… Read More »

How to use Preferences in android?

By | February 9, 2012

Hello all… Today I will show you how to use preferences in android? First we will create preferences using Create a folder named “xml” inside the “res” folder and inside that create an xml named “preferences.xml”. Now create a java file named “PreferenceDemo.java” in your src folder and copy this code into it. Now in… Read More »