I'm looking to move an app i wrote for a micro-controller to Android. The app uses 10hz gps data arriving over bluetooth and then utilises this data for timing and line-crossing functions.
On the micro-controller, the app is coded as two tasks, one captures the serial data and makes it available via global variables and semaphore to the other task.
Given the nature of event handling in B4A (i.e. an event will not fire whilst code in an event is running - unlike VB) i think its going to work best if i retain the 2 tasks approach to the app.
So if i write the gps processing task as a service, what options do i have for communicating with the foreground task the user intereacts with ?
Is it possible to set up any shared memory space, or an old fashioned DDE link etc ?
thanks
On the micro-controller, the app is coded as two tasks, one captures the serial data and makes it available via global variables and semaphore to the other task.
Given the nature of event handling in B4A (i.e. an event will not fire whilst code in an event is running - unlike VB) i think its going to work best if i retain the 2 tasks approach to the app.
So if i write the gps processing task as a service, what options do i have for communicating with the foreground task the user intereacts with ?
Is it possible to set up any shared memory space, or an old fashioned DDE link etc ?
thanks