This is just a sample code to run in AndroidStudio. I have made used the code from the http://developer.android.com website. Since, I made a shift from using Eclipse to AndroidStudio I thought that I would make it public so that someone might benefit form my learning as well.
Merge https://github.com/rikhily/AndroidStudioSample