Search PalmPower's 487 Palm-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Developing a Palm VII PQA that reads data from a Domino database (continued)

Which HTML features are not supported?
There are several HTML 3.2 tags that are not available to you when developing the PQA and Web clipping scripts. They are:

  • Image Maps;
  • Animated GIFs;
  • Cookies;
  • Nested Tables;
  • Frames;
  • JavaScript;
  • Java Applets;
  • Style Sheets;
  • Named Typefaces.

A Simple PQA application
Many Notes developers have written a customer tracking database in Notes before. Since this article is intended to help Notes developers build PQAs, it seems reasonable to use such a customer tracking database as an example for this article.

Let's take a look at a PQA that will return a list of customers from a simple customer tracking database using the Palm VII. The code below shows a text file called Customer.html that can be compiled with the Query Application Builder tool. As you can see, the file contains standard HTML tags and also contains a form with a submit button that, when tapped with the stylus, gets posted to a Domino server.

<html>
<head>
<title>PalmBuilder</title>
<meta name="PalmComputingPlatform" content="true">
</head>
<body>
<p><p>
<hr>
<h3 align=Center>PalmBuilder.com</h3>
<h1 align=Center>Customer Tracking Demo</h1>
<h4 align=Center>Developed by Bruce Elgort</h4>
<h5 align=Center>DominoPower and PalmPower</h5>
<center>
<hr>
<p>
<form method="post" action="http://yourwebserver/customer.nsf/pqaCustomerQuery?OpenAgent";>
Enter a Customer Name: <input type=text value="" name="Customer">
<input type=Submit value="Go">
<p>
</center>
</form>
</body>
</html>

Notice that when our form gets posted to the Domino server the pqaCustomerQuery agent is actually run. This agent will take the data from the form and then generate a Web clipping that will be sent to the Palm VII for display. Let's look at the form tag again:

<form method="post" action="http://yourwebserver/databases/customer.nsf/pqaCustomerQuery?OpenAgent";>

Figure A shows the Query Application Builder tool with the Customer.html file loaded. To build the PQA, select Build PQA from the File menu. When you build the PQA, you can supply a name that will be displayed underneath the icon on the Palm VII and you can also select a custom icon that you may have developed.

FIGURE A


The Query Application Builder tool with our sample file Customers.html loaded. Roll over picture for a larger image.

If our PQA consisted of more than one file and/or graphic, all of them would be listed in the Query Application Builder.

Now that the PQA is built, the HotSync program can be used to install it onto the Palm VII. Figure B shows the Customers icon in the upper right-hand corner of the Palm VII display.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Wireless (97 articles)
   T-Mobile's home hotspot: what's hot and what's not
   The inside story of Sereniti, a new wireless router company
   Please stop clicking on the monkey: a Q&A on home networking security
Home > Phones and PDAs > Palm and Treo > Programming (24 articles)
   How PDA software is born
   Program with Simplicity
   Kinectivity 2.0 brings enterprise application developers new tools
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Other PalmPower Articles
Palm gets up to date with new Tungsten family of handhelds
Create handwritten email with riteMail
Presenter-to-Go puts PowerPoint presentations on your Palm OS handheld
Looking for the cutting edge
Gain remote access to databases and PLCs
PalmSource Open House showcases what's new in the Palm community
Analysis: handheld market share
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
DominoPower: Application development, William Shatner, and the origin of the universe
OutlookPower: More about disappearing text
-- Advertisement --

BLOGGING AND PODCASTING WITH ONE EASY-TO-USE TOOL
Now you can publish your thoughts, opinions, and comments in your own blog or podcast.<p />

  • Supports multiple authors and multiple blogs or podcasts.
  • Generate and publish RSS feeds for iTunes and other directories.
  • Post photos, images or animations.
  • Get feedback and have conversations with visitors to your site. <p />

Personalize your blog or podcast with your own unique domain name -- or integrate it with your existing site by setting it up as a subdomain.

Tap here and get blogging or podcasting within minutes.

-- Advertisement --

SECURE YOUR SITE WITH AN IRONCLAD SSL CERTIFICATE
An IronClad SSL Certificate helps you build an impenetrable fortress around your customer's credit card information. IronClad SSL Certificates are:

  • Fully validated
  • Up to 256-bit encryption
  • Up to 10 years validity
  • Stringent authentication
  • Around-the-clock customer support

Build trust. Protect your customers. Grow your online business.

Tap here now and be IronClad with SSL tonight.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login