t e k t o n i c a Web Development | Mobile Computing | Embedded Systems
Projects | Company | Partners
-

- - -
HTTPLib, a HTTP library for NSBasic.
HTTPLib2 - An HTTP Library for PalmOS and NSBasic/Palm

The HTTPLib2 library is an HTTP library for NSBasic on PalmOS powered PDAs. It allows an application developer to write NSBasic programs that interact with a web service over the Internet via the HTTP protocol.

This library does no need the iNetLib from the PalmOS mobile internet toolkit anymore, unlike HTTPLib.

This has a lot of benefits. First of all, you can use HTTPLib2 on an intranet. This is impossible with an iNetLib based solution, as all data passes through a proxy hosted at Palm. Second, it contains easy to use functions to get a web resource and it supports streaming of data.

You could use it to grab a webpage from the Internet. Altough this can be usefull, this library does not understand the HTML stream that will be returned. You would still need to parse the HTML and write up an NSBasic program to visualise it. Instead, this library is intented to be used to access arbitrary generated data coming from an application server on the Internet. And this opens up a whole new world for the application developer. Instead of an HTML page, you could return a new workschedule for a field engineer or the balance on a bank account. The application server can be as simple as a CGI script or an ASP page or as complex as an industry strength application server, backed up by a database. Look at the examples section for some ideas. Actually, this library allows you to leverage the HTTP protocol as a remote method interface (RMI) protocol.

Some ideas for further exploration:

Field force automation.
Getting a new work-schedule for a field engineer.
Remote synchronisation.
Synchronizing 'on-the-field' data with a remote backend.
Remote data access.
Databases that are too big to fit on the device can be accessed remotely, e.g. inventory management.

How does remote data access work with the HTTPLib2 library? First the PalmOS PDA connects to the Internet, if already not connected. Typically this is a dial-in connection to an ISP, but it can also be that the PalmOS PDA is connected to a wireless network, using some kind of RF equipment (WLAN, Palm wireless modem, ...). You can even connect the PalmOS PDA by using a wired serial connection to a host computer via PPP or SLIP (Cradle). After the PalmOS PDA has acquired a connection, the request is send out, to a server application, identified by a URL. This application interprets the parameters send to it and takes appropriate action. In it's most simple form, this action can be returning a static HTML page, but it can also trigger a complex database lookup or transaction. After the result has been prepared it is send back to the application on the PDA. This client side application will interpret (parse) the returned datastring and do some client side processing. This can be a simple visualisation or it can be database update or anything else that is required by your application.

Pricing
We have two licensing policies, shareware and commercial.

Shareware license

The library is less expensive for shareware or freeware applications. This also includes applications that are freely distributed, under a commercial license, as long as the user of said application does not need to pay for the services offered. If, however, the application is freely distributed, but the customer has to pay for the web service, then the commercial license needs to be used! If you want to obtain a license key, do not hesitate to mail info@tektonica.com.

Commercial license

A commercial license allows the usage of HTTPLib2 for your own commercial projects, it also gives the right for future majot upgrades. Please contact info@tektonica.com to get a license key. We try to provide you with a fair price, so please look at our web site to nd out the latest prices for this library.
License typePrice (€)
Shareware25
Commercial100

- HTTPLib2, an HTTP library for NSBasic.

Version 1.07
(Thu June 3, 2004)

New ...
  • Fixed potential buffer overflow in ReadHeaders.
  • Potentially better network data pump.

Download
Documentation
Request information



Test license

(expires 1/6/2008)
user:free
key:16268330


Pricing

License typePrice (€)
Shareware25
Commercial100


Buy

-

Valid HTML 4.0!