[英]IBM Worklight 6.1 - Shake device for direct update
在研究IBM Worklight 6.1時,這些模塊告訴您,搖動時可以將Web資源中的更改直接更新到設備,如果是Web,則可以重新加載頁面以查看結果。 我做了以下幾項測試
1. Developed a sample application in IBM Worklight 6.1.0
2. The app should connect to the worklight server, so i made connectOnStartUp:true
3. Added Android environment, build and deployed the app successfully.
3. Deployed the app to android device [version - 2.3.6]
4. Added some web resources to the app and saved the file successfully
5. If I reload the web page in the desktop, the changes are automatically reflected
但是,搖動設備時,我無法收到直接更新的警報。 是否有任何更改,我必須做才能接收直接更新。
您讀過什么模塊,可以通過搖動設備來調用直接更新? 提供一個鏈接。
僅在兩種情況下,並且僅在將應用程序重新部署到Worklight Server之后, 才會在Worklight 6.1中進行直接更新:
為了使用“搖動刷新”功能,您需要按照以下說明提供操作: 在模擬器或移動設備上預覽Web資源更改
重要:
要使用“搖動刷新”:
通過單擊以下圖標復制預覽URL :
現在應刷新設備中的應用程序資源。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.