Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    San Diego, CA
    Posts
    43
    Vote Rating
    4
    tinyfactory is on a distinguished road

      0  

    Default


    Worked for me too! Thanks for chiming in.

  2. #12
    Sencha User
    Join Date
    Jun 2011
    Posts
    1
    Vote Rating
    0
    h-satake is on a distinguished road

      0  

    Default I avoid this bug with PhoeGap and using Android Native API

    I avoid this bug with PhoeGap and using Android Native API


    if using Android 2.1 + Sencha Touch.

    behavior of Input field become strange.

    When I focus into field and scroll the panel, field is duplicate and show strange position.
    It is a Android WebView's bug.
    When inputing a HTML input field on Android, Android create other Native input field on it.
    And the Native input field cause these strange behavior.
    The Native input field is Android "WebTextView".
    http://www.androidjavadoc.com/2.3/an...bTextView.html

    I trid to resolve this bug only javascript code, but it is impossible.
    The Native input field could not remove by JS.
    So, I use phonegap and Android Native API.


    Use phonegap.js to call native Method.

    Code:
    === JavaScipt Code ===
    //Calling Native method usgin PhoneGap
    mywebview.removeAllViewsInLayout();


    Using DroidGap to call Native API from JS.

    Code:
    === Java Code ===
    
    === MAIN CLASS ===
    public class App extends DroidGap {
        
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            super.init();
    
            final MyWebView myWebView = new MyWebView(appView, this);
            appView.addJavascriptInterface(myWebView, "mywebview");
            
            super.loadUrl("file:///android_asset/www/index.html");
        }
    }
    === MAIN CLASS ===
    
    Add a method call removeAllViewsInLayout() inside your WebView class. 
    
    === MyWebView CLASS ===
    public class MyWebView extends Activity {
        public WebView webView;
        public DroidGap droidGap;
        
        public MyWebView(WebView webView, DroidGap droidGap) {
            this.webView = webView;
            this.droidGap = droidGap;
        }
        
        /**
         * Remove All ChildView on WebView
         * 
         */
        public synchronized void removeAllViewsInLayout() {
            try {
                Runnable runnable = new Runnable() {
                    public void run() {
                        webView.removeAllViewsInLayout();
                    };
                };
                droidGap.runOnUiThread(runnable);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
    === MyWebView CLASS ===

    Here is my Blog post about this but in Japanese.
    http://extjs.blog.sus4.co.jp/2011/06...form-behavior/

  3. #13
    Sencha User
    Join Date
    May 2011
    Location
    India
    Posts
    1
    Vote Rating
    0
    rshankar is on a distinguished road

      0  

    Default


    Hi All,

    I am new to Sencha development
    I am also facing the same issue with the password field. I tried using form.disable(), But the other fields in the form gets disabled when i clicked Login button except "Password Field". This Sticky password field is carried over to other pages. I also tried blurring the password field and switching over the focus to username field when button is clicked, but nothing works perfectly. Can anyone,throw more light on this issue. Is there any other work around I can proceed with..?

    Thanks in advance.

  4. #14
    Sencha User
    Join Date
    Jul 2011
    Posts
    2
    Vote Rating
    0
    MatteoBurgassi is on a distinguished road

      0  

    Default


    Code:
    === JavaScipt Code ===
    //Calling Native method usgin PhoneGap
    mywebview.removeAllViewsInLayout();
    Can you explain where I must put the above code? thanks a lot...

  5. #15
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    LachlanArthur is on a distinguished road

      0  

    Lightbulb Fix

    Fix


    I had this exact problem, here's how to fix it:

    You need to blur the password field as stated earlier, do that by focusing on a "normal" text field. Then remove focus from the text field.

    It seems you can't simply do:
    Code:
    Ext.getCmp('login_username').focus().blur();
    But it does work when each call is in a setTimeout().

    So here's the code that removes the focus from a password field every time:
    Code:
    setTimeout(function() {
        Ext.getCmp('login_username').focus();
        setTimeout(function() {
            Ext.getCmp('login_username').blur();
        },0);
    },0);
    Hope this helps!

  6. #16
    Sencha User
    Join Date
    Feb 2012
    Posts
    1
    Vote Rating
    0
    harikrishnanvh is on a distinguished road

      0  

    Default Calling Native code from PhoneGap.js

    Calling Native code from PhoneGap.js


    Hi,

    Could you manage to implement this?

    I still could not figure out how to call this from Phonegap.js

    Would you be able to help. Thanks in advance

  7. #17
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Vote Rating
    15
    siebmanb will become famous soon enough

      0  

    Default


    @LachlanArthur You are the best ! I have been looking for days... Solution works great. Thanks.

Similar Threads

  1. Replies: 5
    Last Post: 27 Jul 2012, 1:22 PM
  2. Replies: 5
    Last Post: 2 Mar 2011, 1:08 PM
  3. [FIXED-479] .98 - Strange characters in Password field on Android
    By suzzer99 in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 6 Nov 2010, 3:19 AM
  4. password field is not defined in CSS (x-form-password)
    By vtswingkid in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Mar 2007, 5:59 PM

Thread Participants: 11

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."