ibm-mobilefirst

IBM Worklight 6.1 - Unable to play a local media file using Cordova

痴心易碎 提交于 2019-12-25 02:43:40
问题 Tested in Android Emulator. I am trying to use Cordova Media API to manage the playing of audio stored locally within the Worklight project. Initially I attempted to update my project to accomplish this task, but was not successful, so I decide to use the complete example documented on the Apache Cordova Media API page. I used the full sample to play, pause, and stop an audio file. The only change I made was to play the audio file stored locally in my worklight project. However, the above

IBM Worklight 6.0 - Copy/paste is not working

人走茶凉 提交于 2019-12-25 02:43:04
问题 I am using IBM worklight enterprise edition in Eclipse Juno. Sometimes cut, copy and paste keyboard shortcuts are not working in my workspace. At the same time the user is allowed to paste the copied content using mouse action Right click -> paste. The clipboard contents are getting pasted in some other file other than where I am pasting it and makes me to search through all over the application where it is reflected. Any solution to overcome this problem? 回答1: This is not a Worklight issue,

Error upgrading to 6.1 Worklight Developer in RAD 9.0 [closed]

喜夏-厌秋 提交于 2019-12-25 02:35:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I have a brand new RAD 9.0 installed with Worklight Studio 6.0.0.2, and, I'm trying to upgrade to 6.1.1, but, getting the error: Cannot complete the install because one or more required items could not be found. Software being installed: IBM Worklight Studio 6.1.0.01-20140311-2356 (com.ibm.imp.tools.feature

IBM Worklight 6.0.0.1 - Push-enabled app does not open when tapping a notification

给你一囗甜甜゛ 提交于 2019-12-25 02:32:36
问题 I have implemented push notifications support as provided in the IBM Worklight Getting Started training module: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/09_04_Push_notifications.pdf My problem is when the application is in the background or closed, and I receive a push notification. I click on the notification but nothing happens - the notification disappears and the application doesn't launch. I'm using worklight 6.0.0.1 and testing on Android OS v4.1 and v2.3.

IBM Worklight - Android push notification sent but not received

妖精的绣舞 提交于 2019-12-25 02:29:08
问题 I am new to IBM Worklight and I am trying to get push notification to work on my Android device. I have followed the "Push notification in hybrid applications" tutorial on their website and imported the sample project. The problem is somehow I didn't receive the push notification in my android device (haven't tried any other device yet). I didn't see any error in the console and it reported that the notifications has been sent to user. Here is the log : [2014-07-18 12:44:32] Starting

Worklight WAS Liberty profile configuration based on Tomcat configuration

白昼怎懂夜的黑 提交于 2019-12-25 02:25:08
问题 For a Pilot project we've set up a Worklight server on a WAS using the Liberty profile. We're basing it on the configuration LDAP configuration of a Tomcat server (used for RTC) on the same machine, but they don't seem to map propertly to each other (in the sense that we can't just "copy-paste" the configuration. We've come to the point where logging into the LDAP server (An Active Directory server) works, but the login doesn't work and doesn't return any error message apart from a failed

IBM Worklight - Unable to navigate between views

前提是你 提交于 2019-12-25 02:13:35
问题 I am trying to develop a simple app that consist of multiple scrollable views, but the navigation between views like from "Home" view to "view1" is not working. Unable find out the reason of that... HTML: <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>index</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <link rel="shortcut icon" href="images/favicon.png">

IBM Worklight 6.1.0 - Unable to deploy Worklight adapters using ANT tasks

ε祈祈猫儿з 提交于 2019-12-25 02:11:13
问题 I've just updated my Worklight Studio from 6.0.0.1 to 6.1.0 and with the update I've gone ahead and updated the worklight-build-tools.jar on my path. It's worth mentioning that my team has already updated the project we're working on to 6.1.0. Following the update, I ran the ANT tasks to build and deploy all project artifacts. The result, I wasn't able to deploy the adapters to the local development server. I unzipped the worklight-build-tools.jar and poked around for a while and found the

MobileFirst Platform 6.3 - web resource changes do not get applied

允我心安 提交于 2019-12-25 02:03:20
问题 On my laptop when I change the Javascript of my Cordova app and refresh the preview page all my changes are reflected right away. Today I installed Eclipse Luna with MobileFirst Platform 6.3 on my desktop machine but my Javascript changes require me to redeploy the app to reflect, if I just refresh the preview page I get an old version of the app, how can I change the behavior to be similar to my laptop? 回答1: Update: the fix is now available from either IBM Fix Central or by updating from

How to avoid duplicate entries in IBM JSONStore

允我心安 提交于 2019-12-25 01:46:17
问题 WL.JSONStore.get(collectionName).change(data, options) method does not seem to work for duplicate values. I get duplicate values entered whenever data is loaded through the adapter. Below is the code that I have used to avoid duplicate entries. init(){ console.log('JSONStore init function callled'); let collections = { activities: { searchField: {serialKey: 'string'}, adapter: { name: 'ServiceAdapter', add: 'pushActivities', remove: 'removeActivity', replace: 'replaceActivity', load: {