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.
1 of 1 people found this helpful
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.
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...
1 of 1 people found this helpful
There is a log in appcenter that you might want to look at as well. It will tell you if appcenter is killing something that it doesn't think should be running. If you login to appcenter and hit the options button and go over to the "Log" tab, you might see somethig there that helps.
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.
unfortunately, it isn't the only app the user is going to use: I have to enable the access also to Wireless Manager, to setup the network connection.
If you're using Windows connection manager you should be able to preconfigure the connections on your device and select which one to use via the Network plugin http://docs.rhomobile.com/rhoelements/network
Hi Erika, as you know AppCenter restricts user activity on mobile devices to a set of authorized programs and configurations hence any unauthorized program that attempts to start (either automatically or by user control) is immediately terminated. Sometimes programs call other programs and if they are not clearly identified to AppCenter they will be considered unauthorized and hence terminated. I suspect this is root-cause to the issue you’re encountering.
If you haven’t already done so, run your Rho app and AppCenter in User Mode session then read its log file. All access violations to the configuration are logged to the log file. This will tell which programs you need to add to AppCenter configuration so that these programs are not restricted. I have attached the AccCenter admin guide for more information located on page 4-18.
Hope this helps.