Phone exits to background when picked up in foreground

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

Phone exits to background when picked up in foreground

Postby rjconrad » Fri Aug 23, 2013 9:28 am

Hello,
The problem I am having is that when my application is running and is in the foreground, I pick up the phone and it flashes to background and back to foreground because I wrote some code to keep it in foreground.

However, that flashing of the background is annoying when just picking up the phone to call through my application, is there any way to avoid this?

Thanks
rjconrad
Newsterisk
 
Posts: 12
Joined: Tue Jul 23, 2013 10:44 am

Re: Phone exits to background when picked up in foreground

Postby malcolmd » Fri Aug 23, 2013 2:28 pm

There's no good way to avoid it.

What's your app trying to do that involves the user picking up the handset?
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: Phone exits to background when picked up in foreground

Postby rjconrad » Mon Aug 26, 2013 8:55 am

Well when the app is running, I have a menu of possible connections I can make, for simplicity sake it is a list of extensions and then when one of them is hit, it will call that extension but stay inside the app because I also want to show a custom screen of the status, and what the status is of the other channels (extensions).

So I sort of want to have total control of the phone with my application, but the phone keeps butting in with its default controls of course =/
rjconrad
Newsterisk
 
Posts: 12
Joined: Tue Jul 23, 2013 10:44 am


Return to Digium Phone API

Who is online

Users browsing this forum: Google [Bot] and 1 guest