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...
View ArticleStarting with NDK for Android – A Simple example. OR How to run a C code in...
Hello Friends…. Today I am going to talk about how to use ndk in android to run c code. Note : These steps are for Mac and Linux Users not for Windows users. Follow these step exactly to set up and run...
View ArticleDate and TimePicker in ANDROID.
The following code simply allows you to select a date and time using the datepicker and timepicker in ANDROID. package AndroidDatePicker.pack; import java.util.Calendar; import android.app.Activity;...
View ArticleHow to download a file to your android device from a remote server with a...
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...
View ArticleHow to sign an android APK, a simplest way
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...
View ArticleHow to override hardware Home button in android? OR How to listen to home...
Hello everyone… In this post I will show you how to listen to hardware button in an android smartphone. This post especially shows how to listen to the home button in android. But my advice is never...
View ArticleHow 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. package com.coderzheaven.pack; import android.app.Activity; import android.app.ProgressDialog; import...
View ArticleHow to show two different DatepickerDialogs on same activity with only one...
In android for each time picker Dialog we can associate with a dialog. So with this dialog and a global variable we can have any number of Dialog listeners. Here is the sample java code. This is the...
View ArticleHow to read and write files to SDCARD and application SandBox in Android – A...
Here is a complete example of How to read and write files to SDCARD and application SandBox in Android. First create a new project and inside the mainActivity paste this code. package...
View ArticleHow to create a Slide from Left animation while deleting a row from a...
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 a...
View Article