App-Inventor-Gallery
App-Inventor-Gallery copied to clipboard
Use saved file name of source and apk as default download file name
See also #114.
The HTTP header that needs to be sent looks something like this:
Content-Disposition: attachment; filename="your-name.here"
It looks like the static function aiagallery.dbif.Decoder64.getDecodedURL will need to retrieve the file name (from wherever it's stored), and add it to the returned map, so that the "getdata" portion of RpcServlet.js knows what to add to the header.
Consider naming file by project title instead of by original upload file name
Try this MIME type: application/vnd.android.package-archive