Tuto WINDEV Mobile 25
188 Part 6: Windows Mobile application Format of databases A Windows Mobile application can handle data. The format of these databases can be: • HFSQL (in Classic or Client/Server mode), database system supplied with WINDEV Mobile. • CEDB , database system that can be used on mobile devices (Pocket PC). • AS/400 , AS/400 database that can be used on mobile devices (Pocket PC). • ... HFSQL database HFSQL Classic In HFSQL Classic mode, the data files are stored on the device. In this case, the application is stand-alone. No Wi-Fi or 3G connection is required. The data is stored in the device memory. The maximum storage size depends on the amount of memory on the device. HFSQL Client/Server In HFSQL Client/Server mode, no data is stored on the device. The data is stored on a computer on which a HFSQL server is installed. To access this computer (and therefore the database), a method for communicating with the server must have been enabled in the mobile application (Wi-Fi or 3G) in order to connect via the network or Internet. The response times depend on the quality of Wi-Fi or Internet network and on the amount of requested data. The access to the data will be performed by the Hxxx functions of WLanguage and/or by SQL queries. Example The "Pocket Notes" and "Pocket Telephony" examples (supplied with WINDEV Mobile) are using HFSQL data files. These examples are accessible from the WINDEV Mobile home page (Ctrl + <). Remark During the test (in simulation mode) of a WINDEV Mobile application that handles HFSQL data files, the data files used are the ones found on the PC .
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==