Tuto WINDEV Mobile 25

Part 6: Windows Mobile application 191 Handling the same data files To allow the WINDEV Mobile application to access the data files found on the PC: • the mobile devices must have network access (Ethernet card, Wi-Fi, etc.) • the data found on the PC must be accessible in read/write via a UNC path (the directory used must be a shared directory). Then, the data can be handled (addition, modification and deletion) by the HFSQL functions. Example Databases in HFSQL format (on the Pocket PC and on the PC) The "Network tasks" example (supplied with WINDEV Mobile) includes a project that can be used on a Windows Mobile device (Pocket Network tasks) and a project that can be used on PC (PC Network tasks). These two examples use the data files found on the PC. Copying the data files onto the mobile device (Pocket PC for example) To update the data files found on the PC with the data typed on the mobile devices, all you have to do is synchronize the files. If the data files used are in HFSQL format, all mobile devices must be connected one by one to the PC. The automatic HFSQL synchronization via ActiveSync takes everything in charge. If the data files used are not in HFSQL format, you must program the synchronization between the WINDEV Mobile application and the WINDEV application. See the examples supplied with WINDEV Mobile for more details. Example Databases in HFSQL format (on the mobile device and on the PC) The "Sending SMS", "Managing lists of purchases" and "Stocks" examples (supplied with WINDEV Mobile) include a project that can be used on mobile device (Pocket PC for example) and a project that can be used on PC. These examples present the synchronization of data typed in the two projects.

RkJQdWJsaXNoZXIy NDQ0OA==