Heya
I'm trying to access an image protected by a simple http basic authentication mechanism. This example works fine when using my browser
...
var mImage = sap.m.Image("Im1");
mImage.setSrc("http://user:password@192.168.0.100/image.jpg");
...
var page = new sap.m.Page({ | |||
title: "Image", | |||
content: | |||
mImage | |||
} |
Yet when I wrap it in a Cordova container (Android) this simple way of attaching user+pw does not seem to work. The webserver responds with a 401 error and my app does not send an authentication header.
Any suggestions on how I could tackle this issue?