Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-17 Thread Shruthi Varma
Hi Saran, Here in this case, the phone gets an incoming call after the user has pressed Sign in button. So, If I check the telephony state while clicking Sign In button, it doesn't work. This issue occurs very rare only when the wifi connection is low. I mean the connection is fast, the

Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-17 Thread Shruthi Varma
Hi Ramesh, It is in Android IceCream Sanditch code. It is an open source code. U just have to search for AccountUnlockScreen.java. ( http://source-android.frandroid.com/frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) See the getProgressDialog() method in

Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-10 Thread saran vonteddu
Hi Shruthi, when you click on Sign in btn check the telephony state, and if it is in call state, try to hide progressDialog. May b below code is useful. if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE) getProgressDialog().hide(); let me know if it is

Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.

2012-05-10 Thread ramesh mandare
give me code... On 5/10/12, saran vonteddu saran.myw...@gmail.com wrote: Hi Shruthi, when you click on Sign in btn check the telephony state, and if it is in call state, try to hide progressDialog. May b below code is useful. if (mTelephonyManager.getCallState() !=