7 Replies Latest reply on Sep 17, 2014 11:37 PM by Kutir Mobility

    Problem on MC55(Very Slow)

    mobeid@asapsystems.com

      Hello All, I Have a problem on my MC55, when I click on a link or Back button I need to Press and Hold to work. I use webview.navigate to navigate between pages. Any idea ? Best Regards, Mazen

        • Re: Problem on MC55(Very Slow)
          Kutir Mobility

          Hi Mazen

           

          Will the videos under the section "Performance" can help you https://developer.motorolasolutions.com/community/rhomobile-suite/videos ?

           

          Thank you.

          Visnupriya R

          Kutir Mobility

          • Re: Problem on MC55(Very Slow)
            Jon Tara

            This is a slow device running an ancient version of  Windows Mobile. You'll have to treat it with kid gloves and say "please". Don't get mad if every once in a while the device seems to hum "The Macarana", because that's about how old it is. Indulge it's whim.

             

            Are you using jQuery Mobile? If so, the first thing you should do is not. Something more simple would be appropriate, perhaps Bootstrap or some other all-or-mostly CSS solution.

             

            Are you making use of Ruby programming, or only using Javascript? On any device, Ruby code is generally going to be faster than Javascript. And you will likely face fewer memory issues with Ruby than Javascript. If you are writing in Javascript because you want to avoid learning Ruby, this is not the device to do that with. It needs the performance that Ruby can bring. Javascript should be reserved for truly "front-end" stuff - dealing with browser events and UI only.

             

            If you ARE using jQuery Mobile (but don't) be aware that using WebView.navigate does a full reload of all of your CSS/JS which can be costly. If you ARE using jQuery Mobile (but don't) navigate using JS $.mobile.changePage().

             

            If you give us some more specific details, we can offer more concrete suggestions

             

            Some devices can have some delay issue with "click" events. This affects mostly iPhone, and is generally solved for modern Android devices. Dunno about Windows Mobile 6.5 though! It may be advantageous to use a different event. In jQuery Mobile (but don't!) you could use vclick to bypass the "click delay", otherwise you need to use a combo of touchstart and mousedown (if this thing has touch). Unclear if this possible 300-400mSec delay is part of your problem or not.

              • Re: Problem on MC55(Very Slow)
                mobeid@asapsystems.com

                Hi Jon, Unfortunately, I'm using the JQM Framework to create our Application and the most of our client using the MC55. The application is very good on IOS and Android, but only on Windows mobile it slow or very slow. I used ruby to call the Bar code scan ,the Signature Capture and to upload images. When i return to an old version (15 month ago) the application is faster because 15 month ago i don't have this big Javascript and JQM code in every page. Mazen Obeid

                  • Re: Problem on MC55(Very Slow)
                    Jon Tara

                    I would avoid JQM on MC55 if at all possible. How dependent are you on JQM?

                     

                    Have you kept jQuery Mobile up to date? Since you have an older app, Rhodes originally had JQM 1.2. It now comes with 1.3. 1.2 -> 1.3 is not a difficult update. 1.2 -> 1.4 can be a challenge, but it is MUCH faster than 1.2/1.3.

                     

                    Using WebView.navigate is costing you a lot of performance, because you are completely reloading CSS, jQuery, jQuery Mobile, and your scripts for every single page!

                     

                    There are specific work-arounds you can use if you have specific problems. For example, replace listviews with more simple HTML markup with your own CSS.

                     

                    Rhodes lets you have different template files for different OSs! You could use simplified pages on Windows Mobile.