Is it possible to pick images from web using UIImagePickerController or something like that?
You will need to download images from the web to the cache directory and then show them in your UIImagePickerController, I guess.
Unfortunately you will not be able to use the UIImagePickerController to select images from anything but the built-in Apple provided image sources. i.e. camera, camera roll, photo library.
There are a few Open Source image pickers out there, a quick search on GitHub brought this one up JPImagePickerController
Related
I am working on a react-native project which uses Agora.io for video calling.
In a video call it shows my camera feed as fullscreen and the reciever's feed as thumbnail which is the opposite of the correct way.
I want to know, Is this the way agora works or is it possible to fix this..?
Because even in their website they have put the images in that way.
image on the home page
I appreciate any help regarding to fix this.
So it seems like you are presenting the local video stream to the larger view. You would need to switch this. Render the remote video stream on the larger view and the local video stream on the thumbnail view.
I want to open the camera action like below pictures. just like camera open within some area only for focusing particular area of the image.
Please help me. Thanks in advance.
Normal Camera View
My Expectation
If you want to use the CameraCaptureTask, you will have to deal with its possibilities. It uses the built-in camera app of the phone, and available setting are the ones in that app.
If you prefer a customized photo taking app, you should use the PhotoCamera class:
PhotoCamera Class
You will find some guidance here:
How to create a base camera app for Windows Phone
We need to open the iPhone camera, to take images that will be saved to the camera roll.
I have read many examples here that all of them opens the UIImagePickerView.
Besides the fact that i cant understand why i have to open the picker view in order to open the camera , i just can't do that- i dont want the picker view, because i have my costumed photo album that we build, and we just need to have a little button in it, that opens the camera to take an image . without opening any other views above it .
Is that possible to use the camera without this pickerview that will cover my scene ?
or can i lead the user to the camera app and than take him back to my app ?
Thanks.
Instead of high level (i.e. Apple supplies the UI element) classes, you have to go to a more foundational (lower) level of API's, which would be AVCaptureDevice and AVCaptureDeviceInput.
And Apple has some nice source code available in their AVCam project.
If you want to display camera stream in you app without UIImagePickerController than you should you AVFoundation framework.
Here some some examples and tutorials:
take-photos-with AVFoundation
Custom camera
Displaying camera
It sounds very common, something like a UIImagePicker that allows the user to browse all of his facebook albums and eventually pick an image and pass it to a delegate.
I think this is what you're looking for:
http://blog.grio.com/2012/03/picking-image-from-your-facebook-photos-in-ios.html
You might want to take a look at customizing the image picker supplised in Three20. This is a library that Facebook developers shared with all of their material. Three20
Photo Viewer: TTPhotoViewController emulates Apple's Photos app with all of its flick n' pinch delight. You can supply your own "photo sources", which works similiarly to the data sources used by UITableView. Unlike Apple's Photos app, it isn't limited to photos stored locally. Your photos can be loaded from the network, and long lists of photos can be loaded incrementally.
Instead of having it view the photo, you could modify the code to pass the image to a delegate instead.
Do any of you know if it's possible to make a Photo Album inside an app? The app that I'm building has a lot of features, one of them is to take a picture, write on top of it, save it, and then mail it if you want. I know the photos go to the Camera Roll Album, but is there a way for them not to go there? If not, then how can I bring them to my app in some sort of thumbnail scroll gallery or something so that I can edit them and resave them?
Important Note: the many features also consume a lot of memory, so I'll have to use the least resources possible.
Check out UIImagePickerController.
You can also save your photos to the Documents directory as well, it doesn't have to be the Camera Roll or Photo Library.
Source code see here