Hi,Jeff
Thanks very much!
I can upload file using "http://docs.google.com/feeds/documents/
private/full". But I can't get the spreadsheet file that uploaded just
now. After I run the above upload program, the following information
is returned:
----------------------------
id:spreadsheet%3Ao09984777812916827365.2697723477038630518
-- Document(spreadsheet%3Ao09984777812916827365.2697723477038630518/
testupload2.xls)
----------------------------
And I try to use the following program to get the spreadsheet list
information,but without any information returned:
----------------
public void showAllDocs() throws IOException, ServiceException {
DocsService service = new DocsService("Document List Demo");
service.setUserCredentials("[EMAIL PROTECTED]", "XX");//please
update
them to your user and password
URL documentListFeedUrl = new URL("http://docs.google.com/feeds/
documents/private/full");
DocumentListFeed feed = service.getFeed(new
URL(documentListFeedUrl.toString() + "/-/spreadsheet"),
DocumentListFeed.class);
for (DocumentListEntry entry : feed.getEntries()) {
printDocumentEntry(entry);
}
}
public static void main(String[] args) throws Exception {
TestApi testapi = new TestApi();
testapi.showAllDocs();
}
--------------------------------------------
Could you please help me to investigate it?
Thanks a lot for your help.
Best Regards
-Kingfu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" 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/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---