Miguel Angel Sotomayor Hernandez wrote:

First, thanks for your reply. Now, my webserver is running jsps (tomcat). I use the java.util.zip.InflaterInputStream <http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/InflaterInputStream.html> class to open the file I send in the palm app. By compressing data using deflate doesn't add any header? when calling deflateInit? I can't use gzip format (or as I understand, I can't) because I don't use a filesystem (the app shouldn't need mm or sd cards), that's why I use the zlib format (in memory) instead.

So how can I compress data in a way a program can read it?


Beside from Ingbert's approach: You can google for the format (especially the header) zip.InfalteInputStream is looking for.


Regards
Henk

--
-------------------------------------------------------------------------
  Henk Jonas
  Palm OS � certified developer

  [EMAIL PROTECTED]                                   www.metaviewsoft.de
-------------------------------------------------------------------------

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to