Using the example code for a cell feed:
public void setCell(int row, int col, String formulaOrValue)
throws IOException, ServiceException {
CellEntry newEntry = new CellEntry(row, col, formulaOrValue);
service.insert(cellFeedUrl, newEntry);
}
----------------------------------------
When I reach the end of my spread sheet, these exceptions get thrown..
until I manually add blank rows from google docs App.
----------------------------------------
com.google.gdata.util.ServiceException: Service Unavailable
It looks like someone else already deleted this cell.
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse
(HttpGDataRequest.java:588)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse
(GoogleGDataRequest.java:559)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse
(HttpGDataRequest.java:542)
at com.google.gdata.client.http.HttpGDataRequest.execute
(HttpGDataRequest.java:521)
at com.google.gdata.client.http.GoogleGDataRequest.execute
(GoogleGDataRequest.java:531)
at com.google.gdata.client.Service.insert(Service.java:1121)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:
521)
at zephyr.framework.util.GoogleLogger.setCell(Unknown Source)
at zephyr.framework.util.GoogleLogger.execute(Unknown Source)
at zephyr.framework.command.CommandDispatcher.dispatch(Unknown
Source)
at zephyr.framework.socket.multicast.MulticastChannel.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:613)
---------------------------------------------------------
What is the best approach for sending in massive amounts of data? My
app sends a batch of data every few seconds.
Heart Rates and more:
http://code.google.com/p/zephyropen/
I need to be able to just have the size of the table grow as new data
comes in. I hacked a few solutions but they must be more effective
ways to do this?
Thanks
brad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---