Monthly Archives: March 2012

Uploading audio, video or image files from Android to server

By | March 29, 2012

Hello everyone, Check out the popular posts from Coderzheaven.com Uploading and Downloading of files – Popular and Useful posts from CoderzHeaven In one of the previous posts I have shown one method to upload an image in android. Here is another method to upload a media file like images,audio or video in android. Here is… Read More »

Adding Links in Menu in Adobe AIR/ FLEX.

By | March 29, 2012

Hi all… In this tutorial I will show you how to add links in a menu in Adobe AIR/ FLEX. It is really simple. Just add a normal menu item and on the click handler for menu items match the label and navigate to the URL, that’s all. Check out this example. Change the mx:Application… Read More »

Passing data between Intents or classes in ANDROID?

By | March 29, 2012

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 can pass string, boolean, integer etc between intents. For passing data between intents you need… Read More »

How to invoke a phone call in ANDROID?

By | March 29, 2012

The following code helps you to invoke a phone call in ANDROID without any user interaction. This code uses intent to start the activity. You know that intent can be used to start another acitivty from with in an application. Dialing a number is done using this code… and Calling number using

Custom Indeterminate progressBar for android?

By | March 29, 2012

Hello everyone… Today we will see how to customize an indeterminate progressBar in android. For that we have to create an xml with a progress animation.For this I used these three images Inside the folder res/drawable create an xml named “progress_indeterminate_horizontal.xml” and copy this code into it Now the layout file containing the progressBar.I named… Read More »

How to check whether an application is installed in your ANDROID Phone?

By | March 28, 2012

This sample code comes handy when you have to check that an application is already installed in your ANDROID Phone. Call the below function appInstalledOrNot() with the package name of the app installed on the ANDROID Device as a string parameter. This function returns true if the app is installed otherwise returns false.

How to add click handler to a button dynamically in Windows Phone?

By | March 26, 2012

Hello everyone…. This post is a simple example showing how to add eventHandlers to a button dynamically in windows phone or windows mobile. We know programming for windows phone is done in C# or Visual Basic. Here I am going to explain in C#. I assume that you have dragged a button control in your… Read More »

Starting with NDK for Android – A Simple example. OR How to run a C code in android?

By | March 25, 2012

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 ndk in android. 1. I think that you are having your eclipse and… Read More »

How to create a Custom ListBox in Windows Phone 7?

By | March 23, 2012

For creating Custom ListView First create a new project named “Lists” and the language is “C#” here. Now open the “MainPage.xaml” and copy this code. Now we have to create another xaml for each custom row in the List. For that right click on the project folder in the solution explorer. Please check the screenshot,… Read More »

How to set an image in an Image Control in Windows Phone 7?

By | March 21, 2012

Hello everyone…… Windows Phone 7 with it’s simplicity has become really easy to study and code. In today’s tutorial I will show you how to set an image in an image control in windows phone 7. Assuming you have place the image control in the xaml file. I will first show you how to set… Read More »

Page Navigation in Windows Phone

By | March 16, 2012

Hello everyone… This is my first post on windows phone. I have just started windows mobile programming. In this post I will show you how to go from one Page to another in windows. First I am creating a C# project and in the MainPage.xaml Open the phone interface and then drag a button into… Read More »

How to save CheckBox values in SQlite Database and Load it later?

By | March 13, 2012

Hello…….. This post is just a simple demonstration to show a way to store a checkbox value in a database and reload it. Here I am storing only a value of a single checkbox and reloading it. But you can make changes in the code to save the id and value of the checkbox in… Read More »

Apple late in China – Samsung already has almost triple share.

By | March 12, 2012

Apple Inc. (AAPL) got a partner to sell the iPhone in the world’s biggest mobile-phone market, China. The may be too late to catch Samsung with a market share that’s three times larger and growing. Samsung controlled 24.3 percent of the market for phones in China. “I don’t expect Apple to replace Samsung any time… Read More »

Send Data when Clicking on a Notification in Android?

By | March 10, 2012

Hello everyone… I have shown in my previous tutorials on how to create notification in android and cancel it. This is the post showing this . Now today I am going to show how to send data when you click on the notification message. Here I am creating two activities. One the main activity that… Read More »