LAST NOTE
the plugin cordova file transfer 2 was taken from the air, which is a dependency of the project, I will check if a subtitle, once it was depreciated the original plugin of the cordova, for now it is so working for web projects, without a compatible cordoba plugin will run for while neither android or ios
-------------
The file is converted by the application generating the correct extension,
without generating bin files, such as the download system offered by scirra
(even old cell phones like android 4.4 saves the correct extension)
--------------
Note
Need put url with extesion archive and name of archive example (www.site.com/image.png)
No work without name and extension archive in url string
-----------
Work with all archive formats
--------
Convert archive formt, but need archive same family
Example (image "png to jpeg" video "wmv to mp4")
--------------
FILENAME pro while only works on NW.JS
I will still associate with the string (android and ios)
to accept the given name and not get the original file name
-------------
1-Some Browsers without download tag support for image in preview mode of Construct 2
2- Work fine for download imagem e other formats of archive in preview mode with Web Broswer Edge
3- Other Browser without download tag support for image in preview mode of Construct 2
work with other types of archive. E.g video
------
4- Construct 2 project Exports Work with desktop (nw.js), with cordova to Android and IOS
------------
More Example of MIME_types (image in folder doc)
developer.mozilla.org/pt-BR/docs/Web/HTTP/Basico_sobre_HTTP/MIME_types
---------
plugin cordova
-----------
Put in xml archive
<plugin name="cordova-plugin-file-transfer2" spec="*" />
Or instal cordova plugin in project via cocoon (plugins project), or visual studio, or other.
---------------
docs plugin cordova
npmjs.com/package/cordova-plugin-file-transfer2
-------------
The sdk 26 android will need the user to give permission to save the file. To create this just create an action from execute java script and use the code "cordova.plugins.diagnostic.requestExternalStorageAuthorization ();" and install the cordova plugin:
github.com/dpa99c/cordova-diagnostic-plugin.git
--------------------------------
Plugin
drive.google.com/open
----------
doc and examples
drive.google.com/open