How to Open camera in ANDROID?

By | June 25, 2011

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 it in an imageView. Note: This program will work only in the real device notโ€ฆ Read More »

Sort elements in a String Array – C Sharp / C#

By | June 21, 2011

Hi, In order to sort the elements in a string array in C Sharp/C#, we use the sort() method. Given below is a simple example using sort() method to sort the elements in a string array. It will print out, Sorted string Array: urStringArray[0] = apple urStringArray[1] = coderz urStringArray[2] = heaven123 urStringArray[3] = heaven777โ€ฆ Read More »

How to use SeekBar in ANDROID?

By | June 21, 2011

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 current progress on your SeekBar in android? Please leave your valuable cmments

C++ program to add two complex nos.

By | June 18, 2011

The program contains a class complex with two member variables x and y and a string class with one member variable. Two objects are created for complex class and string class and accepted values through read () function and their values are added using the operator overloaded function and assigned to the third object forโ€ฆ Read More »

C++ program append the two text files

By | June 18, 2011

Three file objects are created using the fstream class one for first, second for second file and third for the appended file. The first two files are opened in the input mode and third in the append mode. The first file is opened and checked for error condition if the file exist its contents areโ€ฆ Read More »

C++ program to copy the contents of a text file to another

By | June 18, 2011

Two file objects are created using the fstream class for the two files, one for source file and another destination file. The first file is opened and its contents are copied to the second file using get ( ) and put ( ) function. Each time the source file is opened error checking is doneโ€ฆ Read More »

ColourPickerDialog in ANDROID.

By | June 17, 2011

Hello all.. This is an example demo showing the color picker in ANDROID. This example is from the developer site of ANDROID. You can go to the developer site and download the Demo. However here I am introducing it to you for easiness. This is the output you will get after running this application. Colorโ€ฆ Read More »

iphone adjustable UITextField when keyboard popup

By | June 15, 2011

In iphone programming there is no direct method to move the UITextField above the keyboard. Instead we do some adjustment. Iphone keyboard occupies the bottom 216 pixels on the screen so the UITextField placed at the bottom will not be visible. Try this method The first function will move the UITextField to the position weโ€ฆ Read More »