Software Archive
Read-only legacy content
17061 Discussions

Intel XDK dwonload code HELP

Adam_t_1
Beginner
249 Views

Hello.

I need some code for download files. I use normal HTML code for download and if i use this code like this 

<a href="img/blur/bg10.jpg" download><button>Download</button></a>

on PC and in program that works but in mobile no :/ please help me i need some code.

0 Kudos
3 Replies
Adam_t_1
Beginner
249 Views

But i dont understant this how can i install this ... https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file-transfer/

0 Kudos
PaulF_IntelCorp
Employee
249 Views

If your app is not an "HTML5+Cordova" app (see the image below). If it just says "HTML5" you'll need to upgrade it to Cordova. But I recommend you start a new project that is a "Cordova" project.

Screen Shot 2016-07-13 at 3.10.24 PM.png

When you have a Cordova project it will include a way to add plugins. See the image below and the XDK documentation for additional help.

Screen Shot 2016-07-13 at 3.12.04 PM.png

0 Kudos
Reply