A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout with the ToggleButton object. It’s best alternative to radio buttons to turn on or turn off a function. In this example, it is shown how to use XML to create two toggle

Tagged under: , ,

UIAlertView Plain TextField

Friday, 23 August 2013 by

UIAlertView is used to display an alert message to the user. An alert view functions similar to but differs in appearance from an action sheet (an instance of UIActionSheet). Use the properties and methods defined in this class to set the title, message, and delegate of an alert view and configure the buttons. You must

UIAlertView Secure Text Inpute

Friday, 23 August 2013 by

UIAlertView is used to display an alert message to the user. An alert view functions similar to but differs in appearance from an action sheet (an instance of UIActionSheet). Use the properties and methods defined in this class to set the title, message, and delegate of an alert view and configure the buttons. You must

UIAlertView LogIn Password Input

Friday, 23 August 2013 by

UIAlertView is used to display an alert message to the user. An alert view functions similar to but differs in appearance from an action sheet (an instance of UIActionSheet). Use the properties and methods defined in this class to set the title, message, and delegate of an alert view and configure the buttons. You must

UIAlertView Custom TextField

Friday, 23 August 2013 by

UIAlertView is used to display an alert message to the user. User inputs can also be taken from UIAlertView using UITextField in it.  An alert view functions similar to but differs in appearance from an action sheet (an instance of UIActionSheet). Use the properties and methods defined in this class to set the title, message, and

Android devices are equipped with built-in cameras.In this example, we will work through the basic technique for capturing an image using the Android camera,selecting an image from Android build-in Gallery and then crop it to display. Code for layout: In the layout an ImageView and a button is defined.We will place the image captured by

Android devices are equipped with built-in cameras.This example explains how to capture a photo from the camera and save it to the gallery of  Android phone. First the user will need to choose if he/she wants  to capture an image from the camera. Then depending on the option chosen by the user,   the  image will

To select image from SD card in any app without implementing  a file browser the Android build-in Gallery canbe called to do so, using Intent. In this, the screen will have a button to open the android device Gallery and from there if we select any image, that image we can get it in the

How to display ProgressBar in Android?

Thursday, 22 August 2013 by

ProgressBar is a visual indicator of progress in some operation. It displays a bar to the user representing how far the operation has progressed; the application can change the amount of progress (modifying the length of the bar) as it moves forward. There is also a secondary progress displayable on a progress bar which is

performSelector:withObject:afterDelay:inModes: method invokes a method of the receiver on the current thread using the specified modes after a delay. This method sets up a timer to perform the aSelector message on the current thread’s run loop. The timer is configured to run in the modes specified by the modes parameter. When the timer fires, the

TOP