Hi.
I'm using the telephone module to make a call and it works perfectly except for the fact that it forces my python application to background. As far as I know there is currently no way to force python application back to foreground after the telephone.dial() from python itself, so I could use a tip for how to achieve this. I was thinking about c++ extension to try force the python application back to foreground after telephone.dial() but I have no idea how to exactly do this so any help is welcome.

Reply With Quote


It only took some little changes to the original code and the mmp file to get it working.
) and it doesn't lag like appswitch does as it doesn't switch foreground applications, it just forces the priority up. The problem is, it still can't keep python on foreground when someone calls, so can someone tell me how to exactly improve this code? The code is mainly these four lines:

