Access to Videos library iPhone sdk - iphone

are there access to "Videos" library iPhone sdk(not to Photos)?

Yes, look up ALAssetsLibrary in the docs.
An instance of ALAssetsLibrary represents the videos and photos that are under the control of the Photos application.
The library includes those that are in the saved photos album, those coming from iTunes and those that were directly imported into the device. You use it to retrieve the list of all asset groups and to save images and videos into the Saved Photos album.
You create an instance of ALAssetsLibrary using alloc and init:

here you can find a bunch of useful videos
http://developer.apple.com/videos/iphone/#video-essentials-intro

Related

Creating a new directory in the photo library of iPhone using PhoneGap

I am currently developing an mobile app using the PhoneGap framework. I am just wondering if there is any PhoneGap APIs or plugins that will allow us to create a new directory inside the iPhone's photo library. So every time when a user is using my app to capture a picture, I can have it saved into that directory.
From my little knowledge, currently you cant create a new directory inside the iPhone's photo library using phoneGap
However you can save an image in to iPhone's photo library.
See the below code
save image
function runImageTest(img)
{
PhoneGap.exec("ImageHelper.saveToUserLibrary",img);
}
Please see the discussions here

How can I retrieve and copy all photos/videos from Photos app to my app programmatically?

How can I retrieve and copy all photos/videos from Photos app to my application programmatically?
You need to make use of ALAssetsLibrary for iOS 4.0–9.0, or the Photos framework for iOS 8.0 and newer.
I don't think it's possible - Apple doesn't allow access to the photo library. (although i'm sure there is a way through jailbreak/private methods, but it won't be sanctioned by Apple).
You can, however, save photos with UIImageWriteToSavedPhotosAlbum and pick photos manually from the photo library with UIImagePickerController.
EDIT: Actually, it looks like you can get photos using the Assets Library. Check out this tutorial.

What is the path of photos album on iPhone device?

I was trying to save a PNG file to photos albums folder on the iPhone device with a .png extension so that the transparency remains..
My question is:
What is the path of photos album UIImageWriteToSavedPhotosAlbum function is using?
I am using data write to file method..
Thanks
You can't access assets on the file system directly (assuming this isn't a jailbreak question). In addition to UIImageWriteToSavedPhotosAlbum, the Assets Library Framework provides access to the photo library if you're targeting newer versions of iOS.
Root/private/var/mobile/Media/DCMI/100APPLE

Saving images from web

I am new to IOS development. I am developing an app in which i am viewing some images in my app that are stored on a server. The thing is that, i want an image from the server to store in my photo gallery. anyone know the procedure?
Thanks for every help;
You will have implement web services to access images from server, so that it can be downloaded to your iPhone App.
Look up the documentation for the UIImageWriteToSavedPhotosAlbum function. It will save a UIImage to the camera roll.

Access Photo Library without using UIImagePickerController

Everyone.
Is there any way of accessing photos on my iphone without using UIImagePickerController?
Can I somehow use NSFileManager for this purpose? If not then is there any alternative?
Best Regards.
The Assets Library Framework allows you to access the photos and videos managed by the Photos application, which includes those that are in the saved photos album, those coming from iTunes and those that were directly imported into the device
See the official docs for more information.
There's also a very good tutorial here on how to use it, including a video.