├── settings.gradle ├── app ├── libs │ └── iTextpdf.jar ├── src │ └── main │ │ ├── res │ │ ├── drawable-hdpi │ │ │ ├── pdf.png │ │ │ ├── click.9.png │ │ │ ├── ic_launcher.png │ │ │ ├── video_return_press.png │ │ │ ├── video_return_default.png │ │ │ ├── videoplay_menu_default.png │ │ │ └── videoplay_menu_press.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── drawable │ │ │ ├── videolist_press.xml │ │ │ ├── iv_video_return.xml │ │ │ ├── bg_ocr_btn_press.xml │ │ │ ├── textcolor_ocr_result.xml │ │ │ ├── videolist_menu.xml │ │ │ ├── et_shape_ocr_result.xml │ │ │ └── progress_ocr.xml │ │ ├── values │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ ├── drawables.xml │ │ │ └── styles.xml │ │ ├── anim │ │ │ ├── open_ocr_result.xml │ │ │ └── close_ocr_result.xml │ │ ├── values-v11 │ │ │ └── styles.xml │ │ ├── menu │ │ │ └── main.xml │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ ├── values-v14 │ │ │ └── styles.xml │ │ └── layout │ │ │ ├── activity_pdf.xml │ │ │ ├── dialog_pdf_model.xml │ │ │ ├── dialog_pdf_center.xml │ │ │ ├── activity_main.xml │ │ │ └── item_pdf_list.xml │ │ ├── gen │ │ └── com │ │ │ └── example │ │ │ └── mypdf │ │ │ ├── R.java │ │ │ ├── Manifest.java │ │ │ └── BuildConfig.java │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── mypdf │ │ │ ├── VideoModel.java │ │ │ ├── BitmapUtil.java │ │ │ ├── PdfActivity.java │ │ │ ├── PdfUtils.java │ │ │ ├── PdfCenterDialog.java │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml ├── build.gradle └── lint.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── import-summary.txt ├── gradlew.bat └── gradlew /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/libs/iTextpdf.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/libs/iTextpdf.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/pdf.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/click.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/click.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/video_return_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/video_return_press.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/video_return_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/video_return_default.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/videoplay_menu_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/videoplay_menu_default.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/videoplay_menu_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuwennengcan/MyPdf/HEAD/app/src/main/res/drawable-hdpi/videoplay_menu_press.png -------------------------------------------------------------------------------- /app/src/main/gen/com/example/mypdf/R.java: -------------------------------------------------------------------------------- 1 | /*___Generated_by_IDEA___*/ 2 | 3 | package com.example.mypdf; 4 | 5 | /* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */ 6 | public final class R { 7 | } -------------------------------------------------------------------------------- /app/src/main/gen/com/example/mypdf/Manifest.java: -------------------------------------------------------------------------------- 1 | /*___Generated_by_IDEA___*/ 2 | 3 | package com.example.mypdf; 4 | 5 | /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ 6 | public final class Manifest { 7 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/videolist_press.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/open_ocr_result.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/close_ocr_result.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/gen/com/example/mypdf/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /*___Generated_by_IDEA___*/ 2 | 3 | package com.example.mypdf; 4 | 5 | /* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */ 6 | public final class BuildConfig { 7 | public final static boolean DEBUG = Boolean.parseBoolean(null); 8 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/iv_video_return.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_ocr_btn_press.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/textcolor_ocr_result.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/videolist_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MyPdf 5 | Hello world! 6 | Settings 7 | 生成PDF 8 | PDF文件中心 9 | 关闭 10 | 查看PDF文件 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_pdf.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/et_shape_ocr_result.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 16 5 | buildToolsVersion "26.0.2" 6 | 7 | defaultConfig { 8 | applicationId "com.example.mypdf" 9 | minSdkVersion 16 10 | targetSdkVersion 16 11 | } 12 | 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile 'com.android.support:support-v4:18.0.0' 23 | compile files('libs/iTextpdf.jar') 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_pdf_model.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |