at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:594)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
at com.cloudcodes.TestOU.main(TestOU.java:137)
Bad Request

It looks like you create a byte[] named photoData, but never fill it with data. You then try to send that empty byte[] as an image, but because it does not have image bytes in it the request fails. You need to fill photoData with data from a photo.

Hi thanks for the replay
I have on more doubt in my project i want to wish the user BirthDay's .I am working with google app and java .alreay the user BirthDay date is store in googleapp now i want to compare the date to sysdate if month and date is equal i want to send the BirthDay wishes to user in my database i have 2000 records how to write the code please help me.

Bhanuprasad saketi
Greenhorn

Joined: Aug 15, 2012
Posts: 8

posted Dec 10, 2012 11:42:10

0

Hi Thanks for the Replay
In my project i upload one image by using <input type='file'> but before uploading the file in google app blob i want to check the image height and wedith means only 98*68 images only i want to upload other than the 98*68 i want to show the error message .how can do this by using javascript or java or jquery ?

Bhanuprasad saketi
Greenhorn

Joined: Aug 15, 2012
Posts: 8

posted Dec 10, 2012 11:44:07

0

Hi Thanks for the replay in my project i want to show the information in next 7days means if there is any birthday for next 7days i want to show those birthdays .in my project i ma using google app and java .how can i write this code please help me urgent in my project.

Bhanuprasad saketi
Greenhorn

Joined: Aug 15, 2012
Posts: 8

posted Dec 10, 2012 11:52:58

0

Hi Thanks for the replay..
in my project i want to show the users information into to one csv file i have 2000 records and i am using google app .I red one tutorial we can't write the files in google app so how can i do my task please help me