问题标签 [mobilefirst-studio]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
25 浏览

ibm-mobilefirst - MFP 开发服务器显示所有内容中的 2 个

您好我正在尝试在本地设置 MFP 7.1 开发服务器。我安装了eclipse和MF studio。一切都很顺利。我什至可以创建一个 HelloWorld MFPF 项目。但我注意到 Mobile First Development Server [worklight] [Started, Synchronized] 在“服务器”选项卡中的所有内容中的 2 个。我看到 2 个 AnalysticsServices、2 个 AnalyticalUI、2 个 WorklightConsole 和 2 个 WorklightServices。我的设置有什么问题吗?如何修复它?工作区截图

0 投票
1 回答
36 浏览

ibm-mobilefirst - MobileFirst 7.1, nativeResources error for Window 8 Universal Application

I am using MobileFirst studio 7.1.0.00-20151114-1616, After Adding Windows8 - Universal Environment nativeResources folder is not created. And after creating nativeResources folder manually and press the build all environment option is throwing following error.

What should I do? Is there any workaround for this?

Edit 1: There is one more problem, if I change the main file using application descriptor, it is not reflected in package.appxmanifest file in Visual Studio

0 投票
1 回答
61 浏览

android - MobileFirst 中的浮动原生视图

我想在我的 mobilefirst 混合页面上放置一个 Android 原生 videoview

我查看了下面的这个链接,这对将本机视图放在混合 html 页面上方没有帮助。(有创建本地活动的示例,但这里不是这种情况)

https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/adding-native-functionality/

我找到了一种解决方法及其工作,但我想要一个适当的解决方案

0 投票
2 回答
111 浏览

ibm-mobilefirst - Mobilefirst 桌面浏览器环境浏览器兼容性

对于mobilefirst(7.1)中具有“桌面浏览器环境”的项目,是否存在某种“浏览器兼容性矩阵”?

0 投票
1 回答
30 浏览

ibm-mobilefirst - MobileFirst Project 对运行时的依赖

我在 Eclipse 上使用 MobileFirst Project,我希望它依赖于 Java 项目 (myJavaProject) 来导入一个类MyAPIClass

当我打电话给myMethod我时ClassNotFoundException

如何在运行时正确包含项目?

0 投票
1 回答
219 浏览

ios - 在应用程序未运行时,在推送通知期间,MFP 应用程序在点击时崩溃

当应用程序未运行(即使在后台)时,我在点击推送通知时遇到应用程序崩溃。如果应用程序在后台运行,则不会发生应用程序崩溃。Worklight 版本是 7.1,iOS 版本是 8.1.3。

对于推送通知注册和接收,我正在使用 Push 插件https://github.com/phonegap/phonegap-plugin-push与 Worklight 生成的 AppDelegate 合并。如果需要,我可以发送我的源代码。

从崩溃日志中我发现 Push.m 中发生异常:3 cmoapp 0x10018b2a4 -[Push dispatch:] (Push.m:227) 4 cmoapp 0x10018ad48 -[Push dispatchSelector:] (Push.m:204)

是否可以从您那里获取 Push.m 源代码以了解应用程序崩溃的原因?任何帮助,将不胜感激。谢谢。

0 投票
1 回答
164 浏览

mobilefirst-adapters - 如何在 MobileFirstServer 中更改 IP 地址中的默认域

我在我的应用程序中使用 IBM MFP 的开发人员版,在构建和部署 SQL 适配器时发生异常,例如“适配器部署失败:java.net.URISyntaxException:索引 10 的主机名中的非法字符:http:// XXX_XXX_008-PC:10080/ ",我认为 IP 地址域中的 '-' 正在创建异常。我在workspace/MobileFirstServerConfig 目录中搜索了更改IP 的域,但是我无法找出服务器中将域更改为localhost 的默认配置在哪里?我无法更改公司域名。所以,请建议在哪里更改默认域名。提前致谢。

0 投票
1 回答
259 浏览

java - 如何在 Worklight SOAP 适配器过程中传递 SOAP Header 参数?

我使用了 IBM MobileFirst Studio V7.1 - 服务发现向导选项并从应用程序 WSDL 文件创建了一个 SOAP 适配器。服务发现过程在 MFP Studio 中正确创建 MobileFirst 适配器

消息负载如下所示

现在,使用 MobileFirst Studio 中的适配器测试选项,以下 JSON 有效负载正在对话窗口中传递

过程参数

参数:

标题:

但是当适配器执行时出现以下错误

WS Security Header 块是否以正确的格式传递?

谢谢

0 投票
1 回答
91 浏览

ibm-mobilefirst - Windows 8 appx 上的 MobileFirst 项目升级失败

我正在尝试在 Studio 中将 6.3 项目升级到 7.1,升级不断崩溃并关闭项目。

如果我从我的应用程序中删除 windows8 项目文件,则升级成功。我附上了我的 appx.manifest 文件,以防这有助于调试问题。

10:49:13 AM:[2016-02-09 10:46:18] 将 WLWin8Native 引用和 AuthWinRT.targets 添加到 Windows 8 项目文件 [2016-02-09 10:46:21] FWLST1226I:添加了授权管理器 Cordova config.xml 的插件(C:\Users\IBM_ADMIN\MobileFirst71Prototype\MaximoAnywhere\apps\WorkExecution\iphone\native\config.xml)。

[2016-02-09 10:46:21] 升级期间出现意外错误:com.worklight.upgrader.upgraders.windows8.AppXManifestUpgrade.upgrade(AppXManifestUpgrade.java:69) 处com.worklight.upgrader 处的 java.lang.NullPointerException。 WLUpgradeEngine.executeUpgrader(WLUpgradeEngine.java:368) 在 com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:301) 在 com.worklight.upgrader.WLUpgradeEngine.upgradeProject(WLUpgradeEngine.java:188) 在 com.worklight.studio .plugin.upgrader.WLUpgraderWorkspaceJob.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.爪哇:53)

[2016-02-09 10:46:21] java.lang.NullPointerException

这是我的 package.appxmanifest 文件

0 投票
1 回答
40 浏览

ibm-mobilefirst - Mobilefirst 7.1 迁移 Windows8 应用程序后丢失文件

在我使用 MobileFirst Studio 将我的 MobileFirst 6.3 应用程序迁移到 MobileFirst 7.1 之后,在我的 Windows8 环境中构建时出现错误。该错误指向一个文件,该文件已作为参考添加到我的 jsproj 文件中,但在我的本地文件系统中完全丢失。缺少的文件是 AuthWinRT.targets 文件。