Page 1 of 1
File downloads in pop up window not working.
Posted: Fri Apr 10, 2015 3:21 am
by Mike Wood
I have basic android app with bottons to open a pop up page that goes to an http page with download links. The download links do not work. The test link on the appery.io page does allow downloading from these links and creating an html page also works.
Any ideas on what is wrong?
File downloads in pop up window not working.
Posted: Fri Apr 10, 2015 6:02 am
by Evgene Karachevtsev
Hello Mike,
Sorry, I'm not sure I understand you correctly, could you please clarify - you are able to download files when you test your app in a browser and unable to do this when your app is installed on a device?
File downloads in pop up window not working.
Posted: Fri Apr 10, 2015 12:57 pm
by Mike Wood
File downloads in pop up window not working.
Posted: Fri Apr 10, 2015 1:09 pm
by Evgene Karachevtsev
Mike,
Could you please detail do you have any errors in a browser console when you test your app?
File downloads in pop up window not working.
Posted: Fri Apr 10, 2015 1:20 pm
by Mike Wood
Eugene;
In the browser window there are no problems. It will download the file from the link.
The app will not.
The button in app opens a pop up window that is configured to open an external http web page that has links on it to download files.
This is the link in the app button.
http://b4.caspio.com/dp.asp?AppKey=88...
Thanks
File downloads in pop up window not working.
Posted: Tue Apr 14, 2015 2:27 am
by Yurii Orishchuk
Hi Mike,
Please following JS code on button click event:
pre
window.open("http://b4.caspio.com/dp.asp?AppKey=88ef1000f55f509e33f7409c86af", "_system");
/pre
Also please learn this document: https://devcenter.appery.io/tutorials...
Regards.
File downloads in pop up window not working.
Posted: Wed Apr 15, 2015 12:54 am
by Mike Wood
Yurii;
That works.
Thanks for the help.