8 Replies Latest reply on Jul 27, 2012 7:36 AM by Peter Arcuri

    AppCenter with Rhomobile app for MC65

    erika contiero

      Hi all,

       

      we are developing an enterprise app with Rhomobile, and the target device is Motorola MC65.

      We don't want the app user to explore device OS, and we would like lo limit the use of device to our app.

      We tested AppCenter, but with many tests we noticed that the presence of AppCenter causes some bad behaviour of our app (for example we saw the local web server stopped and the app blocked when authenticating to RhoConnect server).

      Is there an alternative to AppCenter? We are trying AppLaucher, but it has no security setting (no password to exit).

       

      Thank you so much.

       

       

      Erika

        • Re: AppCenter with Rhomobile app for MC65
          Darryn Campbell

          I haven't played with App Center for a few years but from what I remember there was nothing which prevented communications.  If you only have a single application you shouldn't need to use AppCenter at all since you can run your application in full screen mode which will lock out the OS.

            • Re: AppCenter with Rhomobile app for MC65
              Darryn Campbell

              If you are trying to run multiple applications please let us know what the 'bad behaviour' is and also, please confirm that your applications work fine without App Center.

              1 of 1 people found this helpful
                • Re: AppCenter with Rhomobile app for MC65
                  erika contiero

                  Hi Darryn,

                   

                  I post the log of the bad behavoiur of my Rhomobile app, which is extremely more frequent when AppCenter is on, and very rare when AppCenter is off.

                  Sometimes when we do a login, the app remains blocked on wait page, and the navigation is disabled, and every click on menu items is useless.

                  The log shows a "The operation timed out" error on http send request to login_callback method.

                  When this behavoiur occurs, we have to exit AppCenter, close the app in taskmanager, and then restart it.

                  If a user doesn't have the AppCenter password to exit, the only solution for this block is the reboot of device by 1+9+red keys.

                   

                  I'm sorry if I'm going off topic, if so I will open a new discussion in Rhomobile section.

                  Thank you for your attention.


                  I 26/07/2012 15:07:46:866 4979b3c2                 Sync| addCommand: Login

                  E 26/07/2012 15:07:46:941 4979b3c2           RhoSystem| Unknown Rho::System property : webview

                  E 26/07/2012 15:07:46:949 4979b3c2           RhoSystem| Unknown Rho::System property : webview

                  I 26/07/2012 15:07:46:954 4979b3c2 RHO SettingsController| Layout file: /Application/Program Files/KEM/rho/apps/app/layout_erb.iseq. Content size: 640

                  I 26/07/2012 15:07:47:097 4979b3c2           HttpServer| Process URI: '/public/css/windows_mobile.css'

                  I 26/07/2012 15:07:47:336 ca5d5f7a                  Net| Method: POST;Url: http://myrhoconnect/application/clientlogin

                  I 26/07/2012 15:07:47:343 ca5d5f7a                  Net| Try establish Internet connection

                  I 26/07/2012 15:07:47:489 ca5d5f7a                  Net| Wait for connect (1)

                  I 26/07/2012 15:07:47:519 ca5d5f7a                  Net| Wait for connect (2)

                  I 26/07/2012 15:07:48:527 ca5d5f7a                  Net| Wait for connect (3)

                  I 26/07/2012 15:07:49:536 ca5d5f7a                  Net| Wait for connect (4)

                  I 26/07/2012 15:07:51:249 ca5d5f7a                  Net| Wait for connect (5)

                  I 26/07/2012 15:07:51:261 ca5d5f7a                  Net| Connected

                  I 26/07/2012 15:07:51:275 ca5d5f7a                  Net| Cookie :

                  I 26/07/2012 15:07:54:095 ca5d5f7a                 Sync| Login callback: Url :http://localhost:1025/app/Settings/login_callback; Params: . Body: error_code=0&error_message=&rho_callback=1

                  I 26/07/2012 15:07:54:105 ca5d5f7a                  Net| Method: POST;Url: http://localhost:1025/app/Settings/login_callback

                  E 26/07/2012 15:08:39:057 ca5d5f7a                  Net| Call HttpSendRequest failed. Url:http://localhost:1025/app/Settings/login_callback. With code : 12002.Message: The operation timed out

                  E 26/07/2012 15:08:39:088 ca5d5f7a                 Sync| Fire notification failed. Code: -1; Error body:

                  I 26/07/2012 15:08:39:112 ca5d5f7a                 Sync| ThreadQueue blocked for 4294967295 seconds...

              • Re: AppCenter with Rhomobile app for MC65
                Pietro Francesco Maggi

                Hi Erika,

                If this is the only app the user is going to use, you can setup the MC65 so that RhoElements (and your app inside RhoElements) is launched at startup.

                You can then handle the logout from the app using a password in you code.

                 

                Pietro