On Tue, Nov 25, 2014 at 5:29 PM, Thiago Macieira <[email protected]> wrote:
> On Wednesday 26 November 2014 08:51:30 Carsten Haitzler wrote: > > > And how does that accomplish the tasks that service_app_main() does? > > > > service_app_main ... *IS* an efl main event loop. or should be for native > > apis to work. the efl main event loop is also compiled with glib > > integration so technically it is both an efl main event loop and a glib > one > > at the same time. > > You've replied the opposite of what I asked. Why does service_app_main() > exist? If it doesn't do anything beyond invoke the EFL loop, I'd expect to > see > EFL functions there. Since that's not the case, I assume it does some set > up > before invoking the EFL main loop. > > The question is what it does. > > Alternatively, I can ask (again) what would be required for an already > existing EFL application to properly do what's expected of it on Tizen. Is > it > required to insert a Tizen-specific call service_app_main() via #ifdef'ery? > > Hi, it looks like service_app_main() initialize and starts the app main loop for service applications. The main loop manages service application life cycle and handles the registered events like low_memory and low_battery. I think the reason why there is a separate app_main function for the service app is because it has a different life cycle from the ui app. Documentations may help. https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/app/service_applications.htm This documentation is for the ui app life cycle. https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/app/state_transitions.htm Thanks. Daniel Juyung Seo (SeoZ) > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev >
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
