Hi,

We implemented the attachment solution using the combination of
Spreadhseet API and Document List API. The way we implemented the
solution is blogged here
http://thoughts.inphina.com/2010/11/17/mailing-google-docs-as-attachment-on-google-app-engine/

Regards | Vikas
www.inphina.com

On Nov 13, 6:35 pm, Vikas Hazrati <vhazr...@gmail.com> wrote:
> We are directly using thespreadsheetAPI to manage data within thespreadsheet, 
> that seems to work fine for us
>
> http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html
>
> Regards | Vikaswww.inphina.com
>
> On Nov 1, 3:55 pm, prakhil samar <prakhil.purch...@gmail.com> wrote:
>
> > I have created a googlespreadsheetand I want to access its contents
> > using java. I have created the following code:
> > public static void main(String[] args) throws Exception{
>
> >         URL feedUrl = new URL("");
>
> >                 SpreadsheetService myService = new
> > SpreadsheetService("googleapps_spreadsheet");
> >                 myService.setUserCredentials("prakhil.purch...@gmail.com",
> > "purchase");
> >         SpreadsheetFeed resultFeed = myService.getFeed(feedUrl,
> > SpreadsheetFeed.class);
>
> >         System.out.println("YourSpreadsheet:");
> >         for(int i=0; i<resultFeed.getEntries().size(); i++){
> >                 SpreadsheetEntry entry = resultFeed.getEntries().get(i);
> >                 System.out.println("\t"+
> > entry.getTitle().getPlainText());
>
> >         }
> >     }
>
> > It not giving any results. Can somebody who has used googlespreadsheetwith 
> > java before, please suggest what is the mistake in
> > the code.
>
> > Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to