基于Android平台的手机电子书阅读器代码汇总

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
import com.lrc.R;
import com.lrc.bll.BookPageFactory;
import com.lrc.bll.DbDataOperation;
import com.lrc.bll.DbTags;
import com.lrc.bll.PageWidget;
import com.lrc.util.ArrayUtil;
import android.widget.SeekBar;
import android.widget.SimpleAdapter;
import android.widget.TextView;
import android.widget.SeekBar.OnSeekBarChangeListener;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.provider.Settings;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnTouchListener;
import android.view.ViewGroup.LayoutParams;
//db
private ContentResolver resolver;
//tabMenu
public final static int TITLE_USING_OFTEN = 0;
public final static int TITLE_TOOLS = 1;
public final static int MENU_FONT_SIZE = 0;
public static BookPageFactory pagefactory;
int screenWidth ,screenHeight;
int bookId;
String bookPath,bookName,bookProgress;
private int bookBeginPosition;
import android.widget.来自百度文库ridView;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.PopupWindow;
import android.widget.ProgressBar;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MotionEvent;
import android.widget.Toast;
public class BookReadActivity extends Activity
{
private PageWidget mPageWidget;
Bitmap mCurPageBitmap, mNextPageBitmap;
Canvas mCurPageCanvas, mNextPageCanvas;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.view.Window;
import android.view.WindowManager;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.EditText;
基于Android平台的手机电子书阅读器代码
package com.lrc.view;
/**
*书籍阅读
*/
import java.io.IOException;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.util.ArrayList;
public final static int MENU_READ_THEME = 1;
public final static int MENU_BRIGHTNESS_CONTROL = 2;
public final static int MENU_FLIP_OVER = 3;
public final static int MENU_JUMP = 4;
import com.lrc.util.BgUtil;
import com.lrc.util.MathUtil;
import com.lrc.util.TimeUtil;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ContentResolver;
相关文档
最新文档