09-10-2012 05:20 AM
In the Cascade framework, after the GUI is displayed, the main thread go to Applicaton::exec().
how can I process the geolocation event separately. I think there must be a event processor in Applicaton::exec(), but How can I interfere it?
Should I start a new thread?
09-17-2012 01:53 PM
Geolocation event is part of the BPS service.
The typical procedure of receiving event notification from BPS is as follows:
1. register with BPS platform that you wish to receive certain event. in this case
2. start a loop to receve event notification from BPS. when receive a event check the event type if you want to handle.
in this case.: bps_event_get_domain(event) ==geolocation_get_domain()
3.if this is the event you want to handle, you can call "geolocation" related APIs to check the details.
There is a similar example app "FunWithSensors", which demonstrates similar tasks.
Let me know if this helps,
09-19-2012 06:34 AM
In September will be released Beta 3 with Geocoding API for geocoding and reverse geocoding.