There are many open source VoIP client out there that you can look at. You
can google for imsdroid or csipsimple, for example.

The main idea is to implement a service that runs even when your app is in
background and listens to VoIP events (like incoming calls). Then the
service launches an intent to show the call screen activity in foreground
when a new call arrives.

You would probably also manage the display wakeup and unlock if the device
is in standby and locked when the call arrives. Both the VoIP clients above
have such features.

Regards.
Il 25/nov/2013 19:27 "flsobral" <[email protected]> ha scritto:

> I'm working on an application that uses VoIP and I need to force the call
> screen on the foreground when the phone receives a call, just like a
> regular phone call.
> I know this is generally a bad thing to do, but this "feature" was
> requested by the customer and the application won't be publicly available.
>
> I know this is possible, but I couldn't get it done. Any ideas?
>
>
> Thanks in advance.
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to