sql - How to retrieve an image file from a backend to a Worklight application -


i have created worklight application , need images backend application. how can that? also, can video or mp3 backend?

i not sure mean...:

  1. do have images on file server want display on app? since backend yours, know url , can have url placed in href tag in html...

  2. if need retrieve image, save locally in device , display it, need marko suggested base64 encode file , send back. adapter's procedure send filename of image retrieve. on backend there servlet take it, encode , send response adapter's request.

also, can video or mp3 backend?

sure. agnostic application...


Comments