camera roll iphone not working



Share on Google+Share on Google+

Java Coder
camera roll iphone not working
1 Answer(s)      5 years and 11 months ago
Posted in : MobileApplications

How to access the camera in my iPhone application. Please explain.

View Answers

December 12, 2011 at 1:25 PM

This code explains.., how to roll camera in your iphone SDK application. To roll the camera you'll required UIImagePickerController class.

Find the code below..

// Create image picker controller
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
// Set source to the camera
imagePicker.sourceType =  UIImagePickerControllerSourceTypeCamera;
// Delegate is self
imagePicker.delegate = self;
// Allow editing of image ?
imagePicker.allowsImageEditing = NO;
// Show image picker
[self presentModalViewController:imagePicker animated:YES];

- (void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
  // Access the uncropped image from info dictionary
  UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
  // Save image
  UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);
  [picker release];


Related Tutorials/Questions & Answers:
camera roll iphone not working
camera roll iphone not working  How to access the camera in my iPhone application. Please explain.   This code explains.., how to roll camera in your iphone SDK application. To roll the camera you'll required
Roll Dice
Roll Dice  Create a program that rolls one dice, count the # times each number occurs on the dice when rolled. 1000 rolls, create a table of output for: # rolled, # times rolled, and % times rolled   hi friend, Please
The Evolution Of The Camera
The Evolution Of The Camera      ... in the history of the camera. 1850 ? By 1850, Daguerre had produced over 70 photo... all over the world. 1948 ? In 1948 the first Polaroid camera was sold
CAMERA APPLICATION [email protected]
CAMERA APPLICATION [email protected]  i had written the code to capture image in j2me it is running well on emulator but not running on nokia 6303 if anyone knows please help me at [email protected]
embedding cell phone camera inweb page
embedding cell phone camera inweb page  actaully I am working on visitor management project based on jsp home page I want to embed my nokia N73 camera to capture image of visitor, so how do i do this? I tried object tag
iphone  hiii, how can we use table recursively in iphone
iphone  hello... i want to make first iphone application . How can i make it plz help me
iphone  How can connect with the other database in iphone application(like... MYsql or oracle) is this dirctly possible
Lytro Light Field Camera, a Breakthrough Camera with Unmatched Editing Possibilities
Lytro Light Field Camera, a Breakthrough Camera with Unmatched Editing... it perfection? Well, that is what this amazing camera is capable of. The never before light field technology in this camera will allow immense creative
iPhone 3GS Programming
the latest iPhone technologies and they will help you in working under.... They have developed several small apps for iPhone and currently working... iPhone 3GS Programming iPhone 3GS is the advanced version
iPhone       Apple iPhone 3G is a multi-touch smartphone that has successfully combined multimedia, email, business and internet into a single platform. The iPhone
UITapgesturerecognizer not working
UITapgesturerecognizer not working  uitapgesturerecognizer not working
What is iPhone SDK?
What is iPhone SDK?       What is iPhone SDK? The iPhone SDK or iPhone software... and build the software for the iPhone. The iPhone SDK includes the API and components
Introducing Nico360: The Smallest 360 Degree Camera in the World
about holding the smallest camera of literally a palm-hidden dimension offering the same panoramic output? Yes, that is Nico360, the smallest 360-degree camera...;Excellent design and tiniest size Nico360 is a camera with the size of a tiny square
iPhone Development Training in Delhi
API of iPhone and iPad Develop application that uses Camera, Accelerometer...iPhone Development Training in Delhi We are providing iPhone Development... with the latest Mac and iPhone/iPad. We provide classroom iPhone and iPad development
htpasswd working
htpasswd working   hii, What does htpasswd do?   hello, htpasswd creates a new user in a specified group, and asks to specify a password for that user
Datagrid not working
Datagrid not working  The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1.... working. please help me out
how to take iphone backup using itunes
Back Up iOS device backups preserve your settings, the Camera Roll (or to take iphone backup using itunes  Hi, Can anyone please tell me how to take iphone backup using itunes..?   You can find the details
iphone avfoundation
iphone avfoundation  What is iphone avfoundation and why it is required? Can anyone show how to implement the AVFoundation in iPhone application with example or tutorial? Thanks
iPhone Graphics
iPhone Graphics  Hi, How to create iPhone Graphics? I am learning to crate UI Design for iPhone and iPad. Thanks
Iphone call
Iphone call  Do you have other method to make a call on Iphone,without openUrl
Why this is not working...?
Why this is not working...?  import java.util.*; public class Family { int size_of_family=0; public Person[] members=new Person[size_of_family]; Person d = new Person(); public Family (int size_of_family){ members = new
Iphone Tutorial
Iphone Tutorial  Hi, I am a new in this mobile applications segment. From where i will get the information about iphone tutorial or Iphone Development Tutorials. Please suggest the resouces......... Thanks
Hire iPhone developer
of technology, working experience etc. Hire iPhone developer India from Roseindia...Hire iPhone developer - Hire iPhone developers in India Apple?s iPhone is superior to all smart phones but developing applications for iPhone is not an easy
Offshore iPhone Development
Offshore iPhone Development With the evolution of Apple's iPhone (internet... marketing owner of iPhone - has first time introduced unique integrated features in its smart multimedia mobile phone comprising cellphone, iPod, camera
Outsourcing iPhone development
Outsourcing iPhone Development Apple Inc., which is the habitual... the world by launching third generation Internet phone – iPhone. After its emergence, iPhone has included several new and unique features in its kitty
iPhone Programming Training Course
iPhone Programming Training Course Our iPhone Programming Training Course is ideal for beginners having knowledge of C and C++. After completing the iPhone... in iPhone and iPad application development. You will learn how to develop
iPhone's Missing Features
not discuss the iPhone's camera image quality but just its location. Why... iPhone's Missing Features       iPhone is a great phone with amazing features
Offshore iPhone Apps Development
and currently we are working on dozens of project for iPhone apps. In the last few...Offshore iPhone Apps Development Since the origination of Apple's internet mobile phone ' iPhone ' has dominated the smart phone market
Update not working in hibernate.
Update not working in hibernate.  Update not working in hibernate
Comparing arrays not working correctly?
Comparing arrays not working correctly?  Comparing arrays not working correctly


Advertisement null