1. #1
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    Answers
    5
    efortes is on a distinguished road

      0  

    Default Answered: Android keyboard automatically closes after textfield tap

    Answered: Android keyboard automatically closes after textfield tap


    When i tap a textfield the android keyboard opens up and hides again (Only after apk install. Works fine in the browser). This problem is on my Samsung Galaxy S3 version 4 but also on the older devices with version 2.
    I realized that all the android overlays like copy text, photo capture etc all have the same problem.

    Does anyone know what the problem could be?

    Here is a small peace of code that i tested within the app.js:

    Code:
        launch: function() {
        	
            var navView = Ext.widget('container', {
            	xtype: 'container',
                fullscreen: true,    	
            	layout: 'hbox',
            	//scrollable: null,
            	items: [{
            		xtype: 'formpanel',
            		flex: 1,
            		items: [{
            			xtype: 'textfield',
            			label: 'Test'
            		}, {
            			xtype: 'textfield'
            			
            		}, {
    
    
                    	html: '<input type="text" />',
            		}]
            	}]
            });	
            navView.show();
        }

  2. I posted a reply to this on the premium forums, hope this helps:

    I found that if I require Ext.device.Orientation, I was getting the same thing. I removed this require from my app.js and the keyboard worked again... I didn't investigate it much, but that's what happened to me...
    -Blayne Watt
    Senior Engineer
    General Electric, Inc.

  3. #2
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    Answers
    5
    efortes is on a distinguished road

      0  

    Default


    Anyone? This is kind of a big show stopper

  4. #3
    Sencha Premium Member
    Join Date
    May 2012
    Location
    General Electric, Foxboro, MA
    Posts
    71
    Vote Rating
    5
    Answers
    2
    blaynewatt is on a distinguished road

      1  

    Default


    I posted a reply to this on the premium forums, hope this helps:

    I found that if I require Ext.device.Orientation, I was getting the same thing. I removed this require from my app.js and the keyboard worked again... I didn't investigate it much, but that's what happened to me...
    -Blayne Watt
    Senior Engineer
    General Electric, Inc.

  5. #4
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    Answers
    5
    efortes is on a distinguished road

      0  

    Default


    Thank you very much. I'm going to play with the included files tommorow to see if that helps

  6. #5
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    Answers
    5
    efortes is on a distinguished road

      0  

    Default


    That worked. Thank you very much.
    This must be a bug?

    Also my Ext.device.Camera.capture not working anymore. I guess it should be something similar.

  7. #6
    Sencha Premium Member
    Join Date
    May 2012
    Location
    General Electric, Foxboro, MA
    Posts
    71
    Vote Rating
    5
    Answers
    2
    blaynewatt is on a distinguished road

      1  

    Default


    Are you using sencha touch 2.1.1 with the latest sencha cmd (3.1.1)? I lost the camera too, was told cmd 3.1.1 is for touch 2.2 and higher only. Camera only died for android, worked on iPad

    Rolling back to cmd 3.0 fixed the camera. Touch 2.2 was released yesterday, but I haven't had a chance to try it yet

    Regards,
    -Blayne Watt

  8. #7
    Sencha User efortes's Avatar
    Join Date
    Jun 2010
    Posts
    34
    Vote Rating
    2
    Answers
    5
    efortes is on a distinguished road

      0  

    Default


    Again thanks for the notice. I'm on touch 2.1.1 and cmd 3.1.1 indeed.
    I will try to update to 2.2 again soon. Last time i tried there where some issues with the list.



Thread Participants: 1