worklight-mbs

IBM Worklight 6.0 - QR Code does not work

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 06:45:16
问题 I am trying to open hybrid app in my iphone, so the best option for me is scan in a QR code that I can save time to input long URL. But what makes me so upset is that the icon fails to open in a new pop-up window, accordingly, I can't scan it. I am not sure if the the IE or chrome safety option causing that, or it's Dojo bug. This is QR code icon that I can't open: 回答1: Following the below steps, I havel successfully used the QR code from the Worklight Console's MBS preview page to preview

IBM Worklight - File API simulation in Worklight Console's MBS

青春壹個敷衍的年華 提交于 2019-12-25 04:54:24
问题 Is there any way to simulate File API on the browser simulator for worklight projects? I am using mozilla firefox 19.0.2 回答1: Yes, all you need to do is to ensure that your browser is properly configured to load applets. Logically, installing a Java Runtime Environment should setup your Firefox Java plugin. Maybe this plugin is disabled in your Firefox, check it in Tools > Add-ons (and then Plugins tab). If you are running on Windows, you should also check your Java settings in the Control

IBM Worklight 6.0 - “Capture API simulation is disabled (applet not loaded, please check your Java settings)”

孤人 提交于 2019-12-12 06:49:47
问题 I am trying to develop a hybrid application for Android (2.2). When i try to preview the application in Worklight Console's MBS, it doesn't properly work. I get the following message: Capture API simulation is disabled (applet not loaded, please check your Java settings) Is there any way to simulate File API on the browser simulator for worklight projects? Logcat file: 07-05 23:00:24.977: I/dalvikvm(882): Could not find method org.apache.cordova.CordovaWebView.setOverScrollMode, referenced

IBM Worklight 5.0.6.1 - Mobile Browser Simulator - WL.Device.getNetworkInfo for navigator.network.connection.type vs. navigator.connection.type

柔情痞子 提交于 2019-12-11 23:05:39
问题 We see a different behavior in the MBS and on our iOS and Android devices. In the Simulator: navigator.network.connection.type returns the value that is defined in the Simulator menu (this is the old API and is deprecated). navigator.connection.type is undefined (this is the new and soon only official API). On the devices: Both return the right value (deprecated API and new API) The implication is that the following call: WL.Device.getNetworkInfo(function (networkInfo) { alert (networkInfo