ibm-mobilefirst

IBM Worklight 6.0 - Unable to run sample hybrid worklight app using dojo toolkit for android environment on avd?

有些话、适合烂在心里 提交于 2019-12-17 06:57:06
问题 I have developed a sample hybrid application using worklight 6.0 and dojo toolkit 1.9 for android environment2.2 . When i tested this application on simulator it works fine. But when i tried it on AVD or on actual device, it runs but displays a blank screen only. Can't understand what to do to make it work on actual device properly? When i tried it to run on AVD i noticed following list of errors: 07-08 19:51:22.462: I/dalvikvm(664): Could not find method org.apache.cordova.CordovaWebView

IBM Worklight API Cordova storage - Sql error: could not execute statement due to a constaint failure (19 constraint failed)

为君一笑 提交于 2019-12-14 04:03:30
问题 i have a problem with the insert statement in sqlite. I have an app which get data from remote db (localhost) with an sql adapter and store them into a device. I have created a db into the device which the same schema of the "remote" db. I want to copy all records from remote db to device db but when I run the insert statement with api cordova storare i get the error could not execute statement due to a constaint failure (19 constraint failed). It is strange. here the function which create db

How to add pinch/zoom behavior using jQuery Mobile?

我的梦境 提交于 2019-12-14 03:52:17
问题 I need to create a Mobile Application using jquery Mobile. I don't understand how to implement pinch-zooming for an image that is displayed in the app. 回答1: Is there a particular reason to use jQuery Mobile for this? The fact your application UI uses it to build your UI does not mean this behavior needs to be implemented using it. The are other options, like the below jQuery plug-in. Note that a Worklight application by default uses jQuery anyway. So you're "half-way" there. I've successfully

MobileFirst Platform JavaScript adapter can't get the parameters through WLResourceRequest

老子叫甜甜 提交于 2019-12-14 03:48:41
问题 I'm using mobilefirst platform v7, and I send post request using the WLResourceRequest/sendFormParameters api, however, I can't get the submitted parameters from js adapter side... belows are sample code: var resourceRequest = new WLResourceRequest("adapters/businessAdapter/flightsearch", WLResourceRequest.POST); var params={ "flightNum":'mu8899', "departCity":'SHA', "destCity" :'PEK' }; resourceRequest.sendFormParameters(params).then( callSuccess, callFailure ); js adapter code: function

IBM MobileFirst Platform 6.3 Trail Issue [closed]

折月煮酒 提交于 2019-12-14 03:37:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I Worked on IBM MobileFirst Platform App. is it 30 days trial? 回答1: There is no expiration date on the Developer Edition. It is free for all time. The only restriction is that you may not use it to deploy applications to production environments - for this you must purchase a

Error on real device . White screen and error:multiple define and script error on dojo.js

ε祈祈猫儿з 提交于 2019-12-14 03:29:52
问题 Worklight 5.06 and Dojo 1.8. The app works on android emulator and web browser but doesn't works on real device. This is the logcat: 08-08 14:58:35.520: D/dalvikvm(4470): GC_CONCURRENT freed 437K, 8% free 6855K/7431K, paused 1ms+1ms 08-08 14:58:36.880: D/dalvikvm(4470): GC_CONCURRENT freed 520K, 9% free 6851K/7495K, paused 1ms+2ms 08-08 14:58:37.330: D/dalvikvm(4470): GC_CONCURRENT freed 381K, 9% free 6858K/7495K, paused 1ms+1ms 08-08 14:58:37.890: D/dalvikvm(4470): GC_CONCURRENT freed 435K,

Ionic + IBM MobileFirst

℡╲_俬逩灬. 提交于 2019-12-14 03:29:35
问题 I've found a few post on this topic but have not been able to find the best solution. Attempted to integrate Ionic into IBM MobileFirst (Worklight). At the moment - I have built a normal Ionic project and moved the WWW folder in the 'common' folder. Also added in the initOptions, main.js and messages.js. MobileFirst has an awful build process - I hate having to deploy to a mobilefirst development server + preview app for any code changes. I am hoping to get some type of auto reload working

MFP 7.1 - FWLSE0342E: Grant code validation failed: Grant code was already used

落花浮王杯 提交于 2019-12-14 03:20:13
问题 Facing Grand code validation failed issue when client request is made for one of the adapter. This happens only in cluster environment. We have configured it as Round Robin. When running server independently one or the other we don't see this issue. This issue arrises when both are up and running. Logs from Application server messages.log [INFO ] SRVE0242I: [DHSProject] [/DHSProject] [PushWorksApplication]: Initialization successful. [INFO ] The following JAX-RS application has been processed

Worklight v6 iwap

江枫思渺然 提交于 2019-12-14 03:17:55
问题 I set up Worklight V6 Server and IWAP. I found my worklight app console has analytics tab and there is IWAP console. there is dashboad view, search view, search log view, geo analytics view. then I put WL.Logger.error and WL.Analytics.log code in my app and issued these logs but I cannot find any data on my IWAP console. and there is following NumberFormatException in my IWAP logs. can I fix this? [2013-06-24 18:02:35,998][DEBUG][action.search.type ] [Rattler] [worklight][7], node

IBM Worklight - How to set default values for the App Center client app?

筅森魡賤 提交于 2019-12-14 03:16:04
问题 I have deployed IBM Worklight Application Center on WebSphere Liberty profile. I have then also installed the client app in my mobile device. However, the first time I open the client it asks for server login details, such as: username, password, server address, port, context, etc. I would like to know if it is possible to fill the server and port fields with default values. 回答1: Yes, it is possible. You have several ways to handle what you're asking for. Since you also have the project