Developing Windows Mobile 6.5 applications using Worklight
ThejaswiniR 120000MVTD Comment (1) Visits (15614)
IBM Worklight is an open and advanced mobile application platform for developing, running and managing HTML5, hybrid and native applications for smartphones such as, iOS, Android, Windows Phone, Blackberry as well as feature phones such as Java ME phones. While smartphone adoption is ramping up at an exponential rate, there are organizations that still run applications on older operating systems, such as, Java ME (J2ME) as well as Windows Mobile 6.5 phones. These devices will take some time to be replaced with newer and faster devices. Until then customers can use IBM Worklight mobile web app feature, with few modifications and run these mobile apps on Windows Mobile 6.5. Once customers decide to replace these devices with smartphones, the backend integration code developed in the adapters will remain unchanged since the Worklight Client APIs are same across all supported devices.
IBM Worklight supports development of Java ME to support traditional feature phone that are capable of running Java stack. While JavaME apps can also run on some flavors of Windows Mobile 6.5 phones, it is desirable to run form-based applications natively in Internet Explorer as many apps built are traditional logistics, self-service type of apps.
IBM Worklight does not support Windows Mobile 6.5 out of the box. This article shows how to make slight changes in IBM Worklight mobile web apps and run the same apps on Windows Mobile 6.5. The IBM Worklight client side libraries that let mobile applications connect to Worklight server securely can be now used to connect Windows Mobile 6.5 mobile applications to backend applications.
IBM Worklight App changes
Step 1: Start with an existing Worklight app. If not already present, add a new environment “Mobile Web App” to the application.
Step 2: Remove all HTML5 elements and CSS3 properties. Replace them with IE6 supported elements. For example, avoid using elements like <nav>, <section> or CSS3 properties like ‘border-radius’, ‘box-shadow’. For a list of supported HTML elements in windows phone 6.5 refer this page - http
Step 3: The parameters sent in WL.C
Step 4: The adapter procedure implementation (adapter-impl.js) on the server also needs to be modified to remove double quotes from the parameters before further processing.
Step 6: Once the app is deployed, log into Worklight console to get the mobile web app URL. Under the app select ‘Get App URL’ (Fig ) and save the URL. On your Windows Mobile 6.5 launch Internet Explorer and type this URL.
Sample Application scenario
The attached sample app demonstrates a simple retail application use case. It consists of IBM Worklight app along with a simple adapter that demonstrates backend connectivity. Windows Mobile 6.5 ships with Internet Explorer 6.0 that does not support many of HTML5.
The mobile app demonstrates the following scenario:
The sample application can be tested using the Windows Mobile 6.5 Emulators. Following are some of the screenshots of the attached sample application.
Follow these instructions to download and setup Windows Mobile 6.5 emulator.
Install Windows Mobile 6.5 Developer toolkit from
This will install the emulator images.
Open the emualtor (WM 6.5 Professional) and configure for network access as specified in the link below
Although there is an uptick in smartphone adoption in the enterprises, there are still large numbers of traditional phones that run on Windows Mobile 6.5. By following the suggested changes in this article developers can now build IBM Worklight applications that can run on Windows Mobile 6.5
Worklight mobile web app -