Quote from
fmorales on July 2, 2020, 10:30 pm
Hello. I'm trying to use some embedded files inside my app. Some are htm other are jpg. It works when the app runs in web browser but it doesnt work in the APK.
I need to use it this way instead of having the code in objects. So I put an iFrame that calls the htm file.
As HTA is enough to put myfile.htm as source, it works. But for Phonegap I have tried that and other options: file:///myfile.htm, also ./myfile.htm and all the combinations. Nothing seems to work.
The same problem with an image. I want to use an embedded image as background. I have tried img/myfile.jpg and ./img/myfile.jpg, and also url('img/myfile.jpg') but none of this kind of addresses work.
Any suggestions? Thanks.
Hello. I'm trying to use some embedded files inside my app. Some are htm other are jpg. It works when the app runs in web browser but it doesnt work in the APK.
I need to use it this way instead of having the code in objects. So I put an iFrame that calls the htm file.
As HTA is enough to put myfile.htm as source, it works. But for Phonegap I have tried that and other options: file:///myfile.htm, also ./myfile.htm and all the combinations. Nothing seems to work.
The same problem with an image. I want to use an embedded image as background. I have tried img/myfile.jpg and ./img/myfile.jpg, and also url('img/myfile.jpg') but none of this kind of addresses work.
Any suggestions? Thanks.