R Ramezanpour Active Member Licensed User Longtime User May 18, 2015 #1 Hi How to check album permission ?
R Ramezanpour Active Member Licensed User Longtime User May 18, 2015 #3 narek adonts said: Which album? Click to expand... photos permission Upvote 0
narek adonts Well-Known Member Licensed User Longtime User May 18, 2015 #4 Code: Copy Dim status as Int Dim no As NativeObject status=no.Initialize("ALAssetsLibrary").RunMethod("authorizationStatus",Null).AsNumber status=3 is authorized Upvote 0
Code: Copy Dim status as Int Dim no As NativeObject status=no.Initialize("ALAssetsLibrary").RunMethod("authorizationStatus",Null).AsNumber status=3 is authorized
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2016 #5 Hey Narek, Do you know how to enumerate all photo album folder? Or know how to move some photo from camera roll to specific album? Thanks Alberto Iglesias Upvote 0
Hey Narek, Do you know how to enumerate all photo album folder? Or know how to move some photo from camera roll to specific album? Thanks Alberto Iglesias
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #6 Alberto Iglesias said: Hey Narek, Do you know how to enumerate all photo album folder? Or know how to move some photo from camera roll to specific album? Thanks Alberto Iglesias Click to expand... If you will tell me what would you like to achieve maybe I can help you. Upvote 0
Alberto Iglesias said: Hey Narek, Do you know how to enumerate all photo album folder? Or know how to move some photo from camera roll to specific album? Thanks Alberto Iglesias Click to expand... If you will tell me what would you like to achieve maybe I can help you.
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2016 #7 The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that Upvote 0
The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #8 Alberto Iglesias said: The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that Click to expand... I think your knowledge about xCode and Objective C is much more than mine. You could easly find a library and wrap it for B4i. I can help you to find the Objective C source if you need Upvote 0
Alberto Iglesias said: The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that Click to expand... I think your knowledge about xCode and Objective C is much more than mine. You could easly find a library and wrap it for B4i. I can help you to find the Objective C source if you need
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #9 Alberto Iglesias said: The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that Click to expand... I forgot. I have the code in B4i to get all photos from all the albums. You need it? Last edited: Mar 26, 2016 Upvote 0
Alberto Iglesias said: The problem: In native Photos App, you can´t simply move a photo to specific album, those albuns are disable to receive this photos, you need to create directly on iPhone. I need choose some camera roll photo and move to some album just that Click to expand... I forgot. I have the code in B4i to get all photos from all the albums. You need it?
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2016 #10 Yeah, sure! Please I can construct some to do this, but I don´t have time right now :-( Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #11 Alberto Iglesias said: Yeah, sure! Please I can construct some to do this, but I don´t have time right now :-( Click to expand... please find attached the Module that I was using. It will help you a lot I think. I will also try to add a code to save the Image to another album narek Attachments ALAssets.bas ALAssets.bas 6.8 KB · Views: 620 Last edited: Mar 26, 2016 Upvote 0
Alberto Iglesias said: Yeah, sure! Please I can construct some to do this, but I don´t have time right now :-( Click to expand... please find attached the Module that I was using. It will help you a lot I think. I will also try to add a code to save the Image to another album narek
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2016 #12 I will try right now and I tell you after! thanks Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #13 it is a static module Upvote 0
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 26, 2016 #14 I cant find any method to save images in determinate album, but I find this class, look in attach... Attachments ALAssetsLibrary_CustomPhotoAlbum.zip ALAssetsLibrary_CustomPhotoAlbum.zip 2.4 KB · Views: 580 Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #15 Alberto Iglesias said: I cant find any method to save images in determinate album, but I find this class, look in attach... Click to expand... I told you that this is for enumerating all the photos (in all albums). Full images and Thumbnails. So you can make a custom Photo browser with it if you need. It should not be difficult to add a function to create an album and save the image in that album. Did you managed to use the Module for retreiving all the photos? Upvote 0
Alberto Iglesias said: I cant find any method to save images in determinate album, but I find this class, look in attach... Click to expand... I told you that this is for enumerating all the photos (in all albums). Full images and Thumbnails. So you can make a custom Photo browser with it if you need. It should not be difficult to add a function to create an album and save the image in that album. Did you managed to use the Module for retreiving all the photos?
narek adonts Well-Known Member Licensed User Longtime User Mar 26, 2016 #16 narek adonts said: I told you that this is for enumerating all the photos (in all albums). Full images and Thumbnails. So you can make a custom Photo browser with it if you need. It should not be difficult to add a function to create an album and save the image in that album. Click to expand... Alberto Iglesias said: I cant find any method to save images in determinate album, but I find this class, look in attach... Click to expand... Check this http://stackoverflow.com/questions/10954380/save-photos-to-custom-album-in-iphones-photo-library It is very easy Upvote 0
narek adonts said: I told you that this is for enumerating all the photos (in all albums). Full images and Thumbnails. So you can make a custom Photo browser with it if you need. It should not be difficult to add a function to create an album and save the image in that album. Click to expand... Alberto Iglesias said: I cant find any method to save images in determinate album, but I find this class, look in attach... Click to expand... Check this http://stackoverflow.com/questions/10954380/save-photos-to-custom-album-in-iphones-photo-library It is very easy
narek adonts Well-Known Member Licensed User Longtime User Mar 28, 2016 #17 I have added some functions to ALAsset to get all the albums, create an album, put an asset to a album, put a bitmap to a album Attachments ALAssets.bas ALAssets.bas 8.7 KB · Views: 609 Upvote 0
I have added some functions to ALAsset to get all the albums, create an album, put an asset to a album, put a bitmap to a album
Erel B4X founder Staff member Licensed User Longtime User Mar 28, 2016 #18 You should also make a post in the libraries forum about this. Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Mar 28, 2016 #19 Erel said: You should also make a post in the libraries forum about this. Click to expand... You are right )) I will cleane the code a bit and post it in Libraries forum. Upvote 0
Erel said: You should also make a post in the libraries forum about this. Click to expand... You are right )) I will cleane the code a bit and post it in Libraries forum.