Google Open Sources Android 4.0, Ice Cream Sandwich

The code for the latest version of Android — 4.0, also known as Ice Cream Sandwich — is now in the wild.

According to a post from Jean-Baptiste M. “JBQ” Queru, a software engineer on the Android Open Source Project, the code is still in the process of being uploaded, and developers are advised to wait til it’s fully complete before they start downloading it themselves. But it’ll be available very soon.

This is a huge deal for a few reasons.

For one, Android 4.0 includes some major improvements over both Gingerbread and Honeycomb, which are the versions of Android that are shipping on current Android devices. These include new API calls, performance improvements, and more.

But more important: it’s the first time Google has open-sourced a version of Android that’s optimized for tablets as well as phones. Now, obviously devices running Android 3.x Honeycomb have been around since early this year. But Google opted not to release the source code for Honeycomb. The reason? It had been thrown together quickly, and Google had to take some shortcuts to get it out the door (they were also concerned that third parties would try to port Honeycomb back to phones, which it isn’t suited for).

The open sourcing of ICS will allow manufacturers who aren’t working directly with Google to pump out tablets of their own (there are some low-cost tablet devices out there shipping with Gingerbread, simply because they couldn’t use Honeycomb). And it also means that custom ROM developers like CyanogenMod can tweak the code, port it to older devices, and more.

A couple of other interesting notes: the version of ICS that’s being open sourced is 4.0.1, and developers can download an image of the Galaxy Nexus, which has the build target full_maguro.

Oh, and if you really want to look at the Honeycomb source, it’s in there too (since it is an ancestor to Ice Cream Sandwich). But Google is discouraging anyone from actually using it.

Android Tutorial: Displaying Chart On Android

This is first of the series of android tutorials. Before going through this tutorial, audience is expected to be familiar with android API and basic android programming. In this tutorial, we are going to learn, how to display chart or bar graphs on android for your statistical data.

To begin with the tutorial, lets create new project.

FILE–>NEW–>Android Project

create android project in eclipse

create android project in eclipse

Now right click on the project in Package explorer and go to Properties.

Properties–>Java Build Path–>Libraries–>Add external JARs..

Linking API

Adding external JARS..

Once your API is linked, you are ready now for coding your program. Here is the link where from you can download the API .

Now lets code the program. This is the complete code of android chart sample.


import com.kidroid.kichart.model.Aitem;

import com.kidroid.kichart.view.LineView;



import android.os.Bundle;
public class chartView extends Activity {

/** Called when the activity is first created. */

LineView lv;


public void onCreate(Bundle savedInstanceState) {



String xaxis[]=new String[4];





float line1[]=new float[4];





float line2[]=new float[4];





float line3[]=new float[4];





Aitem items[]=new Aitem[3];

items[0]= new Aitem(Color.BLUE,”pauOut”,line1);

items[1]= new Aitem(Color.GREEN,”pauOut”,line2);

items[2]= new Aitem(Color.YELLOW,”pauOut”,line3);

lv=new LineView(this);

lv.setTitle(“Yearly Budget”);






here is the final view of the chart module. After this demo, you should get stuff like this.

Android Chart

Android Chart

This is it. We are done with our first use of API successfully. Bellow are video tutorials.