在主屏幕中启动xpages应用程序 [英] Launch xpages application in home screen

查看:151
本文介绍了在主屏幕中启动xpages应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从电子邮件(Lotus旅行者)启动XPage(Web)移动应用程序。当我在电子邮件正文中使用简单的HREF(使用流和MIME)时,xpage(web)移动应用程序在ipad上打开一个新窗口(我相信可以从Ipad预期)并显示地址栏。从主屏幕打开时,同一页面不显示地址栏。我在移动页面上使用了以下内容

I am trying to launch a XPage(web) mobile application from a email(Lotus traveller). When I use a simple HREF in email body (using stream and MIME), xpage(web) mobile application opens in a new window on ipad ( which I believe is expected from Ipad) and displays address bar. The same page when opened from homescreen does not display address bar. I have used following on my mobile page

<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-width">

通过相同的论坛后,我尝试在Lotus旅行者的同一窗口上启动xpage移动应用程序location.assign的提示,即href =javascript:window.location.assign('http://ajgahsdgasdh.xsp?openpage')。现在问题是当从Lotus访问时,javascript不会从电子邮件正文中触发旅行者,但是当从Lotus Notes客户端访问时同样有效。我甚至尝试使用电子邮件正文上的按钮进行简单的javascript警报,结果与上面相同。这是莲花旅行者不支持javascript的已知问题吗?(请注意这个简单的javascript警报适用于Xpage移动应用程序。)Lotus旅行者是本机应用程序,Web应用程序还是混合应用程序?

After going through same forum, I tried to launch xpage mobile application on same window of Lotus traveller using the tip of "location.assign"i.e "href="javascript:window.location.assign('http://ajgahsdgasdh.xsp?openpage')". Now the issue is javascript does not trigger from the email body when accessed from Lotus traveller, however same works when accessed from Lotus notes client.I even tried with a simple javascript alert using a button on email body and the result is same as above. Is this a known issue that lotus traveller will not support javascript? (please note that simple javascript alert is work on Xpage mobile application).Is Lotus traveller a native application, web application or hybrid?

推荐答案

Lotus当用于iOS设备时,Traveler使用Microsoft ActiveSync协议 - 并且使用本机iOS邮件应用程序访问邮件。因此您可能遇到的任何功能和限制是不是来自Traveler产品,而是来自natiev iOS邮件应用程序。

Lotus Traveler uses the Microsoft ActiveSync protocol when used for iOS devices - and mail is accessed using the native iOS mail application. So any features and limitations that you may experience is not from the Traveler product but from the natiev iOS mail application.

关于全屏网络应用程序的初始问题:全屏模式(如您所见)当用户从主屏幕启动Web应用程序时 - 而不是直接在Safari中启动时工作。

With regards to your inital problem on full screen web apps: full screen mode (as you have seen) only works when the user launches the web app from the home screen - and not when launched directly in Safari.

您可以使用Javascript在Web应用程序运行时移动内容在Safari中启动,以便将地址栏移出视线(但这在iPad上不起作用)。看一下关于该主题的博客文章:
http://mobile.tutsplus.com/tutorials/mobile-web-apps/remove-address-bar/

You can use Javascript to move the content down when the web app is launched in Safari in order for the address bar to be moved out of sight (this does not work on iPad, though). Have a look at this blog post on that subject: http://mobile.tutsplus.com/tutorials/mobile-web-apps/remove-address-bar/

这篇关于在主屏幕中启动xpages应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆