Skip to content

Commit c14a541

Browse files
committed
Initial commit
0 parents  commit c14a541

Some content is hidden

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

52 files changed

+1687
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures

.idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 23
5+
buildToolsVersion '23.0.2'
6+
defaultConfig {
7+
applicationId "com.todobom.opennotescanner"
8+
minSdkVersion 21
9+
targetSdkVersion 23
10+
versionCode 1
11+
versionName "1.0"
12+
}
13+
buildTypes {
14+
release {
15+
minifyEnabled false
16+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17+
}
18+
}
19+
productFlavors {
20+
}
21+
}
22+
23+
repositories {
24+
mavenCentral()
25+
26+
maven {
27+
url "https://raw.github.com/embarkmobile/zxing-android-minimal/mvn-repo/maven-repository/"
28+
}
29+
}
30+
31+
dependencies {
32+
compile fileTree(dir: 'libs', include: ['*.jar'])
33+
testCompile 'junit:junit:4.12'
34+
compile project(':openCVLibrary310')
35+
compile 'com.android.support:appcompat-v7:23.1.1'
36+
compile 'com.android.support:design:23.1.1'
37+
compile 'com.embarkmobile:zxing-android-minimal:2.0.0@aar'
38+
compile 'com.embarkmobile:zxing-android-integration:2.0.0@aar'
39+
compile 'com.google.zxing:core:3.0.1'
40+
compile 'com.android.support:support-v4:23.1.1'
41+
}

app/proguard-rules.pro

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /home/allgood/android-sdk-linux/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.todobom.opennotescanner;
2+
3+
import android.app.Application;
4+
import android.test.ApplicationTestCase;
5+
6+
/**
7+
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
8+
*/
9+
public class ApplicationTest extends ApplicationTestCase<Application> {
10+
public ApplicationTest() {
11+
super(Application.class);
12+
}
13+
}

app/src/main/AndroidManifest.xml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.todobom.opennotescanner">
4+
5+
<uses-sdk android:minSdkVersion="21" />
6+
7+
<uses-permission android:name="android.permission.CAMERA" />
8+
9+
<uses-feature
10+
android:name="android.hardware.camera"
11+
android:required="false" />
12+
<uses-feature
13+
android:name="android.hardware.camera.autofocus"
14+
android:required="false" />
15+
<uses-feature
16+
android:name="android.hardware.camera.front"
17+
android:required="false" />
18+
<uses-feature
19+
android:name="android.hardware.camera.front.autofocus"
20+
android:required="false" />
21+
22+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
23+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
24+
<!--
25+
<android:uses-permission android:name="android.permission.READ_PHONE_STATE" />
26+
-->
27+
28+
<application
29+
android:allowBackup="true"
30+
android:icon="@mipmap/ic_launcher"
31+
android:label="@string/app_name"
32+
android:supportsRtl="true"
33+
android:theme="@style/Theme.AppCompat">
34+
<activity
35+
android:name=".OpenNoteScanner"
36+
android:configChanges="orientation|keyboardHidden|screenSize"
37+
android:label="@string/title_activity_open_note_scanner"
38+
android:theme="@style/FullscreenTheme"
39+
android:screenOrientation="landscape"
40+
>
41+
<intent-filter>
42+
<action android:name="android.intent.action.MAIN" />
43+
<category android:name="android.intent.category.LAUNCHER" />
44+
</intent-filter>
45+
<intent-filter>
46+
<action android:name="android.media.action.IMAGE_CAPTURE" />
47+
<category android:name="android.intent.category.DEFAULT" />
48+
</intent-filter>
49+
</activity>
50+
</application>
51+
52+
</manifest>

0 commit comments

Comments
 (0)