ibm-mobilefirst

IBM Workligt Single HTML file containing all application pages: How to load new page?

蓝咒 提交于 2019-12-12 06:37:12
问题 Im developing a hypbrid app using IBM Workligth, with a single html file containing all application pages, like: <div data-role="page" id="page1"> //page1 specific </div> <div data-role="page" id="page2"> //page2 specific </div> How do I switch between the pages? It seems like this should be really simple, but I can't find out how. Thanks in advance. 回答1: You should probably also mention that you are using jQuery Mobile ( data-role attribute in your HTML tags...), because that's the key to

Xtify + Worklight 6.1 integration in android environment

混江龙づ霸主 提交于 2019-12-12 06:29:58
问题 We have been working on the integration between worklight and xtify for push notifications. We are using version 2.3.2 for xtify sdk since latest version (2.4.2) made the app failed because a class not found exception. The logic for using xtify has been added to the native code of the WL hybrid application as follows: public class XtifyWL extends WLDroidGap { public static final String XTIFY_APP_KEY = "xxxxxxxx-xxxxx-xxxx-xxxxx-xxxxxxxxx"; public static final String PROJECT_NUM =

unable to test application in android device

佐手、 提交于 2019-12-12 06:13:52
问题 I am developing an mobile application using IBM MobileFirst Plaform. When I test the app in the browser, Mobile simulator and android emulator the application is working fine. When I deploy the apk file in my android device and run the application is not running. when I checked the logcat I have the following error. I/Web Console(20334): processMessage failed: Message: F09 WLAuthorizationManagerPlugin1268447688 {"wlFailureStatus":"UNRESPONSIVE_HOST","status":500,"responseText":"","statusText"

IBM MobileFirst 7.0, Working offline sample application not working

我与影子孤独终老i 提交于 2019-12-12 06:12:57
问题 Environment: 1. Windows 7 and 2. IBM MobileFirst Platform Studio 7.0 Sample Working offline application of IBM MobileFirst Platform 7.0 from Getting Started Modules imported and tested with the following procedures. 1. Set heartbeat to 5 seconds 2. Background application behavior can be seen using web debuggers 3. Shut down MobileFirst Server 4. In a few seconds heartbeat should fail, and disconnectDetected function should be invoked 5. Start up MobileFirst Server 6. In a few seconds

worklight adapter invoke web service. error Cannot read property Body

血红的双手。 提交于 2019-12-12 06:12:27
问题 Invoking the following adapter return Ecma Error: TypeError: Cannot read property \"Body\" from undefined. I have read similar threads and had -Dorg.xml.sax.driver = com.sun.org.apache.xerces.internal.parsers.SAXParser to eclipse.ini but didn't solve the issue. function getStateDetails(idstate) { var request='<?xml version="1.0" encoding="utf-8"?>'+ '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas

MobileFirst HTTP Adapter: delete/update back-end cookie value

限于喜欢 提交于 2019-12-12 06:04:38
问题 I'm using WL.Server.invokeHttp(options) several times in my adapter. I need to have different values for a given cookie in different calls. If I call WL.Server.invokeHttp({cookies: { mycookie: 'firstValue' } ... the back-end gets this header "cookie": "mycookie=firstValue" , as expected. If I later want to make another call with a different cookie value, WL.Server.invokeHttp({cookies: { mycookie: 'secondValue' } ... the back-end gets this header "cookie": "mycookie=firtsValue; mycookie

IBM Application Center APK upload failed

大兔子大兔子 提交于 2019-12-12 05:39:10
问题 My IBM Application Center version 7.0.0.00-20150729-1801 Trying to upload the App Center Client APK file to App Center Console. It fails with an error - FWLAC0000E: A server error was detected. [8/16/15 23:16:35:510 CDT] 00000129 UploadService I file uploaded [8/16/15 23:16:52:661 CDT] 00000129 ApplicationSe E { "id": "223b252a-a3aa-443d-9472-49e413d4af1c", "message": "FWLAC0000E: A server error was detected.", "params": [ ], "productVersion": "7.0.0.00-20150729-1801" } com.ibm.puremeap

IBM Worklight: Push Notification and Badge

纵然是瞬间 提交于 2019-12-12 05:38:48
问题 On testing Worklight push notification for Android, if the alert (notification message) is empty, the app icon with app name will be displayed in notifications bar without any notification message. May I know how Worklight will handle this case if alert is empty in iOS? Will the notification alert be prompted? The reason to ask so is that I would like to update the badge number only without launching an alert box if there is update from server even though the app is closed. May I know whether

How to change the mobile app ICON inside mobile quality assurance?

为君一笑 提交于 2019-12-12 05:27:56
问题 Situation: You can create application inside MobileFirst Quality Assurance, after this creation no specific App Icon is displayed. After the upload of the first version App Build Version into MobileFirst Quality Assurance the App Icon changes to the Icon with is used for the application inside iOS or Android. The observation is that ICON does not change, even when the upload of new builds of the App which contains a new ICON. Inside the HELP System is no information related to the ICON

Accessing Soap service using java adapter in mobilefirst

雨燕双飞 提交于 2019-12-12 05:08:12
问题 I have written a SOAP WSDL application using mobilefirst by: 1) Using the Discover backend services option 2) Writing my own JavaScript adapter code to follow the documentation provided by IBM. Now my final R&D is to consume this soap service using a java adapter. I have gone through many StackOverflow topics and samples but I haven't been able to find anything related. Can anyone explain the steps to invoke a SOAP-based webservice request using java adapter? 回答1: The following video blog