Hi all,
I'm trying to develop a simple app which does the following:
1. Allows the user to tap and select a Contact;
2. Allows the user to enter a destination
3. Starts GPS and does a few things on the _LocationChanged event.
4. If a text message is received from that contact, use TTS to read it out loud.
The app then calls Google Navigation and starts SMS intercept. The problem I'm running into is that, while Google Navigation is running, all incoming SMS messages are intercepted correctly, but they're then sent to a queue in the main process. The TTS routine never fires.
From the SMS module I've tried CallSubDelayed2(Main, "Readit", TextMessage), but the main process is never brought to the foreground because the navigation app is running;
I've tried CallSub2(same stuff), but again, the main process is never brought forward because Navigation is running.
Do I need to somehow pause navigation, or is there something like a DoEvents that operates on the message queue?
Thanks!
I'm trying to develop a simple app which does the following:
1. Allows the user to tap and select a Contact;
2. Allows the user to enter a destination
3. Starts GPS and does a few things on the _LocationChanged event.
4. If a text message is received from that contact, use TTS to read it out loud.
The app then calls Google Navigation and starts SMS intercept. The problem I'm running into is that, while Google Navigation is running, all incoming SMS messages are intercepted correctly, but they're then sent to a queue in the main process. The TTS routine never fires.
From the SMS module I've tried CallSubDelayed2(Main, "Readit", TextMessage), but the main process is never brought to the foreground because the navigation app is running;
I've tried CallSub2(same stuff), but again, the main process is never brought forward because Navigation is running.
Do I need to somehow pause navigation, or is there something like a DoEvents that operates on the message queue?
Thanks!