Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | June 27, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. call this function to set up the menu for your home page in your iPhone game or you can change this code directly to ANDROID and it will work. Make sure you have all the images mentioned in the above example. This menu will appear on… Read More »

How to save a text file in Windows Phone 7 or How to use isolated storage settings in Windows Phone 7?

By | April 12, 2012

Hello everyone… Here is yet another simple tutorial for windows phone to save and edit a text file. This example uses isolatedStorage to do this. As like other platforms no this file created will be stored in the application sandbox and no other application can access it. Here is the interface I created for saving… Read More »

Uploading audio, video or image files from Android to server

By | January 9, 2018

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 »

Adding Links in Menu in Adobe AIR/ FLEX.

By | March 29, 2012

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 »

Passing data between Intents or classes in ANDROID?

By | March 29, 2012

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 »

How to invoke a phone call in ANDROID?

By | March 29, 2012

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

Custom Indeterminate progressBar for android?

By | May 7, 2013

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 »

How to check whether an application is installed in your ANDROID Phone?

By | March 28, 2012

This sample code comes handy when you have to check that an application is already installed in your ANDROID Phone. Call the below function appInstalledOrNot() with the package name of the app installed on the ANDROID Device as a string parameter. This function returns true if the app is installed otherwise returns false.

How to add click handler to a button dynamically in Windows Phone?

By | March 26, 2012

Hello everyone…. This post is a simple example showing how to add eventHandlers to a button dynamically in windows phone or windows mobile. We know programming for windows phone is done in C# or Visual Basic. Here I am going to explain in C#. I assume that you have dragged a button control in your… Read More »

Starting with NDK for Android – A Simple example. OR How to run a C code in android?

By | May 7, 2013

Hello Friends…. Today I am going to talk about how to use ndk in android to run c code. Note : These steps are for Mac and Linux Users not for Windows users. Follow these step exactly to set up and run ndk in android. 1. I think that you are having your eclipse and… Read More »

How to create a Custom ListBox in Windows Phone 7?

By | May 6, 2012

For creating Custom ListView First create a new project named “Lists” and the language is “C#” here. Now open the “MainPage.xaml” and copy this code. Now we have to create another xaml for each custom row in the List. For that right click on the project folder in the solution explorer. Please check the screenshot,… Read More »

How to set an image in an Image Control in Windows Phone 7?

By | March 21, 2012

Hello everyone…… Windows Phone 7 with it’s simplicity has become really easy to study and code. In today’s tutorial I will show you how to set an image in an image control in windows phone 7. Assuming you have place the image control in the xaml file. I will first show you how to set… Read More »