Brew Question: Download Brew PDF

After making a voice call using ITAPI_MakeVoiceCall, why does my application seem to be restarted when I respond No to the "Return to Application" prompt?

Tweet Share WhatsApp

Answer:

Make sure that the parameter clsReturn (application to start when the call ends) in the call to ITAPI_MakeVoiceCall is 0 (zero). If you specify clsReturn as your app's Class ID, then BREW tries to create another instance of your app, rather than resume your app.

Download Brew PDF Read All 78 Brew Questions
Previous QuestionNext Question
When making a voice call using ITAPI_MakeVoiceCall, responding No to the Privacy Alert hangs the application. What is the workaround?What guidelines should follow when making a voice call immediately after a data call?