iPhone, if possible to get a photo from album without use UIImagePickerController? - iphone

as topic, I want iPhone app can access the photo album and got a photo but without popup the UIImagePickerController, does it possible ?
thanks for tip

You can, with iOS 4 or later. Look at the documentation for ALAssetsLibrary and the associated AssetsLibrary.framework. You would have to determine what media you're interested in yourself and basically handle all the niceness the built-in picker does for you.

Related

Integrate Photo Gallery + iPhone

I am making an app in which on one of the view I want to display photo gallery photos thumbnails. If I click on any image then It must get zoom, there is also accept and delete functionality on zoom view. If user want to delete the photo then It must get delete from the photo gallery. I have tried a lot to implement this functionality but unable to get the required output.
How should I integrate the default photo gallery with my app? Following are the images which make you more clear about the functionality I want to implement. How can I start to make this functionality?
hi there is a good framework which is capable of this
three20
If you want other similar things goto cocoacontrols
Use KTPhotoBrowser
https://github.com/kirbyt/KTPhotoBrowser

When should I use UIImagePickerControllerSourceTypePhotoLibrary instead of UIImagePickerControllerSourceTypeSavedPhotosAlbum?

I have an application that allows the user to pick a photo from their device. To do this, I'm using the UIImagePickerController, but the problem is that I'm unsure whether I should be using a source type of UIImagePickerControllerSourceTypePhotoLibrary or UIImagePickerControllerSourceTypeSavedPhotosAlbum.
On my iPhone 4 running iOS 5 the saved photos album gives a much better experience, but when I try to use my iPod Touch running iOS 4.3 using a photo that I synced from iTunes, it doesn't even show up. If I switch to PhotoLibrary my iPod works but my iPhone experience is worse. When I ask the UIImagePickerController it says the SavedPhotosAlbum is available on my iPod, but I don't seem to have a way to determine that it's empty.
What is the best way to determine which source type to use? If I have a way to determine if the Saved Photo Album is empty, I guess that would work, but I don't see one.
UIImagePickerControllerSourceTypePhotoLibrary references the entire photo library, letting the user choose which album. UIImagePickerControllerSourceTypeSavedPhotosAlbum goes straight to the camera roll album without giving the user a choice as to which album to choose from. They're similar, but different. You can get to the camera roll from PhotoLibrary; you can access only the camera roll from UIImagePickerControllerSourceTypeSavedPhotosAlbum.
Reference.

how to get all images in iphone photo album

I want get all images in iphone photo album without imagepicker.
I have seen same functions other app.
help plz~^^;
Read and use assets library .It will answer all your questions .link text

Open standard iPhone photo library application from iPhone app

I need to open photo library from my iPhone app just like standard iPhone Camera application does. Is it possible?
I don't want picking-style interface of UIImagePickerController - it has unnecessary controls like "Use" and "Cancel" buttons and does not have full photo library viewing functionality - zooming and sliding between photos etc. My goal is to navigate user to the photo library for viewing photos (with full functionality of viewing photos) and - when user has finished - return to my app - just like standard Camera application does when you preview last-taken photos.
I believe the "Three20"-framework has such a photo library.
http://github.com/facebook/three20
http://github.com/facebook/three20/blob/master/src/Three20UI/Headers/TTPhotoViewController.h
http://icodeblog.com/2009/07/28/getting-images-from-the-iphone-photo-library-or-camera-using-uiimagepickercontroller/
seem like that it is possible to open only 1 photo using UIImagePickerController, can not open multiple photos.

Need way to view an album of pictures on iPhone

I don't need to take pictures or access the iPhone photo album. I simply need to display a bunch of pictures in thumbnail form and then let the user view the larger version when tapped.
Would I use an uiimagepickercontroller or another controller?
If so does anyone have an example of how I load in the pictures to view?
You can use the same tools that the facebook app uses: three20
Joe Hewitt, the developer behind the facebook app has open sourced much of his work. You can get it and many other goodies here: http://github.com/joehewitt/three20