--- android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java 2010/07/05 09:49:53 959 +++ android/MarketStats/src/dk/thoerup/marketstats/ShowStats.java 2010/07/05 13:53:37 960 @@ -124,16 +124,14 @@ count = Math.min(10, commentsCb.getEntryCount() ); //log.warning("count=" + count + " start=" + start + " entryCount=" + commentsCb.getEntryCount() ); - CommentsRequest commentsRequest = buildCommentRequest(appId,start,count); - session.append(commentsRequest, commentsCb); - start +=10; + for (int i=0; i<5;i++) { + CommentsRequest commentsRequest = buildCommentRequest(appId,start,count); + session.append(commentsRequest, commentsCb); + start +=10; + } - CommentsRequest commentsRequest2 = buildCommentRequest(appId,start,count); - session.append(commentsRequest2, commentsCb); session.flush(); - - start +=10; - + if (start >= MAXCOMMENTS) break; //emergency brake