3 Replies Latest reply on Dec 7, 2012 6:24 AM by Steffen Schäfer

    RhoMobile scan with MC95

    Steffen Schäfer

      Hi,

      I tried to get the Inventory- example running on a MC95 with windows mobile.

      The example works fine, till I try to activate / use the barcode scanner.

      If I run it on the device, I get the following error msg:

      I 01/01/2009 04:34:55:000 4db8639e RHO Rho::RhoController| inst_render_index

      I 01/01/2009 04:34:55:000 4db8639e           HttpServer| GC Start.

      I 01/01/2009 04:34:55:000 4db8639e           HttpServer| GC End.

      T 01/01/2009 04:34:56:000 cc49b2be           MainWindow| OnBrowserTitleChange: COT- Inventur

      I 01/01/2009 04:34:59:000 4db8639e           HttpServer| Process URI: '/app/Inventory/scanpage'

      I 01/01/2009 04:34:59:000 4db8639e                  APP| RHO serve: /app/Inventory/scanpage

      I 01/01/2009 04:34:59:000 4db8639e APP InventoryController| Testausgabe per App- Info

      E 01/01/2009 04:34:59:000 4db8639e APP InventoryController| Testausgabe per App- Info

      E 01/01/2009 04:34:59:000 4db8639e                 User| Testausgabe Jetzt mal nen Rholog

      I 01/01/2009 04:34:59:000 4db8639e                  APP| const_missing: Scanner

      I 01/01/2009 04:34:59:000 4db8639e                  APP| App error: uninitialized constant InventoryController::Scanner

      lib/rho/rho.rb:1374:in `const_missing'

      apps/app/Inventory/inventory_controller.rb:91:in `scanpage'

      lib/rho/rhocontroller.rb:104:in `serve'

      lib/rho/rhoapplication.rb:226:in `serve'

      lib/rho/rho.rb:879:in `serve'

      I 01/01/2009 04:34:59:000 4db8639e           HttpServer| GC Start.

      I 01/01/2009 04:34:59:000 4db8639e           HttpServer| GC End.

       

      I thought a licence could solve this issue, but this seems not to work at all.

      If I test the scanner with DataWedge, it works fine (at least before testing it with RhoElements I stopped the datawedge).

       

      Furthermore this MC95 has also a capture unit, so probably this could be an issue?

       

      thanks in advance,

      regards

      Steffen

        • Re: RhoMobile scan with MC95
          Peter Arcuri

          Steffen, I'm not familiar with the term "MC95 has also a capture unit", but you may want to ensure the unit is updated with the latest OS BSP build.

           

          Another thing I'd try is boot the device after stopping DataWedge.

           

          I image this is a native app developed with RMS 2.1.

          1 of 1 people found this helpful
          • Re: RhoMobile scan with MC95
            Darryn Campbell

            The error appears to be coming from the Ruby engine, either you have an error in your Ruby code or you have not specified app_type: rhoelements in your build.yml (which ensures your controller has a 'Scanner' object.

            1 of 1 people found this helpful
              • Re: RhoMobile scan with MC95
                Steffen Schäfer

                Hi,

                 

                sorry for the late response, but to keep you up to date:

                - I already had the newest OS installed

                - It seems, that there are different problems with this topic (device and my development environment)

                   - first of all, I thought I had to install additional Camera- APIs, but for now it seems to work also without

                   - I activated 'non motorola device' in the project settings. As enabled them, I got compiler errors comming from ruby?. Therefore I reinstalled the complete Rho- Studio.

                   - And no: It works.

                 

                Thanks a lot for your support

                 

                regards