Download files with Cordova stored in the database

Asked

Viewed 54 times

2

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

1 answer

1


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

What you need to do is choose a Web programming language that you know and use it to chat (search the data) from the database. Then within your application you use Javascript to request this data. Simple HTTP requests should already resolve, but remember CORS, that always causes problems in Cordova applications.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.