CoderzHeaven

Below is a simple function to implement this.

Read More

Hello everyone, Check out the popular posts from Coderzheaven.com Uploading and Downloading of files – Popular and Useful posts from CoderzHeaven In one of the previous posts I have shown one method to upload an image in android. Here is another method to upload a media file like images,audio or video in android. Here is […]

Read More

Hi all… In this tutorial I will show you how to add links in a menu in Adobe AIR/ FLEX. It is really simple. Just add a normal menu item and on the click handler for menu items match the label and navigate to the URL, that’s all. Check out this example. Change the mx:Application […]

Read More

Many of our application reqiures sending data from one intent to another. This is done by putting data into one intent using putExtras() and getting it in the other intent using the getExtras() which matches the string value. However you can pass string, boolean, integer etc between intents. For passing data between intents you need […]

Read More

Hi all…. We all need to know which key is pressed in an application up on which we may need to take an action. For example if the user presses “Ctrl + s” we know he want to save. So for that we need to listen to keyBoard events. For this we use the keyBoard […]

Read More

The following code helps you to invoke a phone call in ANDROID without any user interaction. This code uses intent to start the activity. You know that intent can be used to start another acitivty from with in an application. Dialing a number is done using this code… and Calling number using

Read More

Hello everyone… Today we will see how to customize an indeterminate progressBar in android. For that we have to create an xml with a progress animation.For this I used these three images Inside the folder res/drawable create an xml named “progress_indeterminate_horizontal.xml” and copy this code into it Now the layout file containing the progressBar.I named […]

Read More

Hi, For removing the forces applied to your Box2D bodies, use the following line of code. Here ‘yourWorld’ is the your box2D world. 🙂

Read More

Mar
29

Hi all…. Today in this post I will show you how to give a custom layout for the titleBar in ANDROID. You can place almost anything inside a title using your custom layout. Now go on and create a fresh project and copy this code into the main java file Now create a new xml […]

Read More

This is a sample code snippet that adds a Bitmap as Source of an image in windows phone 7. Assuming you have placed an image in the UI and named it image1.

Read More