Android Open Source - cnBeta Load Source Interface






From Project

Back to project page cnBeta.

License

The source code is released under:

Apache License

If you think the Android project cnBeta listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

?package com.guest.cnbeta.loadsource;
/*  w  ww .  j ava  2  s  .c om*/
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.List;

import android.graphics.Bitmap;

import com.guest.cnbeta.module.Article;
import com.guest.cnbeta.module.Comment;

public interface LoadSourceInterface {
  
  public List<Article> getArticleListFromWeb() throws MalformedURLException, IOException;
  
  public List<Article> getMoreArticleListFromWeb(int page) throws MalformedURLException, IOException;
  
  public Article getArticleContent(Article article) throws IOException;
  
  public List<Comment> getComments(Article article) throws IOException;
  
  public boolean supportComment(Comment comment) throws IOException;
  
  public boolean againstComment(Comment comment) throws IOException;
  
  public Bitmap getSafeCode() throws IOException;
  
  public String postComments(Article article, String comment, String valimg_main) throws IOException;

}




Java Source Code List

.ArticleActivity.java
.ArticleListService.java
.ArticleService.java
.Article.java
.CommentActivity.java
.CommentService.java
.Comment.java
.LoadSourceInterface.java
.LoadSource.java
.MainActivity.java
.PostCommentActivity.java
.Util.java
com.guest.cnbeta.FirstActivity.java
com.guest.cnbeta.SettingsActivity.java
com.guest.cnbeta.database.ArticleDB.java
com.guest.cnbeta.database.BaseDBHelper.java
com.guest.cnbeta.database.BaseDB.java
com.guest.cnbeta.loadsource.BaseLoadSource.java
com.guest.cnbeta.module.Avatar.java
com.guest.cnbeta.service.AvatarListService.java
com.guest.cnbeta.service.BaseService.java
com.guest.cnbeta.util.BaseApplication.java
com.guest.cnbeta.util.DataEngine.java
com.guest.cnbeta.util.FlingGallery.java
com.guest.cnbeta.util.NetworkStatusReceiver.java
com.guest.cnbeta.util.PullToRefreshListView.java
com.guest.cnbeta.util.ScaleAnimationHelper.java
com.guest.cnbeta.util.T.java