Hello,
I am using Build 6985 for an Android build and have encountered unusual behavior in an Ajax callback. It's quite simple, a button in the mobile app initiates an Ajax callback. I'm using the Action Javascript Ajax Callback. The handler is an Xbasic routine in the Xbasic Functions section of the project. The callback is simple in that it sends an email to a pre-defined email address. The callback works fine in Live Preview, Working Preview and in a Phonegap Shell running on my phone. However, when I add the exact same code to the main app, nothing happens. It doesn't fail, it just hangs. I copied the entire panel from the main app to the clipboard, created a new app with the same exact PhoneGap settings and it works fine, validating the PhoneGap URL, settings and the Xbasic routine. I deleted the button in the main app and replaced it, again duplicating the exact code in the single panel version and it locks up. I have recalculated the one control and the entire panel to no avail. The main app is about 6.3 MB and that's the only difference between it and the single panel version. Security is disabled. The development server log registers the single panel request, but not the main app request. Both are on the same phone.
Any help/suggestions as to a Properties setting that might be in error or other guesses are appreciated.
Thanks,
Joe
I am using Build 6985 for an Android build and have encountered unusual behavior in an Ajax callback. It's quite simple, a button in the mobile app initiates an Ajax callback. I'm using the Action Javascript Ajax Callback. The handler is an Xbasic routine in the Xbasic Functions section of the project. The callback is simple in that it sends an email to a pre-defined email address. The callback works fine in Live Preview, Working Preview and in a Phonegap Shell running on my phone. However, when I add the exact same code to the main app, nothing happens. It doesn't fail, it just hangs. I copied the entire panel from the main app to the clipboard, created a new app with the same exact PhoneGap settings and it works fine, validating the PhoneGap URL, settings and the Xbasic routine. I deleted the button in the main app and replaced it, again duplicating the exact code in the single panel version and it locks up. I have recalculated the one control and the entire panel to no avail. The main app is about 6.3 MB and that's the only difference between it and the single panel version. Security is disabled. The development server log registers the single panel request, but not the main app request. Both are on the same phone.
Any help/suggestions as to a Properties setting that might be in error or other guesses are appreciated.
Thanks,
Joe
Comment