• Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?

    Hi all.. In today’s post I will show you how to add actionbar tabs dynamically, remove one by one , hide and unhide them, removing all tabs at once etc. This simple java code does that. First create a project […]

  • 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 start with ActionBar in Android?

    With Android 3.0 Google eliminated the need of hardware menu button which is replaced by Action Bars. Here is a quick example on how to use ActionBars. First create a new project and name it ActionBarExample. Now create a folder […]

  • How to change the hint text color in android?

    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 […]

  • Passing data between Intents or classes in ANDROID?

    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 […]

  • Saving TextFile to SDCARD in android?

    Hello android lovers, In today’s tutorial I will show you how to 1. Create a text file and save a textfile in your SDCARD in your preferred path. 2. Read the contents from the same file and show it in […]

  • Parsing an XML from Online in Android

    In the previous example I showed how to parse an xml that is stored in a file in res/xml folder. In this post I will show you how to parse an xml that is stored in a server in an […]

  • How to show a sliding window from below in Android?

    Hello everyone, I have already showed you how to use a SlidingViewer to create a slidingWindow. Today I will show another way to create such a window with the help of animation. Please check one of my previous posts to […]

  • How to start with Google Maps in Android?

    Hello everyone, in this tutorial I will show you how to start with Google Maps in android. Follow these steps while connecting to Google Maps in android. Create a project with “Google APIs” as the Base SDK. First, if you […]

  • How to remove a view in your xml layout file using program?

    Hello everyone, this is a simple example showing how to remove a view in android that is created using your xml file. This is the xml file that contains a TextView Here is the java code for removing this view […]

  • How to create a splash screen in android?

    Hello everyone today i will show you how to create a splash screen in android. This is one of the simplest ways to create a splash screen however there are another ways to create the splash screen. Lets look at […]

  • Merge two layout xml in android

    Merging layout is an excellent feature in android. Separate xml can be included in a single xml. For this first i create a main.xml file In the bottom you can see that i have included a xml file named footer2button.xml The Merged […]

  • How to Open camera in ANDROID?

    Hello everyone.. In today’s tutorial I will show you how to use camera in ANDROID in your program. In this tutorial we will be having a button which will open the camera and after taking the photo it will show […]

  • How to use SeekBar in ANDROID?

    Here is a simple example to show how to use seek Bar in android. Create a new project and place this code in it. The main.xml file The strings.xml file. Here is another example to show How to get the […]

  • Simple View Animation in ANDROID?

    Hi all….. In this post I will show you a simple animation using a textView. It’s really simple. Steps. 1. Create a fresh project and copy this java code into it. 2. Create a folder named “anim” inside the res […]

  • 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 […]

  • How to check SDCard free space in ANDROID?

    This is a simple example that shows how many bytes are free in your SDCard. Inorder to run this example, you have to create an SDCard and start the emulator with the SDCard. Now create a fresh project and name […]

  • Applying a shape to xml in android

    By adding a custom shape we can make the layout more attractive. For this we have to create a xml file and specify this in the main layout xml file First make a xml inside the drawable folder. Then in […]

  • Android listView with icons

    In this post, we will have a list whose rows are made up of image, Here we just supply data to the adapter and helping the adapter to create a View objects for each row The output will be For […]

  • How to create a scrolling ListView in android?

    ListView is like a tableView in iPhone or iOS . In this example i will show you how to add a String Array in to the ListView and also make the listView Scrollable. First the xml file . Here the […]

  • How to create custom layout for your spinner in ANDROID? or Customizable spinner

    This code helps you to customize the spinner in ANDROID. For that you have to create an XML file inside your layout folder as shown below and name it spinner.xml. You can give all properties that are available for TextView […]

  • How to read and write an XML file in Adobe AIR or Flex?

    AIR treats the XML files as just as normal file and so you can proceed using the FileStream classs. Please take a look at the sample code. Just copy and paste the following code to your main.MXML file and you […]

  • Play Video using VideoView in ANDROID.

    Playing a video file is simple in android. This post will help you. Put your video in res/raw folder. If no raw folder present then create a new folder inside res. The main. xml file. Please leave your comments if […]


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.