I recall seeing something called PGHQPQA, which allows you to download
and install PQAs. Is that what you are talking about?
I haven't actually looked at it on either the emulator or the Palm VII,
but I would suspect that it is a PQA and a PRC. The PQA would be pretty
conventional, submit a form and get an HTTP response (search for PQA?).
One way to then do the actual download would be to have the 'links' in
the query response be PalmCall's to the PRC, passing in the URL of the
actual PQA to download. The PRC could then use INet lib to "GET" the
file and create a database.
PQAs are almost always modest in size. If PGHQPQA allows the
downloading of arbitrary PRCs, it is probably a bit more sophisticated.
Some PRCs seem pretty big (I've seen 100K). INet Lib, Clipper, and a
PRC would all have trouble downloading a file that big in one
transaction. Actually, I suspect that the wireless hardware in the Palm
would have trouble with a transaction that big as well.
To handle bigger files an app/pqa would probably break things up into a
series of transactions. We've done this in experiments for large
uploads. INet lib seems to have a maximum 'post' data size of about
7600 bytes. We did an experiment where we uploaded 18K 'records'. We
basically used INet to 'post' to a web server script. The script
returned a unique 'target name'. We then 'posted' data in 2K blocks to
the server with the target name, block number, and data as URL encoded
arguments to the post. The expected response to each post was the bock
# and a checksum.
This got around both the 7K limit and the occasional failed 'posts' that
seem to occur with the palm.net proxy server. You could use a similar
scheme in the other direction to download larger files.
-jjf
-----Original Message-----
From: Jon Baer [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 20, 2000 4:53 AM
To: Palm Developer Forum
Subject: Re: Palm VII and the Internet Library??
I have read your papers on iNetLib which are a very nice job and the tip
for the iMessenger really works nicely, I have a question
for you though is on how PalmGear specifically is able to
"download"/"FTP" new apps onto the PalmVII device? To date this seems
like the most sophisicated app using iNetLib where its going out and
getting arbitrary data (PRCs and PQAs), Im very interested on
knowing how this is accomplished.
- Jon
"Fitzpatrick, Joe" wrote:
> You can use the INet library programmatically - but you cannot do
> generic TCP/IP operations. In other words, INet pretty much supports
> Clipper and iMessenger, and that's it.
>
> As for the 'Not support'... That's a Catch 22 for Palm. I have no
> doubt that a lot of people at Palm wish that Inet.lib had never
happened
> and would love to phase it out ASAP. On the other hand, Palm is still
> marketing a business case for Palm VII vertical usage. My guess is
that
> INet.lib will eventually get killed.
>
> -jjf
>
> -----Original Message-----
> From: Scott Szretter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 20, 2000 4:49 AM
> To: Palm Developer Forum
> Subject: Palm VII and the Internet Library??
>
> I am considering developing a prc that communicates to servers
> using the Internet Library. This library supports the palm VII, and
> also has calls to do what look like direct tcp communications.
>
> My concern however, is that there is a note in the chapter which says
> there may be no future support for the library.
>
> Is this true?
>
> Does this mean the only capability of the palm VII is to implement
> PQA (HTML) applications, and it can't do tcp communications or even
> http from C?
>
> Any information would be GREATLY appriciated.
>
> Thanks!
> Scott Szretter
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html