├── .classpath
├── .gitignore
├── .project
├── .settings
└── org.eclipse.jdt.core.prefs
├── Android-Text-to-PDF-master.iml
├── README.md
├── app
├── app.iml
├── build.gradle
├── build
│ ├── generated
│ │ └── source
│ │ │ ├── buildConfig
│ │ │ ├── androidTest
│ │ │ │ ├── androidTest7.iml
│ │ │ │ └── debug
│ │ │ │ │ └── com
│ │ │ │ │ └── tag
│ │ │ │ │ └── texttopdf
│ │ │ │ │ └── test
│ │ │ │ │ └── BuildConfig.java
│ │ │ ├── buildConfig6.iml
│ │ │ └── debug
│ │ │ │ └── com
│ │ │ │ └── tag
│ │ │ │ └── texttopdf
│ │ │ │ └── BuildConfig.java
│ │ │ └── r
│ │ │ ├── debug
│ │ │ └── com
│ │ │ │ └── tag
│ │ │ │ └── texttopdf
│ │ │ │ └── R.java
│ │ │ └── r21.iml
│ ├── intermediates
│ │ ├── classes
│ │ │ └── debug
│ │ │ │ └── com
│ │ │ │ └── tag
│ │ │ │ └── texttopdf
│ │ │ │ ├── BuildConfig.class
│ │ │ │ ├── MainActivity.class
│ │ │ │ ├── R$attr.class
│ │ │ │ ├── R$dimen.class
│ │ │ │ ├── R$drawable.class
│ │ │ │ ├── R$id.class
│ │ │ │ ├── R$layout.class
│ │ │ │ ├── R$menu.class
│ │ │ │ ├── R$string.class
│ │ │ │ ├── R$style.class
│ │ │ │ └── R.class
│ │ ├── dex
│ │ │ └── debug
│ │ │ │ └── classes.dex
│ │ ├── incremental
│ │ │ ├── aidl
│ │ │ │ ├── androidTest
│ │ │ │ │ └── debug
│ │ │ │ │ │ └── dependency.store
│ │ │ │ └── debug
│ │ │ │ │ └── dependency.store
│ │ │ ├── mergeAssets
│ │ │ │ ├── androidTest
│ │ │ │ │ └── debug
│ │ │ │ │ │ └── merger.xml
│ │ │ │ └── debug
│ │ │ │ │ └── merger.xml
│ │ │ └── mergeResources
│ │ │ │ ├── androidTest
│ │ │ │ └── debug
│ │ │ │ │ └── merger.xml
│ │ │ │ └── debug
│ │ │ │ └── merger.xml
│ │ ├── manifests
│ │ │ ├── androidTest
│ │ │ │ └── debug
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── debug.iml
│ │ │ └── full
│ │ │ │ └── debug
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── debug.iml
│ │ ├── pre-dexed
│ │ │ └── debug
│ │ │ │ ├── itextpdf-5.3.3-0226b2cc4142acddf11d26e5c2d54fc6d7c76bd1.jar
│ │ │ │ └── support-v4-18.0.0-cf9588689f34839ba261eb537ba250e86619aced.jar
│ │ ├── res
│ │ │ └── debug
│ │ │ │ ├── drawable-hdpi
│ │ │ │ ├── ic_action_search.png
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ ├── ic_action_search.png
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ ├── ic_action_search.png
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ └── main.xml
│ │ │ │ ├── menu
│ │ │ │ └── main.xml
│ │ │ │ ├── values-large
│ │ │ │ └── values-large.xml
│ │ │ │ └── values
│ │ │ │ └── values.xml
│ │ └── resources
│ │ │ ├── resources-debug-androidTest.ap_
│ │ │ └── resources-debug.ap_
│ └── outputs
│ │ ├── apk
│ │ ├── app-debug-unaligned.apk
│ │ └── app-debug.apk
│ │ └── logs
│ │ └── manifest-merger-debug-report.txt
├── libs
│ └── itextpdf-5.3.3.jar
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── tag
│ │ └── texttopdf
│ │ └── MainActivity.java
│ ├── main6.iml
│ └── res
│ ├── drawable-hdpi
│ ├── ic_action_search.png
│ └── ic_launcher.png
│ ├── drawable-ldpi
│ └── ic_launcher.png
│ ├── drawable-mdpi
│ ├── ic_action_search.png
│ └── ic_launcher.png
│ ├── drawable-xhdpi
│ ├── ic_action_search.png
│ └── ic_launcher.png
│ ├── layout
│ └── main.xml
│ ├── menu
│ └── main.xml
│ ├── values-large
│ └── dimens.xml
│ └── values
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
├── build.gradle
├── build
└── intermediates
│ ├── dex-cache
│ └── cache.xml
│ └── gradle_project_sync_data.bin
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── import-summary.txt
├── local.properties
└── settings.gradle
/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/.gitignore
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TextToPDF
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
3 | org.eclipse.jdt.core.compiler.compliance=1.5
4 | org.eclipse.jdt.core.compiler.source=1.5
5 |
--------------------------------------------------------------------------------
/Android-Text-to-PDF-master.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Android-Text-to-PDF
2 | ===================
3 |
4 | Generate PDF file in Android Code Sample
5 |
6 |
7 | You can finde complete tutorial on how to use the code repo here : ANDROID – TEXT TO PDF
8 |
9 | This Tutorial has been presented by The App Guruz - One of the best Android App Development Company in India
10 |
--------------------------------------------------------------------------------
/app/app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 8
5 | buildToolsVersion "22.0.1"
6 |
7 | defaultConfig {
8 | applicationId "com.tag.texttopdf"
9 | minSdkVersion 8
10 | targetSdkVersion 15
11 | compileOptions {
12 | sourceCompatibility JavaVersion.VERSION_1_5
13 | targetCompatibility JavaVersion.VERSION_1_5
14 | }
15 | }
16 |
17 | buildTypes {
18 | release {
19 | minifyEnabled false
20 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
21 | }
22 | }
23 | }
24 |
25 | dependencies {
26 | compile 'com.android.support:support-v4:18.0.0'
27 | compile files('libs/itextpdf-5.3.3.jar')
28 | }
29 |
--------------------------------------------------------------------------------
/app/build/generated/source/buildConfig/androidTest/androidTest7.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/build/generated/source/buildConfig/androidTest/debug/com/tag/texttopdf/test/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Automatically generated file. DO NOT MODIFY
3 | */
4 | package com.tag.texttopdf.test;
5 |
6 | public final class BuildConfig {
7 | public static final boolean DEBUG = Boolean.parseBoolean("true");
8 | public static final String APPLICATION_ID = "com.tag.texttopdf.test";
9 | public static final String BUILD_TYPE = "debug";
10 | public static final String FLAVOR = "";
11 | public static final int VERSION_CODE = -1;
12 | public static final String VERSION_NAME = "";
13 | }
14 |
--------------------------------------------------------------------------------
/app/build/generated/source/buildConfig/buildConfig6.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/build/generated/source/buildConfig/debug/com/tag/texttopdf/BuildConfig.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Automatically generated file. DO NOT MODIFY
3 | */
4 | package com.tag.texttopdf;
5 |
6 | public final class BuildConfig {
7 | public static final boolean DEBUG = Boolean.parseBoolean("true");
8 | public static final String APPLICATION_ID = "com.tag.texttopdf";
9 | public static final String BUILD_TYPE = "debug";
10 | public static final String FLAVOR = "";
11 | public static final int VERSION_CODE = 1;
12 | public static final String VERSION_NAME = "";
13 | }
14 |
--------------------------------------------------------------------------------
/app/build/generated/source/r/debug/com/tag/texttopdf/R.java:
--------------------------------------------------------------------------------
1 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 | *
3 | * This class was automatically generated by the
4 | * aapt tool from the resource data it found. It
5 | * should not be modified by hand.
6 | */
7 |
8 | package com.tag.texttopdf;
9 |
10 | public final class R {
11 | public static final class attr {
12 | }
13 | public static final class dimen {
14 | public static final int padding_large=0x7f040000;
15 | public static final int padding_medium=0x7f040001;
16 | public static final int padding_small=0x7f040002;
17 | }
18 | public static final class drawable {
19 | public static final int ic_action_search=0x7f020000;
20 | public static final int ic_launcher=0x7f020001;
21 | }
22 | public static final class id {
23 | public static final int LinearLayout1=0x7f080000;
24 | public static final int menu_settings=0x7f080002;
25 | public static final int textView1=0x7f080001;
26 | }
27 | public static final class layout {
28 | public static final int main=0x7f030000;
29 | }
30 | public static final class menu {
31 | public static final int main=0x7f070000;
32 | }
33 | public static final class string {
34 | public static final int app_name=0x7f050000;
35 | public static final int hello_world=0x7f050001;
36 | public static final int menu_settings=0x7f050002;
37 | public static final int title_activity_main=0x7f050003;
38 | }
39 | public static final class style {
40 | public static final int AppTheme=0x7f060000;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/build/generated/source/r/r21.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/BuildConfig.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/BuildConfig.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/MainActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/MainActivity.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$attr.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$attr.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$dimen.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$dimen.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$drawable.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$drawable.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$id.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$id.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$layout.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$layout.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$menu.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$menu.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$string.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$string.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R$style.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R$style.class
--------------------------------------------------------------------------------
/app/build/intermediates/classes/debug/com/tag/texttopdf/R.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/classes/debug/com/tag/texttopdf/R.class
--------------------------------------------------------------------------------
/app/build/intermediates/dex/debug/classes.dex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/dex/debug/classes.dex
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/aidl/androidTest/debug/dependency.store:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/aidl/debug/dependency.store:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeAssets/androidTest/debug/merger.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeAssets/debug/merger.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeResources/androidTest/debug/merger.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/build/intermediates/incremental/mergeResources/debug/merger.xml:
--------------------------------------------------------------------------------
1 |
2 | 8dp8dp16dpPDFTextToPDFHello world!Settings8dp16dp16dp
--------------------------------------------------------------------------------
/app/build/intermediates/manifests/androidTest/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
16 |
17 |
--------------------------------------------------------------------------------
/app/build/intermediates/manifests/androidTest/debug/debug.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
10 |
11 |
12 |
13 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/build/intermediates/manifests/full/debug/debug.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/build/intermediates/pre-dexed/debug/itextpdf-5.3.3-0226b2cc4142acddf11d26e5c2d54fc6d7c76bd1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/pre-dexed/debug/itextpdf-5.3.3-0226b2cc4142acddf11d26e5c2d54fc6d7c76bd1.jar
--------------------------------------------------------------------------------
/app/build/intermediates/pre-dexed/debug/support-v4-18.0.0-cf9588689f34839ba261eb537ba250e86619aced.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/pre-dexed/debug/support-v4-18.0.0-cf9588689f34839ba261eb537ba250e86619aced.jar
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-hdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-hdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-mdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-mdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-xhdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-xhdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/res/debug/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/layout/main.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/menu/main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/values-large/values-large.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 16dp
6 | 16dp
7 | 8dp
8 |
--------------------------------------------------------------------------------
/app/build/intermediates/res/debug/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 16dp
6 | 8dp
7 | 8dp
8 |
9 |
10 | TextToPDF
11 | Hello world!
12 | Settings
13 | PDF
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/build/intermediates/resources/resources-debug-androidTest.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/resources/resources-debug-androidTest.ap_
--------------------------------------------------------------------------------
/app/build/intermediates/resources/resources-debug.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/intermediates/resources/resources-debug.ap_
--------------------------------------------------------------------------------
/app/build/outputs/apk/app-debug-unaligned.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/outputs/apk/app-debug-unaligned.apk
--------------------------------------------------------------------------------
/app/build/outputs/apk/app-debug.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/build/outputs/apk/app-debug.apk
--------------------------------------------------------------------------------
/app/build/outputs/logs/manifest-merger-debug-report.txt:
--------------------------------------------------------------------------------
1 | -- Merging decision tree log ---
2 | manifest
3 | ADDED from AndroidManifest.xml:1:1
4 | xmlns:android
5 | ADDED from AndroidManifest.xml:1:11
6 | package
7 | ADDED from AndroidManifest.xml:2:5
8 | INJECTED from AndroidManifest.xml:0:0
9 | INJECTED from AndroidManifest.xml:0:0
10 | android:versionName
11 | ADDED from AndroidManifest.xml:4:5
12 | android:versionCode
13 | ADDED from AndroidManifest.xml:3:5
14 | INJECTED from AndroidManifest.xml:0:0
15 | INJECTED from AndroidManifest.xml:0:0
16 | uses-sdk
17 | ADDED from AndroidManifest.xml:6:5
18 | android:targetSdkVersion
19 | ADDED from AndroidManifest.xml:8:9
20 | INJECTED from AndroidManifest.xml:0:0
21 | INJECTED from AndroidManifest.xml:0:0
22 | android:minSdkVersion
23 | ADDED from AndroidManifest.xml:7:9
24 | INJECTED from AndroidManifest.xml:0:0
25 | INJECTED from AndroidManifest.xml:0:0
26 | uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
27 | ADDED from AndroidManifest.xml:9:5
28 | android:name
29 | ADDED from AndroidManifest.xml:9:22
30 | application
31 | ADDED from AndroidManifest.xml:11:5
32 | android:label
33 | ADDED from AndroidManifest.xml:13:9
34 | android:icon
35 | ADDED from AndroidManifest.xml:12:9
36 | android:theme
37 | ADDED from AndroidManifest.xml:14:9
38 | activity#com.tag.texttopdf.MainActivity
39 | ADDED from AndroidManifest.xml:15:9
40 | android:label
41 | ADDED from AndroidManifest.xml:17:13
42 | android:name
43 | ADDED from AndroidManifest.xml:16:13
44 | intent-filter#android.intent.action.MAIN+android.intent.category.LAUNCHER
45 | ADDED from AndroidManifest.xml:18:13
46 | action#android.intent.action.MAIN
47 | ADDED from AndroidManifest.xml:19:17
48 | android:name
49 | ADDED from AndroidManifest.xml:19:25
50 | category#android.intent.category.LAUNCHER
51 | ADDED from AndroidManifest.xml:21:17
52 | android:name
53 | ADDED from AndroidManifest.xml:21:27
54 |
--------------------------------------------------------------------------------
/app/libs/itextpdf-5.3.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/libs/itextpdf-5.3.3.jar
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
9 |
10 |
11 |
15 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/tag/texttopdf/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.tag.texttopdf;
2 |
3 | import java.io.File;
4 | import java.io.FileNotFoundException;
5 | import java.io.FileOutputStream;
6 |
7 | import com.itextpdf.text.BaseColor;
8 | import com.itextpdf.text.Document;
9 | import com.itextpdf.text.DocumentException;
10 | import com.itextpdf.text.Element;
11 | import com.itextpdf.text.Font;
12 | import com.itextpdf.text.PageSize;
13 | import com.itextpdf.text.Paragraph;
14 | import com.itextpdf.text.Rectangle;
15 | import com.itextpdf.text.pdf.PdfPCell;
16 | import com.itextpdf.text.pdf.PdfPTable;
17 | import com.itextpdf.text.pdf.PdfWriter;
18 |
19 | import android.app.Activity;
20 | import android.os.Bundle;
21 | import android.os.Environment;
22 | import android.widget.Toast;
23 |
24 | public class MainActivity extends Activity {
25 |
26 | @Override
27 | public void onCreate(Bundle savedInstanceState) {
28 | super.onCreate(savedInstanceState);
29 | setContentView(R.layout.main);
30 |
31 | String FILE = Environment.getExternalStorageDirectory().toString()
32 | + "/PDF/" + "Name.pdf";
33 |
34 | // Add Permission into Manifest.xml
35 | //
37 |
38 | // Create New Blank Document
39 | Document document = new Document(PageSize.A4);
40 |
41 | // Create Directory in External Storage
42 | String root = Environment.getExternalStorageDirectory().toString();
43 | File myDir = new File(root + "/PDF");
44 | myDir.mkdirs();
45 |
46 | // Create Pdf Writer for Writting into New Created Document
47 | try {
48 | PdfWriter.getInstance(document, new FileOutputStream(FILE));
49 |
50 | // Open Document for Writting into document
51 | document.open();
52 |
53 | // User Define Method
54 | addMetaData(document);
55 | addTitlePage(document);
56 | } catch (FileNotFoundException e) {
57 | // TODO Auto-generated catch block
58 | e.printStackTrace();
59 | } catch (DocumentException e) {
60 | // TODO Auto-generated catch block
61 | e.printStackTrace();
62 | }
63 | // Close Document after writting all content
64 | document.close();
65 |
66 | Toast.makeText(this, "PDF File is Created. Location : " + FILE,
67 | Toast.LENGTH_LONG).show();
68 | }
69 |
70 | // Set PDF document Properties
71 | public void addMetaData(Document document)
72 |
73 | {
74 | document.addTitle("RESUME");
75 | document.addSubject("Person Info");
76 | document.addKeywords("Personal, Education, Skills");
77 | document.addAuthor("TAG");
78 | document.addCreator("TAG");
79 | }
80 |
81 | public void addTitlePage(Document document) throws DocumentException {
82 | // Font Style for Document
83 | Font catFont = new Font(Font.FontFamily.TIMES_ROMAN, 18, Font.BOLD);
84 | Font titleFont = new Font(Font.FontFamily.TIMES_ROMAN, 22, Font.BOLD
85 | | Font.UNDERLINE, BaseColor.GRAY);
86 | Font smallBold = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.BOLD);
87 | Font normal = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.NORMAL);
88 |
89 | // Start New Paragraph
90 | Paragraph prHead = new Paragraph();
91 | // Set Font in this Paragraph
92 | prHead.setFont(titleFont);
93 | // Add item into Paragraph
94 | prHead.add("RESUME – Name\n");
95 |
96 | // Create Table into Document with 1 Row
97 | PdfPTable myTable = new PdfPTable(1);
98 | // 100.0f mean width of table is same as Document size
99 | myTable.setWidthPercentage(100.0f);
100 |
101 | // Create New Cell into Table
102 | PdfPCell myCell = new PdfPCell(new Paragraph(""));
103 | myCell.setBorder(Rectangle.BOTTOM);
104 |
105 | // Add Cell into Table
106 | myTable.addCell(myCell);
107 |
108 | prHead.setFont(catFont);
109 | prHead.add("\nName1 Name2\n");
110 | prHead.setAlignment(Element.ALIGN_CENTER);
111 |
112 | // Add all above details into Document
113 | document.add(prHead);
114 | document.add(myTable);
115 |
116 | document.add(myTable);
117 |
118 | // Now Start another New Paragraph
119 | Paragraph prPersinalInfo = new Paragraph();
120 | prPersinalInfo.setFont(smallBold);
121 | prPersinalInfo.add("Address 1\n");
122 | prPersinalInfo.add("Address 2\n");
123 | prPersinalInfo.add("City: SanFran. State: CA\n");
124 | prPersinalInfo.add("Country: USA Zip Code: 000001\n");
125 | prPersinalInfo
126 | .add("Mobile: 9999999999 Fax: 1111111 Email: john_pit@gmail.com \n");
127 |
128 | prPersinalInfo.setAlignment(Element.ALIGN_CENTER);
129 |
130 | document.add(prPersinalInfo);
131 | document.add(myTable);
132 |
133 | document.add(myTable);
134 |
135 | Paragraph prProfile = new Paragraph();
136 | prProfile.setFont(smallBold);
137 | prProfile.add("\n \n Profile : \n ");
138 | prProfile.setFont(normal);
139 | prProfile
140 | .add("\nI am Mr. XYZ. I am Android Application Developer at TAG.");
141 |
142 | prProfile.setFont(smallBold);
143 | document.add(prProfile);
144 |
145 | // Create new Page in PDF
146 | document.newPage();
147 | }
148 | }
149 |
--------------------------------------------------------------------------------
/app/src/main/main6.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-hdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-mdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-xhdpi/ic_action_search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values-large/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8dp
4 | 16dp
5 | 16dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8dp
4 | 8dp
5 | 16dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | TextToPDF
4 | Hello world!
5 | Settings
6 | PDF
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | buildscript {
3 | repositories {
4 | jcenter()
5 | }
6 | dependencies {
7 | classpath 'com.android.tools.build:gradle:1.2.3'
8 | }
9 | }
10 |
11 | allprojects {
12 | repositories {
13 | jcenter()
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/build/intermediates/dex-cache/cache.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
9 |
10 |
11 | -
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/build/intermediates/gradle_project_sync_data.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/build/intermediates/gradle_project_sync_data.bin
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/theappguruz/Android-Text-to-PDF/911fb2be22dbbc0222963e66035ba5de5420fde1/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
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.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/import-summary.txt:
--------------------------------------------------------------------------------
1 | ECLIPSE ANDROID PROJECT IMPORT SUMMARY
2 | ======================================
3 |
4 | Ignored Files:
5 | --------------
6 | The following files were *not* copied into the new Gradle project; you
7 | should evaluate whether these are still needed in your project and if
8 | so manually move them:
9 |
10 | * .gitignore
11 | * README.md
12 | * ic_launcher-web.png
13 | * proguard-project.txt
14 |
15 | Replaced Jars with Dependencies:
16 | --------------------------------
17 | The importer recognized the following .jar files as third party
18 | libraries and replaced them with Gradle dependencies instead. This has
19 | the advantage that more explicit version information is known, and the
20 | libraries can be updated automatically. However, it is possible that
21 | the .jar file in your project was of an older version than the
22 | dependency we picked, which could render the project not compileable.
23 | You can disable the jar replacement in the import wizard and try again:
24 |
25 | android-support-v4.jar => com.android.support:support-v4:18.0.0
26 |
27 | Moved Files:
28 | ------------
29 | Android Gradle projects use a different directory structure than ADT
30 | Eclipse projects. Here's how the projects were restructured:
31 |
32 | * AndroidManifest.xml => app/src/main/AndroidManifest.xml
33 | * libs/itextpdf-5.3.3.jar => app/libs/itextpdf-5.3.3.jar
34 | * res/ => app/src/main/res/
35 | * src/ => app/src/main/java/
36 |
37 | Next Steps:
38 | -----------
39 | You can now build the project. The Gradle project needs network
40 | connectivity to download dependencies.
41 |
42 | Bugs:
43 | -----
44 | If for some reason your project does not build, and you determine that
45 | it is due to a bug or limitation of the Eclipse to Gradle importer,
46 | please file a bug at http://b.android.com with category
47 | Component-Tools.
48 |
49 | (This import summary is for your information only, and can be deleted
50 | after import once you are satisfied with the results.)
51 |
--------------------------------------------------------------------------------
/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | #
6 | #Thu Feb 04 13:22:08 IST 2016
7 | sdk.dir=/Users/mukund-imac/Library/Android/sdk
8 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------