LFS, media.show with multi selection of images and iphone questions

1.When will media.show support multi selection of images?

2.Can i read files in iphone sdcard, if i use LuaFileSystem?

  1.  First media.show is deprecated in favor of media.selectPhoto, media.capturePhoto.  Please see this week’s Tuesday Tutorial on this: http://www.coronalabs.com/blog/2013/11/05/tutorial-captureselect-photo-and-video/

Secondly, I suspect this needs to be a feature request.  Please add it at:  http://feedback.coronalabs.com

  1. iPhones do not have sdcards.  You can only access storage relative to your app’s sandbox (system.DocumentsDirectory, system.CachesDirectory, system.TemporaryDirectory, and the read-only system.ResourcesDirectory).  Any of these can have folders under them that you can use LFS to access.  While Android devices typically support SD cards (not all do), Corona SDK has no way to access the SD card of an Android device.

Rob

Thanks!

  1. I added http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/4946795-add-multi-selection-images-to-media-selectphoto-

  2. What do you think about last answer?

http://stackoverflow.com/questions/8443291/how-to-load-images-from-sdcard-in-corona-sdk

In the example they give, they are reading an image relative to the apps’s system.ResourcesDirectory.  It’s not picking up files from the SD card that I can tell.  I’ll ask our Android experts about this, but I don’t think it works quite like the poster thinks it does.

Rob

Any word back on this Rob? Looking to access an SD card containing images and then use HTTP to post them to a web server. Can this be done?

LFS might be able to break out of the sandbox, but Corona SDK’s APIs cannot be, so I doubt that network.request() etc. will be able to access the file.

Rob

  1.  First media.show is deprecated in favor of media.selectPhoto, media.capturePhoto.  Please see this week’s Tuesday Tutorial on this: http://www.coronalabs.com/blog/2013/11/05/tutorial-captureselect-photo-and-video/

Secondly, I suspect this needs to be a feature request.  Please add it at:  http://feedback.coronalabs.com

  1. iPhones do not have sdcards.  You can only access storage relative to your app’s sandbox (system.DocumentsDirectory, system.CachesDirectory, system.TemporaryDirectory, and the read-only system.ResourcesDirectory).  Any of these can have folders under them that you can use LFS to access.  While Android devices typically support SD cards (not all do), Corona SDK has no way to access the SD card of an Android device.

Rob

Thanks!

  1. I added http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/4946795-add-multi-selection-images-to-media-selectphoto-

  2. What do you think about last answer?

http://stackoverflow.com/questions/8443291/how-to-load-images-from-sdcard-in-corona-sdk

In the example they give, they are reading an image relative to the apps’s system.ResourcesDirectory.  It’s not picking up files from the SD card that I can tell.  I’ll ask our Android experts about this, but I don’t think it works quite like the poster thinks it does.

Rob

Any word back on this Rob? Looking to access an SD card containing images and then use HTTP to post them to a web server. Can this be done?

LFS might be able to break out of the sandbox, but Corona SDK’s APIs cannot be, so I doubt that network.request() etc. will be able to access the file.

Rob