Monthly Archives: March 2013

How to create a simple App Launcher in Android?

By | March 22, 2013

You have seen Launchers listing your apps. Ever wondered how they get the list of all apps. This program help you to list all apps installed in your phone and in a gridview and invoke them. Here we use this class.. PackageManager Class for retrieving various kinds of information related to the application packages that are currently installed… Read More »

How to encrypt and decrypt a file using “AES” algorithm in Android? – Google’s Advice

By | March 19, 2013

This is a simple example showing how to encrypt and decrypt a file in android. what we will do in this post is 1. Generate a key for encrypting our data. 2. Create a file and save data using ENCRYPTION with our generated key to the SDCARD. 3. With the help of the key DECRYPT the File and… Read More »

Highest Rated CEOs 2013

By | March 17, 2013

Do you approve of the way your CEO is leading the company? See which CEOs have the highest approval ratings. The Glassdoor list is based entirely on employee feedback shared during the past year. Check out the Top CEOs of 2013 and caste your vote here.. http://www.glassdoor.com/50-Highest-Rated-CEOs.htm

How to create transparency in your activity or dialog in android – different methods?

By | March 16, 2013

There are different ways for making an acitivity transparent. First method 1. Through XML in AndroidManifest like this. Here we are using Android’s built in theme. Method 2 Through styles create a style like this in your styles.xml and applying like this in the AndroidManifest.xml Check out this post for the complete implementation. http://www.coderzheaven.com/2011/07/20/how-to-create-a-transparent-activity-in-android/ Now we see how… Read More »

How to Customize “Force Close” Dialog in Android?

By | March 13, 2013

An interesting post.. Everytime you write an app, it may or may not crash and we often see the “Force Close” Dialog. But what if we can customize the “Force Close” Dialog itself. This is done using “UncaughtExceptionHandler” class. This post explains this. here I am knowingly crashing the application like this int y = 5/0; Now this… Read More »

How to create Gradient Buttons Dynamically without XML in Android?

By | March 10, 2013

Hello all.. I have shown you how to create gradient buttons in Android using XML in this post. Now I will show you how to create these gradient buttons dynamically. We will start with a class that extends StateListDrawable similar to state-list we use in XML UIGradientSelector.java Now the class that extends PaintDrawable Class. UIGradientDrawable.java Now the last… Read More »

How to Download a PDF File and open it in Android using an installed PDF Reader?

By | March 6, 2013

Actually this is fairly simple. This simple code does this. Here is the complete program that shows how to download a PDF File and open it in Android using an installed PDF Reader.

Samsung Galaxy s4 Rumours – Bigger, Better, Eye-Based Scrolling

By | March 5, 2013

We know Samsung is set to reveal its Galaxy S4 smartphone on March 14th, and that the company has been desperately trying to spin up the same sort of pre-release hype about the device that Apple usually benefits from–including a rather strange promotion campaign involving a young “secret messenger” called Jeremy. Now a source that has been accurate… Read More »

Budget iPhone 5 Coming Soon

By | March 2, 2013

The budget version of Apple’s latest iPhone will cost roughly $330 (£220), priced in order to appeal to young, middle class consumers in countries like China and India. The claims about the price and the imminent release were made on the Japanese website Macotakara, following on from earlier reports about Apple plans for a cheaper phone. In January… Read More »