File dialog to select an image?

Hi,

is there any method in Corona SDK for opening a file selector so that the user can choose a file from his iphone memory / android sd-card? Or would I have to write kind of a small file explorer for that with list-views and stuff?

The purpose is that the user should be able to select a photo to use in the app. [import]uid: 11219 topic_id: 3631 reply_id: 303631[/import]

On the iOS, you have the imagePicker, now I need to check if Corona has access to that functionality. Generally if you do not have a camera, like on the earlier iPods, it would open up the Photo Album.

I am unsure of how it works on the Android (as of now)

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3631 reply_id: 11061[/import]

Thanks Jayantv,

today I found the method media.show() which seems to be what I’m looking for but obviously doesn’t work on Android.
In the simulator I can select an image with params media.PhotoLibrary or media.savedPhotosAlbum, but on my Android device and the AVD simulator the screen stays black and nothing happens.
[import]uid: 11219 topic_id: 3631 reply_id: 11081[/import]