Hello Amin,
An HTTP 404 error code means that the server can't be reached, certainly. Maybe are you using "local URLs" (that points to your local server) when debugging? Then you must prepare the right URLs with to reach the real internet server. We can set the URLs of HTTP Client controls in design but also in runtime, with the "HttpSetUrl" action, for example.
On the other hand, you mention Phonegap. I think this doesn't made any difference, but, consider to use Apache Cordova instead: App Builder is better integrated with Apache Cordova. But, again, in principle, this do not matter. Additionally, check if your device have an internet connection! But an 404 error is clear: the server can't be reached.
One more thing: App Builder nor Apache Cordova nor Phonegap, don't touch the URLs of the HTTP Clients, so, probably the problem is not specifically related with these software. Just be sure that you are trying to use the right URLs, Amin.
Hi David,
Links and internet connection are fine, have checked them already. Tried Apache Cordova and still the same issue. Apparently Android blocks calling the outside links and so the 404 error occurs. Installed a "white list" Cordova plugin and it sorted out the issue and now my phone also can reach the server.
Thanks,
AminHello Amin,
Yes; you are right. Apparently the Cordova's "Whitelist" plugin is required... and, for that reason, App Builder includes it by default in both the Cordova's configuration file and the generated BAT and SHELL files... so you are not using these files Amin? Anyway, glad to know that you got it.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.