• How to crop an Image in Android?

    This is a sample program that launches the camera and crop the captured image. Check this link to another crop image example. http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/ This is the layout xml. activity_main.xml Now this is the Main Java File that implements the crop […]

     
  • How to load a spinner with values from SQlite Database in android?

    Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml This is the layout for the interface. activity_main.xml Now this […]

     
  • How to create a Slide from Left animation while deleting a row from a ListView in Android?

    Hello all…… I have written a lost of posts on Listviews. You can see that by just searching Listviews in my site. Today I will show you how to create a slide out animation while we delete a row from […]

     
  • How to move a body manually in Box2D? or Give a force to a body in Box2D, iPhone.

    This is a sample code to move a body in Box2D . First you have to make a body with variable name “moving_rec” and call the below function in a schedular at regular intervals. -(void) moveBody{ b2Vec2 force = b2Vec2(0,0); […]

     
  • Using Tabbars in ANDROID, A Simple Example……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Using of CCWaves in iPhone

    CCWaves is one of the interesting functionalities in Cocos2D iphone. Check out this following snippet to see how it works. Please leave your valuable comments on this post………………….

     
  • Date and TimePicker in ANDROID.

    The following code simply allows you to select a date and time using the datepicker and timepicker in ANDROID.

     
  • Switch Images in ANDROID.

    Hi all …….. Ofter we have trouble with loading continous images in ANDROID from our application directory. The reason is that all resources have a unique resource ID which we need to get to load these resources. The following example […]

     
  • How to remove duplicates from NSMutableArray ?

    Hi, For removing or deleting duplicates from a NSMutableArray , use the following lines of code. It will simply check for duplicates elements and get it deleted or removed. 🙂

     
  • How to send email from and ANDROID Application programatically?

    Hello all…….. In today’s post I will show you send mail from an android application progrmatically.. Let’s go to the code fast…… This is the code in the mail java file…. Now the layout file (main.xml) The AndroidManifest.xml Note: However […]

     
  • ANDROID Tabbars Example……..

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Using Tabbars in ANDROID, A Simple illustration……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Using Tabbars in ANDROID, A Simple Example……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Listening incoming sms message in Android

    When a new sms message is received by the device, a Broadcast Receiver is registered. For this IntentFilter filter = new IntentFilter(SMS_RECEIVED); registerReceiver(receiver_SMS, filter); should be included . Also sms are sent in PDU’s(Protocol Description Units) format, which act as […]

     
  • Customizing your button or TextView or another view in ANDROID.

    Beautifying our applications is one of the main features of your application’s success. In ANDROID there are many possible ways to do this. For eg. We need to have different colors for our buttons, However we can give backgrounds for […]

     
  • jQuery Hide & Show Toggle – An Example

    Hi, Want to try out a simple hide and show toggle using jQuery? The example given below shows how you can simply hide and show a paragraph in html using jQuery. Try it out! 🙂

     
  • jQuery Hide & Show Toggle – An Example

    Hi, Want to try out a simple hide and show toggle using jQuery? The example given below shows how you can simply hide and show a paragraph in html using jQuery. Try it out! 🙂

     
  • jQuery Hide & Show Toggle – An Example

    Hi, Want to try out a simple hide and show toggle using jQuery? The example given below shows how you can simply hide and show a paragraph in html using jQuery. Try it out! 🙂

     
  • How to create and delete a directory in SdCard in ANDROID?

    Hi all…… This is a simple example to create and delete a directory in ANDROID. Here the directly is created in the SDCARD. So first create an SDCARD and start the emulator with the SDCARD. Let’s look at the program. […]

     
  • Showing Twitter updates on Blogger/Blogspot

    Hi, If you want to show the latest twitter update of yours in your blogger/blogspot, then use the following steps. 1. Go to your blogger ‘Design’ 2. Click ‘Add A Gadget’ 3. Add ‘HTML/JavaScript’ 4. Paste the following JavaScript code […]

     
  • Android frame Animation

    A series of frames is drawn one after the other at regular intervals. For this create a xml which contains ImageView for showing the animation The main java file is Next the main part, an xml which holds each image […]

     
  • Android dialog with ListView

    For implementing a ListView, we first create a xml which contains a ListView named list.xml Next we create a Dialog Object and inflate the above xml and when the listItem is clicked then a Alert Dialog windows comes The java […]

     
  • How to start telnet in Windows 7?

    Hello all…… By default telnet is not enabled in Windows Vista and Windows 7. So you need to turn own the option for telnet . For this 1. Open control Panel 2. Programs and features 3. Turn Windows feature On […]

     
  • Make your own gesture application in ANDROID or How to use gestures in ANDROID?

    Hi all…. In this tutorial I will teach you how to make use of Gestures in ANDROID and make your own application. Follow the below steps exactly to get an idea of how to use gestures. 1. Make a gesture […]

     
 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.