Hello everyone. I'm using the Serialize function (Serialize documentation) to generate a JSON representation of an object. I'm wondering if it's possible to tell WebDev to avoid serializing the members of a class that are Null ? Thank you !by Anthony Blanchette-Potvin - WinDev Forum
Hello everyone, I have a little problem concerning the function WebserviceWriteHTTPCode function (WebserviceWriteHTTPCode documentation). Basically, after I called the function to set the HTTP code of the response to, let's say, 503, the server sends a response with the following Content-Type header : text/plain; charset=utf-8. The problem is that I don't want to send a response in pby Anthony Blanchette-Potvin - WinDev Forum
Also, make sure you initialize the GPS using the GPSInitParameter function. Here's the link to the documentation : Wish you luck !by Anthony Blanchette-Potvin - WinDev Forum
Hello, I am not sure what is happening behind these functions, but I know that if you wan't to avoid the hourglass, you have to use the GPSFollowMovement function. When you call GPSGetPosition, you directly ask the GPS to compute the current position, so that's why the hourglass appears. In other words, it's not instantaneous. The GPS needs to have a precise enough position,by Anthony Blanchette-Potvin - WinDev Forum
Hello everyone, I am trying to compare two class interface in WEBDEV, but I believe that WLanguage doesn't support this feature. The following code is one of my unit test that make sure the instantiation of the tested class, SuccessResponse, works. PROCÉDURE Intantiate() _code is int = 10 _type is string = "success" _information is string = "Everything worked !&quby Anthony Blanchette-Potvin - WinDev Forum
Hello, As far as I remember, it was the device's GPS that wasn't "strong" enough. I tried with multiple Android devices and some worked, some didn't. What exactly is your device ? Anthonyby Anthony Blanchette-Potvin - WinDev Forum
Hello everyone, I have to locally save around 10k records coming from a SOAP web service (which returns the response in XML/XSD). Right now, I'm simply using a FOR EACH LOOP on the web service result and HAdd to add each record the in an HFSQL file. The problem is that it takes about 3 to 4 minutes to complete the process, which is way too much ! And that's without the calculation Iby Anthony Blanchette-Potvin - WinDev Forum
Hello, I did look at it, but for another problem and it didn't help me very much. However, concerning my actual problem, I looked at the Android GPS example project from PC Soft which does exactly what I want. In fact, I am pretty much doing the exact same thing in my project. But, when I built the example project and ran it on my Android device, I got the same problem : the procedureby Anthony Blanchette-Potvin - WinDev Forum
Hi everyone, It's been a while since I'm trying to use the GPSFollowMovement function on Android. Long story short, the procedure passed in does not get called. And, of course, I am calling the GPSInitParameter function like this : GPSInitParameter(gpsAuto, gpsPrecisionHigh + gpsEnergyMedium) There's the procedure that calls the GPSFollowMovement function : PROCEDUREby Anthony Blanchette-Potvin - WinDev Forum