Yes, it's possible! We're finishing up the new client library documentation showing exactly how to do it.
However, you can already check out some sample code by downloading the orkut Client Library from http://code.google.com/p/orkut-os-client The package you want to download is *orkut-os-client-bin-2.0.02.zip *(link on the right). In this package, you will find a "samples" directory, in which you'll find a Sample.java. Look for the uploadPhoto() function. Here's the code, for convenience: public static void uploadPhoto(OrkutAdapter orkad) throws Exception { say("What's the album ID?"); String albumId = readline(); say("What's the path to the JPG file?"); String filePath = readline(); say("What's the title of the photo?"); String title = readline(); UploadPhotoTx tx = orkad.getPhotosTF().uploadPhoto(albumId,filePath,title); BatchTransaction btx = orkad.newBatch(); btx.add(tx); say("Submitting photo..."); orkad.submitBatch(btx); if (tx.hasError()) { say("*** Error uploading photo:" + tx.getError()); } else say("Success."); } -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.

