why are you not using another class that implements the MediaSource
interface - e.g., MediaByteSource or MediaStreamSource?
regards,
andr
On 11 Nov., 21:22, "Ikai L (Google)" wrote:
> Kishore,
>
> Here are the docs related to sending the data as
> binary:http://code.google.com/apis/picasaweb/do
Kishore,
Here are the docs related to sending the data as binary:
http://code.google.com/apis/picasaweb/docs/2.0/developers_guide_protocol.html#PostPhotos
This is the raw protocol. Here are the steps you'll have to take:
1. Accept a file upload and buffer it in memory (
http://code.google.com/ap
Hi Ikai,
Thanks for the response.
The protocol section describes format of the post body. But the Java
guide does not explain how to send binary image data other than teh
approach of creating MediaFileSource with the java.io.File as refered
at
http://code.google.com/apis/picasaweb/docs/2.0/develo
You may want to look here:
http://code.google.com/apis/picasaweb/docs/2.0/developers_guide_protocol.html#PostPhotos
If you are looking to upload photos that a user has uploaded, you will not
be able to save the image in the file system. You'll have to buffer the data
in memory and post to Picasa'