Audio from sdcard

It is possible to pick audio from sdcard.I have to select audio file from device storage.it is possible in corona SDK.Any other solution for this scenario.

You might be able to use the file IO API’s to copy the file to system.TemporaryDirectory and then use the audio.* API’s to load the file from system.TemporaryDirectory.

thanks for your reply.it possible to pick particular audio file.but in my application i have to upload audio to server.so i have to list out all audio files from device storage.

You should be able to use the LFS api’s to get a file list. You may still have to copy them to your app’s sandbox using the io.* API’s

Rob

You might be able to use the file IO API’s to copy the file to system.TemporaryDirectory and then use the audio.* API’s to load the file from system.TemporaryDirectory.

thanks for your reply.it possible to pick particular audio file.but in my application i have to upload audio to server.so i have to list out all audio files from device storage.

You should be able to use the LFS api’s to get a file list. You may still have to copy them to your app’s sandbox using the io.* API’s

Rob