Skip to content

Commit 62ba423

Browse files
committed
Added sample app
1 parent d85ef93 commit 62ba423

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2115
-0
lines changed

sample/.gitignore

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/libraries
5+
/.idea/modules.xml
6+
/.idea/workspace.xml
7+
.DS_Store
8+
/build
9+
/captures
10+
.externalNativeBuild
11+
12+
# Built application files
13+
*.apk
14+
*.ap_
15+
16+
# Files for the ART/Dalvik VM
17+
*.dex
18+
19+
# Java class files
20+
*.class
21+
22+
# Generated files
23+
bin/
24+
gen/
25+
out/
26+
27+
# Gradle files
28+
.gradle/
29+
build/
30+
31+
# Local configuration file (sdk path, etc)
32+
local.properties
33+
34+
# Proguard folder generated by Eclipse
35+
proguard/
36+
37+
# Log Files
38+
*.log
39+
40+
# Android Studio Navigation editor temp files
41+
.navigation/
42+
43+
# Android Studio captures folder
44+
captures/
45+
46+
# IntelliJ
47+
*.iml
48+
.idea/workspace.xml
49+
.idea/tasks.xml
50+
.idea/gradle.xml
51+
.idea/assetWizardSettings.xml
52+
.idea/dictionaries
53+
.idea/libraries
54+
.idea/caches
55+
56+
# Keystore files
57+
# Uncomment the following line if you do not want to check your keystore files in.
58+
#*.jks
59+
60+
# External native build folder generated in Android Studio 2.2 and later
61+
.externalNativeBuild
62+
63+
# Google Services (e.g. APIs or Firebase)
64+
google-services.json
65+
66+
# Freeline
67+
freeline.py
68+
freeline/
69+
freeline_project_description.json
70+
71+
# fastlane
72+
fastlane/report.xml
73+
fastlane/Preview.html
74+
fastlane/screenshots
75+
fastlane/test_output
76+
fastlane/readme.md

sample/.idea/codeStyles/Project.xml

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample/.idea/misc.xml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample/.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample/app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

sample/app/build.gradle

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* Copyright (c) 2018 Aspose.Pdf for Cloud
3+
* Permission is hereby granted, free of charge, to any person obtaining a copy
4+
* of this software and associated documentation files (the "Software"), to deal
5+
* in the Software without restriction, including without limitation the rights
6+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
* copies of the Software, and to permit persons to whom the Software is
8+
* furnished to do so, subject to the following conditions:
9+
* The above copyright notice and this permission notice shall be included in all
10+
* copies or substantial portions of the Software.
11+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17+
* SOFTWARE.
18+
*/
19+
20+
apply plugin: 'com.android.application'
21+
22+
android {
23+
compileSdkVersion 27
24+
defaultConfig {
25+
applicationId "com.aspose.asposecloudpdfapp"
26+
minSdkVersion 19
27+
targetSdkVersion 27
28+
versionCode 1
29+
versionName "1.0"
30+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
31+
vectorDrawables.useSupportLibrary = true
32+
}
33+
buildTypes {
34+
release {
35+
minifyEnabled false
36+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
37+
}
38+
}
39+
}
40+
41+
dependencies {
42+
implementation fileTree(dir: 'libs', include: ['*.jar'])
43+
implementation 'com.android.support:appcompat-v7:27.1.1'
44+
implementation 'com.android.support:design:27.1.1'
45+
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
46+
implementation 'com.android.support:support-v4:27.1.1'
47+
implementation 'com.android.support:support-vector-drawable:27.1.1'
48+
testImplementation 'junit:junit:4.12'
49+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
50+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
51+
implementation 'com.github.tiagohm.MarkdownView:library:0.19.0'
52+
implementation 'com.aspose:aspose-cloud-pdf-android:18.4.1'
53+
}

sample/app/proguard-rules.pro

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#
2+
# Copyright (c) 2018 Aspose.Pdf for Cloud
3+
# Permission is hereby granted, free of charge, to any person obtaining a copy
4+
# of this software and associated documentation files (the "Software"), to deal
5+
# in the Software without restriction, including without limitation the rights
6+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
# copies of the Software, and to permit persons to whom the Software is
8+
# furnished to do so, subject to the following conditions:
9+
# The above copyright notice and this permission notice shall be included in all
10+
# copies or substantial portions of the Software.
11+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17+
# SOFTWARE.
18+
#
19+
20+
# Add project specific ProGuard rules here.
21+
# You can control the set of applied configuration files using the
22+
# proguardFiles setting in build.gradle.
23+
#
24+
# For more details, see
25+
# http://developer.android.com/guide/developing/tools/proguard.html
26+
27+
# If your project uses WebView with JS, uncomment the following
28+
# and specify the fully qualified class name to the JavaScript interface
29+
# class:
30+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
31+
# public *;
32+
#}
33+
34+
# Uncomment this to preserve the line number information for
35+
# debugging stack traces.
36+
#-keepattributes SourceFile,LineNumberTable
37+
38+
# If you keep the line number information, uncomment this to
39+
# hide the original source file name.
40+
#-renamesourcefileattribute SourceFile
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
4+
Copyright (c) 2018 Aspose.Pdf for Cloud
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
20+
21+
-->
22+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
23+
package="com.aspose.asposecloudpdfapp">
24+
25+
<uses-permission android:name="android.permission.INTERNET" />
26+
27+
<application
28+
android:allowBackup="true"
29+
android:icon="@mipmap/ic_launcher_1"
30+
android:label="@string/app_name"
31+
android:supportsRtl="true"
32+
android:theme="@style/AppTheme">
33+
<activity
34+
android:name=".MainActivity"
35+
android:label="@string/app_name"
36+
android:theme="@style/AppTheme.NoActionBar">
37+
<intent-filter>
38+
<action android:name="android.intent.action.MAIN" />
39+
40+
<category android:name="android.intent.category.LAUNCHER" />
41+
</intent-filter>
42+
</activity>
43+
<activity
44+
android:name=".SettingsActivity"
45+
android:label="@string/title_activity_settings" />
46+
</application>
47+
48+
</manifest>

0 commit comments

Comments
 (0)