• How to read a serialized object from a file in the raw folder in android?

    In my previous post I showed how to serialize an object and save it in sdcard in a file and retrieve it. Pull out the file from the sdcard and then create a folder named “raw” inside the “res” folder […]

  • How to make a http call repeatedly from a service in android?

    We may have applications in which we may have to make repeated calls to a webservice. At that time services may be useful. This is such an example in which we will be creating a Service in android to create […]

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

  • How to create a custom layout for your camera in Android?

    Hello everyone, Today’s example shows how to create a custom layout for your camera preview, that is if you want a custom layout while your camera is opening. This example helps you to achieve this. First create a fresh project […]

  • Parsing XML in Android a simple example

    This is a simple example showing how to parse an xml in Androi. In this method the xml file is stored in res/xml folder. First create a folder named “xml” inside the raw folder. Then create an xml file named […]

  • How to take screenshot of application and store it in SDCARD?

    The first part is explained in this Tutorial, that is taking the screenshot of the application (View). The second part is storing it in the SDCARD. This is possible by compressing the image bitmap to bytes and then store. Finally […]

  • How to set wallpaper in ANDROID?

    Following example shows how to set a Bitmap as wallpaper in ANDROID. After running this code your wallpaper on the ANDROID phone will change. Make sure that you have an image named ‘my_wallpaper’ in your drawable folder. And You have […]


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.