Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.
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 progressDialog is shown only for 2 secs. But otherwise, the dialog just runs in the foreground, and the incoming call screen in the background. Regards, Shruthi. On Thu, May 10, 2012 at 4:46 PM, saran vonteddu saran.myw...@gmail.comwrote: 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 not working... :-) regards, Saran On Fri, May 4, 2012 at 7:19 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: PFA screenshot. On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi All, I encountered a problem in Google Nexus phone having Android 4.0 (*Ice Cream Sandwich*). [Steps] 1. Set up a Gmail account in an Android device. 2. Set up a Security lock, may be a Pin/ pattern Screen Lock in Setting - Security and lock the phone (by pressing power button). 3. Phone screen is locked with PIN/ Pattern. Enter wrong PIN/ Pattern 5 times and phone displays Forgot PIN?. 4. Press Forgot PIN, enter correct gmail account and password, then press Sign in, phone is checking i.e a ProgressDialog box appears displaying checking on the screen. 5. Give a call to this device from any other device during this time when the deice is checking the Gmail credentials. We can see the incoming call Screen in the background of the ProgressDialog as seen in the screenshot attached. Hence the user cannot answer the call till it finishes checking and dismiss the dialog box. The code to this dialog box is in android base ICS - (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) Please help me fixing this issue. Thanks and Regards, Shruthi. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.
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 here. The progressDialog is hidden after getting the results or in cleanUp() method. Regards, Shruthi. On Thu, May 10, 2012 at 8:05 PM, ramesh mandare ramesh.manda...@gmail.comwrote: 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() != TelephonyManager.CALL_STATE_IDLE) getProgressDialog().hide(); let me know if it is not working... :-) regards, Saran On Fri, May 4, 2012 at 7:19 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: PFA screenshot. On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi All, I encountered a problem in Google Nexus phone having Android 4.0 (*Ice Cream Sandwich*). [Steps] 1. Set up a Gmail account in an Android device. 2. Set up a Security lock, may be a Pin/ pattern Screen Lock in Setting - Security and lock the phone (by pressing power button). 3. Phone screen is locked with PIN/ Pattern. Enter wrong PIN/ Pattern 5 times and phone displays Forgot PIN?. 4. Press Forgot PIN, enter correct gmail account and password, then press Sign in, phone is checking i.e a ProgressDialog box appears displaying checking on the screen. 5. Give a call to this device from any other device during this time when the deice is checking the Gmail credentials. We can see the incoming call Screen in the background of the ProgressDialog as seen in the screenshot attached. Hence the user cannot answer the call till it finishes checking and dismiss the dialog box. The code to this dialog box is in android base ICS - (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) Please help me fixing this issue. Thanks and Regards, Shruthi. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.
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 not working... :-) regards, Saran On Fri, May 4, 2012 at 7:19 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: PFA screenshot. On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi All, I encountered a problem in Google Nexus phone having Android 4.0 (*Ice Cream Sandwich*). [Steps] 1. Set up a Gmail account in an Android device. 2. Set up a Security lock, may be a Pin/ pattern Screen Lock in Setting - Security and lock the phone (by pressing power button). 3. Phone screen is locked with PIN/ Pattern. Enter wrong PIN/ Pattern 5 times and phone displays Forgot PIN?. 4. Press Forgot PIN, enter correct gmail account and password, then press Sign in, phone is checking i.e a ProgressDialog box appears displaying checking on the screen. 5. Give a call to this device from any other device during this time when the deice is checking the Gmail credentials. We can see the incoming call Screen in the background of the ProgressDialog as seen in the screenshot attached. Hence the user cannot answer the call till it finishes checking and dismiss the dialog box. The code to this dialog box is in android base ICS - (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) Please help me fixing this issue. Thanks and Regards, Shruthi. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Cannot answer the incoming call during checking gmail account when user forgot PIN code.
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() != TelephonyManager.CALL_STATE_IDLE) getProgressDialog().hide(); let me know if it is not working... :-) regards, Saran On Fri, May 4, 2012 at 7:19 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: PFA screenshot. On Fri, May 4, 2012 at 7:18 PM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi All, I encountered a problem in Google Nexus phone having Android 4.0 (*Ice Cream Sandwich*). [Steps] 1. Set up a Gmail account in an Android device. 2. Set up a Security lock, may be a Pin/ pattern Screen Lock in Setting - Security and lock the phone (by pressing power button). 3. Phone screen is locked with PIN/ Pattern. Enter wrong PIN/ Pattern 5 times and phone displays Forgot PIN?. 4. Press Forgot PIN, enter correct gmail account and password, then press Sign in, phone is checking i.e a ProgressDialog box appears displaying checking on the screen. 5. Give a call to this device from any other device during this time when the deice is checking the Gmail credentials. We can see the incoming call Screen in the background of the ProgressDialog as seen in the screenshot attached. Hence the user cannot answer the call till it finishes checking and dismiss the dialog box. The code to this dialog box is in android base ICS - (frameworks/base/policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java ) Please help me fixing this issue. Thanks and Regards, Shruthi. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en