how to rename the images taken from camera through our app? - iphone

I want to know how the iphone take the picture from camera through xcode?
and how it is stored ?,How to rename it? And how to delete it after our work completion?
please tell me the details about the UIPickerView also...
Thank You,
anand

You can use UIImagePickerController to take picture from camera. You can refer
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html
You can get an UIImage from the imagepicker which u can use according to your needs

#Anand for your camera issue take help from the 7KV7 suggest link that is the best one from the apples developer document
Take image from camera and then do it what you want to do with that image.
As far as UIPickerView is concerned refer UIPickerView and also have a look at iPhone SDK Tutorial
For pickerview you have to call different delegate methods and those methods are mentioned in the tutorial i had shared you above.

Related

iPhone: iPhoto like tile view for image browsing

In an iPhone application I want to create an UI that just look like iPhoto application where photos will be loaded like iPhoto's tile view.
I am planning to use UITableView To achieve this.
How can I manage showing random sizes images just like iPhoto app shows in there gallery view?
Any library which will help to achieve it? Can you please provide code sample url's?
Shiv you can try AQGridView that may help you to achieve what you are looking for.
You can also wait for IOS 6 and see photo tools.
check out http://three20.info/ as well and may help you. Probably you may have hit iPhone show photos/images sliding (like photo library and Facebook app)? link. but be sure to check this link.
Hope this many things would help you; I tried to give answer in noon but it take me late and it's evening now.

How to swap the images in UIImageView programmatically

Hi i am beginner in iphone programming i am doing a photo gallery app. In which i need to apply swapping of array of images on UIImageView along with zooming action.
can any one help me to do this by providing any sample codes or links..
download try this code, i'm using it and it's well done:
mwaterfall-MWPhotoBrowser
there's also the more complete Three20 Photo (search in github.com or in stackoverflow.com for old question), it has more kind of objects... but is also more complicated to be used...

iPhone - custom UIImagePickerController

I am showing a UIImagePickerController in an app that just works with videos. So, it is nonsense to show pictures to users.
I have changed all properties I see on the controller but the picker shows like the next picture.
Two questions:
How do I get rid of this choice and show just the Photo Library, without having to tap first to get there.
As far as I know, all videos shot with iPhone end on camera roll. Suppose the iPad gets a camera in the future. Does this Photo Library option include the camera roll or what?
thanks in advance.
You can probably use this and customize to fit your needs.
http://www.icodeblog.com/cloning-uiimagepickercontroller-using-the-assets-library-framework/
I found some issues with it, mostly that it takes a while to load on a device when there are 200+ images. I have not dug into to much, but this might be a start for you.
Not sure if this helps but to access the camera roll directly you just need to set your UIImagePickerController source like this:
picker.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;

iPhone - Image selection similar to Music Album in iPhone

I am new in iPhone programming. I want to create a puzzle game and I would really like to implement and image selection screen similar to the way you select a Music Album in iPhone iPod.
I can't upload a picture, but I will send you a link if my description is not detailed enough.
I don't know what to search for details. Can you give me a hint if it is even possible to implement it?
Thank you a lot,
Andrei
Refer to this, it is much easier one.
That's called Cover Flow and there's an open source library that does something similar here.
Alternatively, Apple has a built-in UIImagePicker.

How to make UI Image Picker Controller read a custom source type in iPhone

I have to create a photo gallery app in iPhone. It should function same as the Photos app which is shipped with iPhone. But it should show the images which I package with the app.
UIImagePickerController reads only the following source types.
UIImagePickerControllerSourceTypePhotoLibrary,
UIImagePickerControllerSourceTypeCamera,
UIImagePickerControllerSourceTypeSavedPhotosAlbum
I was thinking of adding the images bundle to the resources group in Xcode and make UIImagePickerController to read them and display.
Looking at the class references I found UIImagePickerController reads only from the resources mentioned above. Which means it can only pick the images from camera roll OR saved photo gallery OR allow user to take a pic and use it.
Does anybody know how to make UIImagePickerController read from custom source type or images?
OR
How to create a photo gallery app in iPhone :-)
Thanks,
AJ
I don't believe it is possible to make the UIImagePicker pick images from your own source. You will have to write the picker yourself (which, performance aside, doesn't seem to hard... Just a couple of UIImageViews in a UIScrollView).
Just today I started a open source UIImagePickerController clone, it is not perfect but it works quite ok. Feel free to fork http://github.com/jeena/JPImagePickerController