简体   繁体   English

SapUi5 + Phonegap-加载Sap库

[英]SapUi5 + Phonegap - loading Sap libraries

I've recently found a javascript framework called SapUI5 and I wanted to use it for a Hybrid cross platform app. 我最近找到了一个名为SapUI5的JavaScript框架,我想将其用于Hybrid跨平台应用程序。 I've created a PhoneGap project for WP8 in visual Studio 2012, added SapUI5 libraries and created a basic app with two pages and navigation in one index.html file. 我已经在Visual Studio 2012中为WP8创建了PhoneGap项目,添加了SapUI5库,并创建了一个基本应用程序,其中包含两个页面并在一个index.html文件中进行导航。 And when I deployed it to the windows phone 8 emulator it shows an (unable to get property) exception. 当我将其部署到Windows Phone 8仿真器时,它显示了(无法获取属性)异常。 I've also created a PhoneGap project for Android in eclipse to create an Android hybrid app and done the same as in the visual studio project. 我还在eclipse中为Android创建了一个PhoneGap项目,以创建一个Android混合应用程序,并且与Visual Studio项目中的操作相同。 And when I deployed it to the android emulator, it worked perfectly. 当我将其部署到android模拟器时,它可以完美运行。 Can some one help me with this issue? 有人可以帮我解决这个问题吗? Thank you in advance! 先感谢您!

UI5 does not seem to officially support Windows Phone Browsers at all: https://openui5.hana.ondemand.com/#docs/guide/BrowserSupport.html UI5似乎根本不正式支持Windows Phone浏览器: https ://openui5.hana.ondemand.com/#docs/guide/BrowserSupport.html

Anyways since it is supporting IE9+ it should work on Windows Phone as well. 无论如何,因为它支持IE9 +,所以它也应该可以在Windows Phone上运行。 At least starting from IE10 the mobile version shouldn't differ from the desktop version: http://en.wikipedia.org/wiki/Internet_Explorer_Mobile#Version_10 至少从IE10开始,移动版本不应与台式机版本有所不同: http : //en.wikipedia.org/wiki/Internet_Explorer_Mobile#Version_10

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM