Tag Archives: Camera

Open Camera, Take Photo, Save it, Load it – iOS Sample code

By | November 4, 2014

This example shows how to Open Camera, Take Photo, Save it, Load it in iOS. Before this make sure that you have two buttons and one imageview in the Interface (image above) and link them to appropriate actions and variables ViewController.h” [c] #import <UIKit/UIKit.h> @interface ViewController : UIViewController <UIImagePickerControllerDelegate> { UIImagePickerController *imagePicker; IBOutlet UIImageView *imageView; } – (IBAction)showCamera:(id)sender;… Read More »

A Simple FlashLight Application.

By | July 20, 2012

Here is a simple Application on how to use flashlight in android. [java] package com.coderzheaven.pack; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.hardware.Camera; import android.hardware.Camera.Parameters; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; public class FlashLightActivity extends Activity { //flag to detect flash is on or off private boolean isLighOn = false; private Camera… Read More »

Samsung Galaxy S3 Features, Specifications And Release Date – The iPhone Killer is coming.

By | May 3, 2012

According to sources, the specs of the Samsung Galaxy S III have been leaked on the Web. These are some of the features from the sources.. A 4.8-inch full HD 1080P resolution with 16:9 aspect ratio. It will be powered by a 1.8GHz quad-core Samsung Exynos processor. Features a front facing 2 MP camera for video calling and… Read More »

Starting PhoneGap for ANDROID.

By | January 4, 2012

Hello everyone…. In today’s tutorial I will show how to start with a HelloWorld Application in PhoneGap for ANDROID. So what is PhoneGap PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. Follow these steps exactly to build the helloworld application. 1.If you… Read More »

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 in the emulator.… Read More »