App-directed SMS wakeup during call on VX4400? | developer.brewmp.com App-directed SMS wakeup during call on VX4400? | developer.brewmp.com

Developer

App-directed SMS wakeup during call on VX4400?

Forums:

I'm testing an app of ours that wakes up when an app-directed SMS arrives. I'm running two tests:

1. App is running, phone call comes in, app-directed SMS arrives...
2. App is NOT running, phone call comes in, app-directed SMS arrives...

I've gotten all phones I'm testing on to work properly in the first situation. (The app checks whether EVT_APP_SUSPEND has been called. If so, any incoming app-directed SMSes are queued, and then processed at EVT_APP_RESUME.)

In the second test, the following phones worked well: T720, CDM8900, VX6000. When the app-directed SMS came in during a phonecall (and, again, the app wasn't running when the call came in), the app will launch after the call ends, and then receive and process the SMS.

However, on the LG VX4400, when the call ends, I'm brought back to the main OEM menu (idle screen). I have to go into the app. manager (e.g., "Get It Now!") and manually launch our app. It then launches and processes the SMS.

I don't think that's acceptable behavior for our app, so I'm wondering if there's any work around someone knows of.

Thanks!

-bill!

I believe that during voice call when the SMS comes in - the application is started and is given the EVT_APP_MESSAGE event. When handling this message you should start your application with ISHELL_StartAppletEx and SSA_AFTER_VOICE_CALL as 3rd parameter.
Then your application will start after call is ended.

I believe that during voice call when the SMS comes in - the application is started and is given the EVT_APP_MESSAGE event. When handling this message you should start your application with ISHELL_StartAppletEx and SSA_AFTER_VOICE_CALL as 3rd parameter.
Then your application will start after call is ended.

archi wrote:I believe that during voice call when the SMS comes in - the application is started and is given the EVT_APP_MESSAGE event. When handling this message you should start your application with ISHELL_StartAppletEx and SSA_AFTER_VOICE_CALL as 3rd parameter.
Then your application will start after call is ended.
Excellent, that seems to be doing it.
The stupid thing is, I didn't notice that our other programmer had done just that in other places, otherwise I would've tried it myself. I guess what threw me was that it was WORKING on some other phones, just not the LG VX's I was testing on.
Thanks!!!

archi wrote:I believe that during voice call when the SMS comes in - the application is started and is given the EVT_APP_MESSAGE event. When handling this message you should start your application with ISHELL_StartAppletEx and SSA_AFTER_VOICE_CALL as 3rd parameter.
Then your application will start after call is ended.
Excellent, that seems to be doing it.
The stupid thing is, I didn't notice that our other programmer had done just that in other places, otherwise I would've tried it myself. I guess what threw me was that it was WORKING on some other phones, just not the LG VX's I was testing on.
Thanks!!!