Is there any way to access to the photo roll in iOS?

Previous topic - Next topic

msx

Now, I need know how read the camera roll in iOS. I searched into the forum but not found something about this.

Does somebody know any way?

r0ber7

http://www.tuaw.com/2009/08/26/delving-into-the-iphones-dcim-folder/

QuoteInside /var/mobile/Media/DCIM, you typically find an image subfolders. ###APPLE (starting with 100APPLE, and going up from there) folders store pictures snapped by the iPhone camera (IMG_0001.JPG, IMG_0002.JPG, etc). Until the 3.0 firmware, the 999APPLE folder has stored shots of the iPhone screen. With 3.0 and later, those shots appear to be directed into the other APPLE folders and saved with PNG extensions. Thumbnails and other helper files appear in a sub-sub-folder called .MISC.

msx

Are these folders accessible from GLB?

Can be read without problems?

r0ber7

Who knows. Try it.

Code (glbasic) Select


LOCAL files$[],i
SETCURRENTDIR("/var/mobile/Media/DCIM")
GETFILELIST("*", files$[])

FOR i=0 TO LEN(files$[])-1
   DEBUG files$[i]+"\n"
NEXT


msx

The problem is that my iPhone/iPad are jailbroken and It may not be reliable

DaCarSoft

I think the only way in a non jailbroken device is to create a wrapper...

That shouldn't be very difficult...   I think I have seen something unfinished here, in the forums...   May be???   :P

If I have time, I will give it a try and tell here what happens.
"Si quieres resultados distintos... no hagas siempre lo mismo" - Albert Einstein.

msx

That would be great for me, you save my life (metaphorically speaking) ;)

Thank you.

PD: When you have time and desire.