Bogdan Cristea
Lurker
Hi
I have a VoIP application that needs to be put in foreground when a call is received. This is managed with a background service, but I have 2 different situations:
1. the activity is put in background by pressing the home button, then the screen is turned off. When a call is received screen is automatically turned on and the activity is put in foreground.
2. while is activity is in foreground the screen is just turned off. In this case I am not able to turn on programatically the screen when a call is received.
Can anyone provide a solution for the second situation so that the screen is still turned on automatically when a call is received ?
thanks
Bogdan
I have a VoIP application that needs to be put in foreground when a call is received. This is managed with a background service, but I have 2 different situations:
1. the activity is put in background by pressing the home button, then the screen is turned off. When a call is received screen is automatically turned on and the activity is put in foreground.
2. while is activity is in foreground the screen is just turned off. In this case I am not able to turn on programatically the screen when a call is received.
Can anyone provide a solution for the second situation so that the screen is still turned on automatically when a call is received ?
thanks
Bogdan