Questions tagged [camera-roll]
171 questions
2
votes
2 answers
React Native save image to specific location
I am using react native cameraroll api to save my images in storage.
CameraRoll.saveToCameraRoll(data.uri)
.then(console.log('Success', 'Photo added to camera roll!'))
.catch(err => console.log('err:', err))
Above code…

DIGITAL JEDI
- 1,672
- 3
- 24
- 52
2
votes
2 answers
How to save a Picture to a specific folder from React Native Camera Roll
So I'm using Expo's Camera API to take a picture, like so:
takePicture = async function() {
if(this.camera) {
this.camera.takePictureAsync().then(data => {
CameraRoll.saveToCameraRoll(data.uri);
}).then(() => {
…

Socratease
- 191
- 3
- 10
2
votes
0 answers
React Native CameraRoll.getPhotos
i want to query all image from my android devices, so i use the api
CameraRoll.getPhotos, but my android devices has 30 images but i just query less than 30, so can you help me to?
// in constructor method
this.state = {
source: null,
…

basic_wang
- 31
- 3
2
votes
2 answers
iOS: Get last image from the camera roll
I want the last image saved in camera roll.
I have searched for it but m getting result for ALAssetsLibrary which is deprecated in iOS 9 so please provide me solution for this because m not getting proper solution for that.
I want solution in…

Bhagyashree mahajan
- 531
- 1
- 6
- 14
2
votes
1 answer
Swift observer pattern when photo library changes
Currently, I have that piece of code:
import Photos
public class AssetService : NSObject, PHPhotoLibraryChangeObserver {
public override init() {
super.init()
PHPhotoLibrary.sharedPhotoLibrary().registerChangeObserver(self)
}
deinit {
…

mafioso
- 1,630
- 4
- 25
- 45
2
votes
0 answers
React Native using CameraRoll
In React-native I am trying to access videos and images saved on CameraRoll but when I fetch records I only retrieve images stored by whatsapp. I tried to use groupTypes param for fetching everything, but it seems like this param is not supported by…

cubbuk
- 7,800
- 4
- 35
- 62
2
votes
2 answers
iOS - open photo from photo album in my app
I would like to let users browse photos in their photo albums, tap the action button, and share/open selected photos in my app. Some apps (like Viber and WeChat) provide a custom view to handle this. This is the WeChat screen:
What is the name of…

theMoonlitKnight
- 431
- 8
- 17
2
votes
0 answers
Export Video from Application's Document to cameraRoll
I Just want to export .mp4 file to CameraRoll
Here is my code.
self.videoPath=@"/var/mobile/Applications/AE75E729-7F10-478B-9DAF-E730EB4231D1/Documents/Videos/aa.mp4";
AVURLAsset *avAsset = [AVURLAsset URLAssetWithURL:[NSURL…

zohaibkhan
- 227
- 1
- 2
- 12
2
votes
3 answers
Save nsdata(mp4 video) to camera roll
I have to save video to camera roll , video is in the form of nsdata .
I know that is the method
UISaveVideoAtPathToSavedPhotosAlbum(videopath, self, @selector(video:didFinishSavingWithError:contextInfo:), nil);
- (void)video:(NSString *)videoPath…

zohaibkhan
- 227
- 1
- 2
- 12
2
votes
2 answers
Feathers / Starling / AS3 / Air - Texture too big (max is 2048x2048) - Camera Roll
When I try to load a photo from the Camera Roll. I get the following message:
Error #3683: Texture too big (max is 2048x2048).
The following code is what I'm using with Feathers/Starling:
var Image_Loader:ImageLoader = new…

user3111472
- 207
- 2
- 12
2
votes
2 answers
populating tableview with camera roll images
I'm trying to populate images from camera roll in a tableview.
in ViewDidLoad, I create an asset group.
- (void)viewDidLoad
{
[super viewDidLoad];
self.tableView.delegate = self;
self.tableView.dataSource = self;
self.assetsLibrary =…

CalZone
- 1,701
- 1
- 17
- 29
2
votes
3 answers
Creating my own Image Picker
I'd like to create a custom image browser in my app that uses the images from the camera roll.
i.e. I'd like to completely replace UIImagePickerController and use my own control.
Is there a way of accessing the camera roll photos in this…

Fogmeister
- 76,236
- 42
- 207
- 306
1
vote
0 answers
Storing paths to camera roll & gallery media in Flutter
I've used image_picker to grab images and videos from the phone's gallery, but as far as I can tell, persisting those media for later use requires saving them to another directory, i.e. the app's storage directory, and saving the path to that media…

dlamartina
- 11
- 1
1
vote
2 answers
How to get all photos on phone and show list of photos on a Flatlist in React Native
I wanted to find a library that could support getting all the photos from the phone and displaying the list of captured images on a Flatlist, and I ran this project on Expo. How to do this?
I tried using the library
react-native-cameraroll but it…

Huy Ngô
- 39
- 4
1
vote
1 answer
How can I improve performance of this React Native code?
I am working on React Native app of mine and I have a screen where I am using RN Cameraroll and getting all of the images and allow user to select n number of images. I am marking images that are selected by user and marking them in order. When I…

vj23
- 79
- 1
- 4