Author Archives: James

How to download a file from a remote site in android? – Another simple example – Method -3

By | May 7, 2012

Hello all ……. I have shown many examples on how to download and upload files in android through this site. These are other methods for downloadign a file in android. 1. How to Download an image in ANDROID programatically? 2. How to download a file to your android device from a remote server with a… Read More »

CoderzHeaven on Facebook, Twitter, Google Plus and MySpace

By | May 6, 2012

Hello……. Coderzheaven is now on MySpace also. PLease checkout our page at http://www.myspace.com/coderzheaven Fore more news on updates and exciting code snippets please add Coderzheaven to your connections in Facebook http://facebook.com/coderzheaven and Also find us on twitter and get the latest tweets on recent and most popular posts. http://twitter.com/coderzheaven Also find us on Google PLus… Read More »

Lowest Cost for LUMIA 900 on Amazon- Get it fast.

By | May 4, 2012

For AT&T customers eying one of Nokia’s Windows Phone 7 devices as an upgrade, Amazon is offering the stylish new Lumia 900 on the cheap… real cheap. So cheap, in fact, you have to wonder what’s up. Are Nokia’s phones failing on the market even though they’re getting great reviews? Or is Microsoft merely trying… Read More »

Best Budget phones in android market today.

By | May 3, 2012

Here are my choice of some of the best phones in android market today. 1. Sony ericsson Xperia Neo. We know Sony always makes stylish phones. Here is another stylish phone from Sony Ericsson. Specifications. GENERAL 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 900 / 2100 HSDPA 850 /… Read More »

How to sign an android APK, a simplest way

By | May 3, 2012

Hello all.. This post is also about how to sign an android apk to publish it to the android market. I have already shown another method to sign the apk, which is through the command line. How to sign an android APK ? – a simplest way Here is another simple method without using the… Read More »

Samsung Galaxy S3 Features, Specifications And Release Date – The iPhone Killer is coming.

By | May 3, 2012

According to sources, the specs of the Samsung Galaxy S III have been leaked on the Web. These are some of the features from the sources.. A 4.8-inch full HD 1080P resolution with 16:9 aspect ratio. It will be powered by a 1.8GHz quad-core Samsung Exynos processor. Features a front facing 2 MP camera for… Read More »

How to download a file to your android device from a remote server with a custom progressbar showing progress?

By | April 29, 2012

Actually this is really simple. I have already posted an example for how to download a file in this post. How to Download an image in ANDROID programatically? This is another one little different with a progressbar included. Previously I have shown three other methods to upload files to a server. Check these posts to… Read More »

Zoom In animation between Two Activities.

By | April 28, 2012

Hello everyone… I have already shown you how to override default animation between activities. Today I will show a zoom in and out animation between activities. Take a look at this post for another animation between activities. Create files named zoom_enter.xml and zoom_exit.xml in the res/anim folder. zoom_enter.xml file contents. zoom_exit.xml file contents. Now replace… Read More »

How to include multiple c files to compile in android NDK?

By | April 28, 2012

I ran into problem when I had multiple C files in my project. Single C file was OK for me. I was getting undefined reference error while doing this. Then I found out the solution after a lot of search in google. You can check this post before going through this post. This is about… Read More »

How to upload an image from Android device to server? – Method 4

By | April 26, 2012

Hello all…. This post is also about uploading an image to server from your android device. Previously I have shown three other methods to upload an image to a server. Check these posts to refer this. 1. Uploading audio, video or image files from Android to server 2. How to Upload Multiple files in one… Read More »

How to enable retina Mode in Corona SDK? or How to work with images in retina Mode in Corona?

By | April 26, 2012

To enable retina mode in your application you have to first find the config.lua file in your project folder. Then edit this file to include the contents like this. You have to include images twice the size([“-x2”] = 2) and about 1.5 the size ([“-x15”] = 1.5) in your project folder. These images should have… Read More »

JSON IN ANDROID.

By | April 26, 2012

Complex JSON String parsing in ANDROID http://www.coderzheaven.com/2011/06/10/complex-json-string-parsing-in-android/ Parsing JSON Object in ANDROID. http://www.coderzheaven.com/2011/06/09/parsing-json-objects-in-android/

How to explicitly free memory in android OR Release unwanted memory in Android?

By | April 24, 2012

If you are writing memory consuming applications there is a bigger chance that your application may be running out of memory after sometime. So there are some methods in android that invokes the garbage collector explicitly. See the following function which invokes the garbage collector to free a lot of memory. A little explanation about… Read More »

How to change the hint text color in android?

By | April 20, 2012

Hello all.. This simple example will show you how to change the hint text color in android Here is the java code to simply do this. here is a sample project to view the difference. This is the contents of the main java file. The main.xml file Here I am setting a read color to… Read More »

Copying an image to another in ANDROID.

By | April 7, 2012

Here is a simple example to copy an image to another image file in ANDROID. In this example a button click will open the gallery and after that it will be copied to another image file. You have to check the File-explorer to find the file. This is the java code for doing it. here… Read More »

Sprite Animations Without Sprite Sheets

By | April 7, 2012

You can simulate any animations if you have a sequence of images which makes the illusion of that animations and rendering those images to the screen. In cocos2D it can be done in two ways, with sprite sheet animation and without sprite sheets. Here we are going to see how it can be done with… Read More »

Sprite Animations Without Sprite Sheets

By | April 7, 2012

You can simulate any animations if you have a sequence of images which makes the illusion of that animations and rendering those images to the screen. In cocos2D it can be done in two ways, with sprite sheet animation and without sprite sheets. Here we are going to see how it can be done with… Read More »

Sprite Animations Without Sprite Sheets

By | April 7, 2012

You can simulate any animations if you have a sequence of images which makes the illusion of that animations and rendering those images to the screen. In cocos2D it can be done in two ways, with sprite sheet animation and without sprite sheets. Here we are going to see how it can be done with… Read More »

How to create shortcut for your application in the Desktop in Android?

By | April 7, 2012

Shortcuts are really useful feature in android. This example also explains how to create shortcut for your app in the desktop of your android phone. This is the complete code of an application which creates a shortcut of this app in the homescreen. Note : You need to add permission for this to work. Now… 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 »