Hi,
I am new android application development.
I am able to unlock the screen when there is an incoming call and
after that lock the screen again. After restarting the device if I
get first incoming call this logic is not working. On subsequent
incoming calls the logic works.
Any help??
My code is:
String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE);
if (state.contentEquals("RINGING"))
{
lock.disableKeyguard();
}
lock.reenableKeyguard();
--
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