ibm-mobilefirst

How to transfer media files using Worklight

回眸只為那壹抹淺笑 提交于 2019-12-12 13:16:42
问题 What's the correct way of transferring media (photos or movies) using Worklight Adapters? I sent a photo via the adapter and got the error: form too large, exceed the maximum size... I read I need to change the form size through the Jetty but the server I'll deploy the app won't be a jetty so what shell i do? Thanks! 回答1: Please see topic Uploading large (and binary) files to Worklight adapter. Basically, Worklight does not have the equivalent to an HTTP POST mechanism that allows you to

JSONStore Worklight - Size Limit

荒凉一梦 提交于 2019-12-12 11:18:25
问题 JSONStore provides us with a great way to sync data with a server and track changes a user makes while offline. Is there a limit as to how much information could be saved on JSONStore? I found that Webkit database has a limit of 5 MB where as SQLLite database has no limit. Also wondering where JSONStore uses WebKit database or SQLLite to store its underlying information 回答1: JSONStore ultimately stores information on the file system. The only bounds would be the space remaining on the device

Android Application Build with MobileFirst 7.1 is Rejected by Google Play Store

怎甘沉沦 提交于 2019-12-12 10:31:46
问题 I have An Application developed using Mobile First 7.1. I Added Android Environment and build the Project. I created signed APK from generated Android Project and Uploaded the Google play store and My Application has rejected by Google Play store with below message Hello Google Play Developer, We rejected SampleApp, with package name com.Sample.app, for violating our Malicious Behavior or User Data policy. If you submitted an update, the previous version of your app is still available on

IBM Worklight 6.0 - Unable to change the default WL.BusyIndicator text

青春壹個敷衍的年華 提交于 2019-12-12 10:24:02
问题 I've test WL.BusyIndicator like following code: busyIndicator = new WL.BusyIndicator('content', { text : 'saving' }); busyIndicator.show(); setTimeout(function() { busyIndicator.hide(); }, 3000); The Information Center says BusyIndicator options can get 'text' in Android environment. I can see the BusyIndicator shown on my Android Emulator (v4.0.4/v4.1.2/v4.2.2) but the text is default 'Loading'... Note: the same happens in iOS as well. My Worklight Studio version is: 6.0.0.201307241843 回答1:

MobileFirst adapter invocation failed with -unsupported media type error

点点圈 提交于 2019-12-12 10:23:24
问题 We have mobilefirst adapter its working properly in swagger tool but when we are trying to invoke from client side its giving error for unsupported media type-errorcode 415.Environment mobilefirst 8.0 with ibm cloud object storage . server side java adapter code below like that, ----------------------------------------- @POST @Path("/uploadImageToObjectStorage") @Consumes(MediaType.APPLICATION_FORM_URLENCODED) @OAuthSecurity(enabled = false) public String uploadImage(@QueryParam(value=

IBM Worklight 6.1 - Uncaught ReferenceErrors: WLJQ is not defined, WL is not defined

你说的曾经没有我的故事 提交于 2019-12-12 09:54:01
问题 I'm using IBM Worklight Developer Edition 6.1 installed in Eclipse Juno as my IDE and backbonejs as my main javascript framework for my project. My index.html <!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http

worklight ant task app-deployer - Unauthorized error when WL console security is active

人走茶凉 提交于 2019-12-12 09:49:14
问题 I'm trying to deploy an application to a WL Server v5.0.5 using the provided ant task app-deployer. Here the simple buildfile I use: <?xml version="1.0" encoding="UTF-8"?> <project basedir="." name="deployWL"> <target name="deploy_application"> <taskdef resource="com/worklight/ant/defaults.properties"> <classpath> <pathelement location="C:/Worklight50/WorklightServer/worklight-ant.jar"/> </classpath> </taskdef> <app-deployer worklightServerHost="http://localhost:9087/worklight" deployable="C:

Getting “Cannot install applications because the certificate is not valid” error on iOS 7.1

烂漫一生 提交于 2019-12-12 07:57:17
问题 I'm getting the above mention error when my client update their device to iOS 7.1, and then try to update our app from the AppCenter. After some searching, i found a post with a similar problem here. But then since i'm in an environment where by the client is using AppCenter to update the apps, i can't be using USB to plugin and install the app for them. Is there any workaround for downloads via AppCenter until a support is released? 回答1: A change was introduced to iOS as of iOS 7.1 that

UnsupportedOperationException: SRVE8020E: Servlet does not accept multipart requests

醉酒当歌 提交于 2019-12-12 06:56:42
问题 I am using Maximo Anywhere 7.5 on Websphere 8.5. When i am trying to upload image i got this error: servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An exception was thrown by one of the service methods of the servlet [AnywhereProxyServlet] in application [AnywhereWorkManager_1-2_4_war]. Exception created : [java.lang.UnsupportedOperationException: SRVE8020E: Servlet does not accept multipart requests 回答1: to solve this issue i have to install fix 8.5.5.0 for

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