RE: http proxy API

2012-08-23 Thread Martin Gainty
DIRECT Represents a direct connection, or the absence of a proxy. HTTP Represents proxy for high level protocols such as HTTP or FTP. SOCKS Represents a SOCKS (V4 or V5) proxy. //in your case since you need to authentication via username and proxy you'll

[codec] Java 1.3 compliant base64 encoder / decoder

2012-08-23 Thread Hendré Louw
Hello I am working on a BlackBerry Java 1.3 compliant mobile application and want to embed binary image data in a JSON structure. What version of the commons-codec source can I use to adapt or just compile a Java 1.3 compliant base64 encoder/decoder? Hendré

Re: [codec] Java 1.3 compliant base64 encoder / decoder

2012-08-23 Thread Julius Davies
I think commons-codec-1.3.jar (coincidentally) should work with Java 1.3. You can find it here: http://archive.apache.org/dist/commons/codec/binaries/ Unfortunately commons-codec-1.3.jar is unable to do streaming Base64, but as long as you can fit everything in memory, it works great with

RE: [codec] Java 1.3 compliant base64 encoder / decoder

2012-08-23 Thread Martin Gainty
Im not sure what specific restrictions implementing a 1.3 JVM will impose but... You can manipulate Base64 Images via encode and decode as byte[] http://javadoc.google-api-java-client.googlecode.com/hg/1.3.1-alpha/ does this help? Martin __ Verzicht

Re: [codec] Java 1.3 compliant base64 encoder / decoder

2012-08-23 Thread Hendré Louw
Thank you Martin and Julius both your response and on the money! On 23 August 2012 22:55, Martin Gainty mgai...@hotmail.com wrote: Im not sure what specific restrictions implementing a 1.3 JVM will impose but... You can manipulate Base64 Images via encode and decode as byte[]