Improve your contact center performance. See how you can make a difference.
Watch Now
Engage and build your ICT audience with CIOL online advertising.
Know more
Adding widgets Now when our application gets created through wizard, we can add some other widgets to the application. Click on 'Packager' icon on the toolbar, select open application option and then select the PcqDemoApps for adding more widgets to the application. We want to add report functionality to our application. To do so first we create a Report and add that report to the application by selecting Report Viewer widget. When we select the Report Viewer widget, a window is launched where we can select the newly created report to the application. Also we add an Authentication widget to the application to specify a User-Name and a Password for the users who will use that. When we have done adding additional widgets to the application, we can click on 'Save' to add the modifications to the application.
To launch the application, we can find it listed above the right pane on the LyteRAD home window. By clicking on PcqDemoApps, we can launch the application. As we have added an authentication widget, a prompt window pops up asking for the user name and password before we start using the application.
Going mobile LyteRAD Pro also gives a functionality to make applications run on J2ME enabled mobile phones. To make an application go mobile, we need to have a lyteMobile runtime installed on the java enabled mobile phone. LyteMobile functions as any other Java midlet and once it is installed, it can be used to execute LyteRAD mobile applications. The mobile applications can function as the companions for the main desktop application and their data can also be synchronized with the desktop application's main database. To create a mobile application called RADlet using LyteRAD, we go to the 'Packager' option and then click on 'Create new application', name the application as 'PcqDemoMobile' and select the option 'Generate Mobile Companion'. When the Packager window opens up, we can select Mobile widgets for the application. The Mobile Data Browser is to browse contents of database while Mobile Data Form widget is to enter values to the database. There is one useful functionality widget called as 'Send Data Record as SMS', using which we can send a record set from the table as an SMS.
Once when the mobile RADlets have been created -to make them work on a J2ME handset -we have to import them with lyteMobile runtime. We used Sony Ericsson K810i phone to test the RADlet. The Packager option creates 3 files that need to be copied to the mobile from the following location:
/application//application/mobile
The RADlet will be the file having .mobile extension, the lyteSettings file and PcqdemoTable.dat file, which is the table for the application. Once you have copied and installed lyteMobile runtime on your mobile, copy the lyteSettings file to root folder of your mobile. And create two directories on your mobile's memory, 'Apps' for storing RADlets and 'Data' for storing tables files. Copy PcqDemoMobile.mobile file into the Apps folder and PcqDemoTable.dat file into Data folder. When you initiate the lyteMobile midlet on your phone for the first time, you have to go to the settings menu and change the Application & Data directory to point to the corresponding locations on your mobile, i.e. Apps and Data folders. For instance, on the K810i mobile phone the path was file:///e://Apps/ and file:///e://Data/ correspondingly. That will list the RADlets in yours Apps location. Once the settings are pointed towards the RADlet location, the RADlets will be listed under Choose lyteApp menu. Select the 'PcqDemoMobile RADlet' and choose 'Launch' to start the application.
This way, simple mobile applications can be created using Mobile Packager option available with the Pro version of the LyteRAD tool.
Final words LyteRAD is a useful utility tool that is easy to use for creating simple applications. It can be useful for a developer to create apps without being bothered about other settings needed during traditional software development approach. The tool is also handy for business users as well, who have the business knowledge and so can create applications for their own use by this simple to use tool.
<< PREVIOUS