geremyk / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

hi, i am getting error when i compile this code...... #225

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
This is a java issue. You might want to try posting this in the java buglist, 
or in the picasa discussion group.

Original comment by fman...@gmail.com on 23 Mar 2009 at 10:24