• Kristin Muterspaw's avatar
    NotePad opens the 'My Documents' activity. Again, these icons will change,... · d514a4a1
    Kristin Muterspaw authored
    NotePad opens the 'My Documents' activity. Again, these icons will change, currently just adding the functionality. On My Documents activity, there's a button to download files and asks the user to input the url and base directory path. These directories must be publicly accessible and have indexing enabled. Field Day retrieves a list of files in the base directory path and displays them to the user in an AlertDialog as a multi-check list. If the user clicks on an item that is also a directory, then that task of looking for files is basically executed again using that different path. Once the user has selected all of the file to download, Field Day downloads them one by one, creating local filesystem to match the remote one, all under 'myDocuments' in the external storage directory for Field Day. After downloading, the list of files is displayed to the user -- if it's a folder, a folder icon is shown next to the name, if it's a file, a file icon is shown next to the name. Testing and working with https://cluster.earlham.edu/~buzzlightyear/pdfs/. Opened the downloaded files in the an external file application on the Nexus to check and the Pdfs were downloaded.
    d514a4a1