Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Mobile-Applications camera roll iphone not working
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
camera roll iphone not working
1 Answer(s)      3 years ago
Posted in : MobileApplications


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


Advertisement
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
Advertisements
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 J@ME
CAMERA APPLICATION J@ME  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 maheshwari1986ashish@gmail.com
embedding cell phone camera inweb page
embedding cell phone camera inweb page  actaully I am working on visitor management project based on jsp ..in 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
iphone  hiii, how can we use table recursively in iphone
iphone
iphone  How can connect with the other database in iphone application(like... MYsql or oracle) is this dirctly possible
iphone
iphone  hello... i want to make first iphone application . How can i make it plz help me
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
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
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
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
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 Saved...how to take iphone backup using itunes  Hi, Can anyone please tell me how to take iphone backup using itunes..?   You can find the details
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 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
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
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
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
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
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
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
Comparing arrays not working correctly?
Comparing arrays not working correctly?  Comparing arrays not working correctly
Update not working in hibernate.
Update not working in hibernate.  Update not working in hibernate
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
NSZombieEnabled iPhone
NSZombieEnabled iPhone  NSZombieEnabled Trouble in setting How can i set the NSZombieEnabled in iPhone application to track unmanaged memory
Nitobi Grid is not working in IE10/IE11
Nitobi Grid is not working in IE10/IE11  Nitobi grid is working in IE8, but not working in IE10/IE11. we are using above two javascript files to open the grid
 

 

 

DMCA.com