2017년 7월 18일 화요일

Picking a File With And Allowing More Than One Extension


I am using Taifun's Picking files from the SD Card with App Inventor solutionpick.aia Please see screenshot for what he says to do.  And it all works good, but is there a way to allow the user to select:
  1. for audio files, mp3 or wma
  2. for images, jpg or png

--
Please provide more detail about what you want to do and a sceenshot of your blocks.

--
In my app I am allowing the user to "upload" a file to the app.  Really, the app gets the URI of the file, and then the filepath is gotten with taufunFile.getFileNameblock.  The app will play the file later.

I want to allow the user to select (with their file manager) an audio file of any audio format.


--

댓글 없음:

댓글 쓰기