Here are guidelines for running the mobile demo application in Domino
® 8.5.2. For Domino
8.5.3, use the Mobile Apps
- For Domino 8.5.2 only, you must install Dojo 1.5. Domino 8.5.2 comes with Dojo 1.4.3 and does not contain the necessary extension points for dynamically contributing themes from plug-ins.
- Copy the /dojox/mobile directory and the /dojox/mobile.js file from Dojo 1.5 to the Dojo 1.4.3 directory (/domino/js/dojo-1.4.3). You have to download your own copy of Dojo 1.5 from the Dojo web site ( http://www.dojotoolkit.org/).
- Copy the themes files (iPhone.theme, Android.theme, Blackberry.theme, and so on) from the mobile plug-in (com.ibm.xsp.extlib.mobile_xxx.jar/resources/mobile/themes/*.theme) to the Domino XPages themes directory (/xsp/nsf/themes).
- Get the mobile application as follows:
Create a new NSF called MobileDemo.nsf in the Domino data directory and connect it to the local on-disk project.
Set the ACL appropriately (for example, allow anonymous access for testing purposes).
Open the XPages page Setup.xsp and click the button Create Blog Documents.
To run the sample, open mJava.xsp, for example, http://nheidloff-1/MobileDemo.nsf/mJava.xsp
- Non-IBMers can get the database from the OpenNTF project XPages Mobile Controls: http://mobilecontrols.openntf.org/. Extract the NSF into your Domino data directory.
- IBMers can get the database from the following SVN repository: svn+ssh:// [userName]@svn.cs.opensource.ibm.com/svn/xpagesext/trunk/extlib/nsf/diskMobileAppNsf.
To try the sample application, you can use different browsers and devices.
The best test is always an actual device. If you don't have this or if you need to debug your application, you can use different browser and simulators.
The mobile controls can be run in Firefox since there is a compatible module that simulates the missing webkit
™, and so on.
Safari and Chrome can be used too and they come closer to the actual experience since both are webkit
Simulators often come closer to the actual experience and allow taking good screen shots and videos. The different SDKs all provide simulators. Another good simulator is Genuitec MobiOne that you can get here: http://www.genuitec.com/mobile/download.html
Parent topic: Installing and administering the XPages Extension Library