Tech Note 27: Using NS Basic/Palm with Microsoft .NETSeptember 18, 2003© NSB Corporation. All rights reserved. |
The first part of this three part series walks through the process of creating the actual Palm application to manage a Blog. The focus is on the actual functionality of the application, its UI, and navigation. Learn how to create menu systems, pop-ups, buttons and other UI elements, and also some general syntax for creating and editing databases.
http://www.15seconds.com/issue/030624.htm
The code for this part can also be downloaded.
The second part shows how to establish a connection with the Palm synchronization process in order to upload the Palm Blog application data to various upload destinations, using the WebLogAPI.
The synchronization process is fairly simple to understand. The Palm itself is connected to a PC or Laptop via a cable. On the computer, HotSync is running. A "Conduit", which is essentially a plug-in for Hotsync, allows the control of the synchronization process for the application.
During the synchronization process the HotSync Manager determines which conduit it needs to call in order to handle the incoming data.
The conduit is created using the Conduit Developer Kit (CDK), available on the PalmSource website (http://www.palmos.com/dev/tech/conduits/ ). Coding is done in C#, the great new language that is part of .Net.
http://www.15seconds.com/issue/030722.htm
Once again, the code can be downloaded.
Also included is a small library to help move the Palm database entries into relevant managed classes during the synchronization process, check it out at:
http://weblogs.asp.net/rchartier/posts/9017.aspx
Developing an application that is intended to be shipped and distributed to an end user requireds an installer that takes care of all the details required to have that software work perfectly. Creating such an installer for a Palm conduit is no easy task. This article gives a good run through of how to do it. It starts by listing the requirements for the application itself, then covers exactly what needs to be done to install the conduit correctly. Once that is done, the installer application is added to the solution within VS .NET and tested.
http://www.15seconds.com/issue/030903.htm Code can be downloaded for this part as well.
He uses expertise with many Microsoft technologies, including .NET, and a strong background in Oracle, BEA Systems, Inc.'s BEA WebLogic, IBM, Java 2 Platform Enterprise Edition (J2EE), and similar technologies to support his award-winning writing. He frequently publishes to many of the leading developer and industry support Web sites and publications. He has a bachelor's degree in Computer Information Systems.
Robert Chartier can be reached at rob© santra.com.
© NS BASIC Corporation. All rights reserved.