|
|
|
|
|
|
|
|
|
|
|
|
|
|
BUILDING WIRELESS APPLICATIONS
Developing a Palm VII PQA that reads data from a Domino database
By Bruce Elgort
When I first purchased my Palm VII back in July, I thought the applications that ran on the organizer would require me to learn yet another development framework. I had heard that developing Palm OS applications wasn't a trivial task. Much to my surprise, however, I learned that developing a Palm Query Application (PQA) to read data from a Lotus Domino database was a relatively simple process.
Don't get me wrong -- as the complexity of an application increases, so does the development of the PQA and the back-end Web clipping and processing of files and scripts. But it's not as bad as it sounds.
There are two parts to a Palm Query Application that you need to develop:
- The Palm Query Application itself, which will reside on the Palm VII organizer.
- A Common Gateway Interface (CGI) script, or, in the case of Lotus Domino, a LotusScript or Java Agent that generates Web clippings using data from a Domino database. The Web clippings are sent back to the Palm VII as HTML.
"You only clip the information you need, instead of all the articles and photos on the page."
|
What is a Web clipping? The term "Web clipping" is based on the analogy of clipping an article out of a newspaper -- you only cut out or "clip" the information you need and not all the articles and photos on the page. Since the display of the Palm VII is limited in size, trying to display Web pages designed for an 800 by 600 dpi screen is impossible. So when you, as a developer, are writing a PQA or an agent to generate a Web clipping, keep the user in mind and give them only what they asked for. Don't give them any flaming logos!
The Palm Query Application The Palm Query Application is made up of one or more text files and graphics that are authored in a subset of HTML version 3.2. You can use WordPad or any text editor or HTML authoring tool to develop these files. The files are compiled into a PQA using the Query Application Builder tool available from the 3Com Palm.Net Web site. You can then use the HotSync utility supplied with the Palm VII and install the PQA on your organizer.
When developing PQAs, it's important to remember that you aren't developing Web pages for a fast Pentium PC with a 19" monitor and a 56kb modem. You're developing them for a monochrome device with a screen resolution of 160 by 160 pixels that communicates at an effective transmission speed of between 8 kilobytes per second to 19.2KB/second. You need to use the screen real estate effectively. PQAs are based on a simple query and response metaphor in which the user enters and/or selects choices from the PQA and a discrete set of information is returned as a Web clipping to the user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.
The many included activities and demos will make you a pro! Expert instructor help is a click away.
Click here to try a FREE demo course!! |
-- Advertisement --
Want The Top Lotus Experts By Your Side Without Paying Hefty Consulting Fees? Look No Further.
Like having a team of consultants by your side -- ones who have all the answers and never make mistakes -- THE VIEW gives you immediate access to field-tested instruction, guidance, and best practices from the brightest Lotus professionals around.
Join your peers who realize their Lotus technology is too important to let people from blogs and forums tell them how they should implement it, run it, and use it. THE VIEW is where only the world's top Lotus experts provide validated support to you on a weekly basis to ensure you work more efficiently, get more out of your Lotus technology, and stay clear of costly mistakes.
Check out the new instruction, tips, and best practices added to THE VIEW this week. |
|
|
|
|
|
|
|
|
|
|