मुझे कैसे पता चलेगा कि कीबोर्ड खुला है। असल में मेरी समस्या यह है कि यदि कीबोर्ड खुला है तो केवल मैं छिपाने के लिए कॉल करता हूं, हमेशा कॉल छुपाने के लिए नहीं। यह जांचने के लिए कोई तरीका है कि कीबोर्ड खुला है या नहीं? वर्तमान में मैं कीबोर्ड को छुपाने के लिए इस विधि का उपयोग कर रहा हूं।मुझे कैसे पता चलेगा कि कीबोर्ड खुला है
EditText myEditText = (EditText) findViewById(R.id.myEditText);
View view = this.getCurrentFocus();
if (view != null) {ditText) findViewById(R.id.myEditText);
View view = this.getCurrentFocus();
if (view != null) { Inp`
im.hideSoftInputFromWindow(view.getWindowToken(), 0);
क्या आपने http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android की जांच की है? – Rajesh