• How to stream an audio in Android?

    This is a simple example to how to stream an audio in android. Here is the java code for that. This is the xml that contains the button. When you run this program you will see a button and on […]

  • A Simple FlashLight Application.

    Here is a simple Application on how to use flashlight in android. Now the layout file main.xml. AndroiManifest.xml file contents. Make sure to add the permissions. Download the android java source code from here. please leave your valuable comments on […]

  • How to delete a contact in android?

    Hello all previously I have shown how to list all contacts in your phone and in another post I showed how to programatically create a contact in android. In today’s tutorial I will show you how to delete a contact […]

  • How to Check whether is GPS is enabled in your android device?

    This simple code checks whether GPS in enabled in your android device or not. If the GPS is not enabled the user is redirected to the settings page. Turn off the GPS on your device and running it will display […]

  • How to use Calendar in Android?

    Hello all……. In today’s post I will show you how to use Calendar in android. Actually it is really easy to use calendar in android. For that android provides a calendar widget. We use calendar class to show the Calendar […]

  • Listening to checkBox stateChange in Android

    This is a simple example showing how to listen to checkbox in android. To check whether the checkbox is in on state or in off state just add a listener to the checkbox you want to listen. This is how […]

  • How to check whether your service is running in android?

    This example will test whether a service is running in android if you know it’s package name. Run this sample of code to check this.

  • How will you programatically enable or disable WIFI in android?

    Hello all.. This is a simple code snippet to enable WI-FI in android programatically in android. Note : Make sure to add the permissions in the manifest file. These are the permissions. Please leave your valuable comments on this post.

  • How to listen to the softkeyboard done button in android?

    Instead of using a button on the view we can use the softkeyboard done button to trigger an action. The action can include calling another activity or retrieving the data from the EditText etc. The main.xml contains an Edittext For […]

  • How to check whether GPS is available in ANDROID or Not?

    This code helps you to check whether the location service is available on your ANDROID Phone or not. Copy this code and paste to your file. Happy coding…..


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.