public static void addContactPhoto(ContactEntry entry, ContactsService
service, byte[] photoData)throws ServiceException, IOException
{
Link photoLink = entry.getContactPhotoLink();
URL photoUrl = new URL(photoLink.getHref());
GDataRequest request = service.createRequest
(GDataRequest.RequestType.UPDATE,photoUrl,new ContentType("image/jpeg"));
OutputStream requestStream = request.getRequestStream();
requestStream.write(photoData);
request.execute();
}
ERROR: cannot find symbol :GdataRequest
i have set the class path for "gdata-core-1.0"
Original issue reported on code.google.com by chandrus...@gmail.com on 14 Mar 2009 at 6:52
Original issue reported on code.google.com by
chandrus...@gmail.com
on 14 Mar 2009 at 6:52