Downloaded files stored in the database

2

Is there any way to download documents stored in a mysql database, in my aplicativo híbrido cordova ?

    
asked by anonymous 19.05.2015 / 17:39

1 answer

1

There is more than one way to do this, but the simplest is to create a Web Service.

What you need to do is choose a Web programming language that you have knowledge of and use it to talk (fetch data) from the database. Then within your application you use JavaScript to make requests for this data. Simple HTTP requests should already resolve, but remember CORS , which always causes problems in Cordova applications.

    
24.06.2015 / 14:27