how is it possible to parse a XML file cyclical with the libxml Parser in a service App ( app for wearable, Gear S3 with Tizen 2.3.2)?
The service app shall cyclical parse an xml file and inform the user if the content of the xml file has changed.
I know that ecore_timer_add function can be used to invoke functions cyclical, but this only works if the function to be called by the ecore_timer is an Eina_Bool function.
I also know that the alarm API can be used to launch an application, e.g. I could set an Alarm in the UI-application to launch the service app frequently.
But both of these options couldn´t help me so far, because:
1. If the service gets constantly new launched, all data is lost, and I can´t compare if the information from the XML file changed from the previous File parsing.
2. And the libxml Parser is a void function, so I can´t think of a possibility to use Ecore_Timer
Ecore_Timer cyclic recall libxml Parser – wearable Gear S3 Tizen 2.3.2
Hello everyone,
how is it possible to parse a XML file cyclical with the libxml Parser in a service App ( app for wearable, Gear S3 with Tizen 2.3.2)?
The service app shall cyclical parse an xml file and inform the user if the content of the xml file has changed.
I know that ecore_timer_add function can be used to invoke functions cyclical, but this only works if the function to be called by the ecore_timer is an Eina_Bool function.
I also know that the alarm API can be used to launch an application, e.g. I could set an Alarm in the UI-application to launch the service app frequently.
But both of these options couldn´t help me so far, because:
1. If the service gets constantly new launched, all data is lost, and I can´t compare if the information from the XML file changed from the previous File parsing.
2. And the libxml Parser is a void function, so I can´t think of a possibility to use Ecore_Timer
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio