Skip to content

Commit 2012092

Browse files
committed
Moving the ocr-reader and ocr-codelabs to devrel
Change-Id: I4c3a3fd97352eb3276e64145302344f23a8e9715 Updates from the committed Experimental branch. Change-Id: I394866cee1774bc237f5ff2195120cf1fa5af2c8 Removed the build.gradle repo that's only necessary for pre-release SDK usage. Change-Id: I35fd6560aaa373c27dea4dd75b9e4adff6963bdd Updates from Wolff's review. Gradle 2.1, landscape support, GMS 9.0.0, and a bugfix. Change-Id: I4d4b2bbe52ebae32034e1a06158d316c7bfa11b2 Changing static variable names to their correct Hungarian Notation prefix. Change-Id: If2d5d34fc5e6b89379ff039eab927e7a851e3b50 Minor bugs and suggestions from the Codelab review. Change-Id: I02a5f9152d8866c46c1ebc2245398927cdbc3ee6
1 parent f8e0ebe commit 2012092

File tree

67 files changed

+8206
-0
lines changed

Some content is hidden

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

67 files changed

+8206
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 23
5+
buildToolsVersion "23.0.1"
6+
7+
defaultConfig {
8+
applicationId "com.google.android.gms.samples.vision.barcodereader"
9+
minSdkVersion 21
10+
targetSdkVersion 23
11+
versionCode 1
12+
versionName "1.0"
13+
}
14+
buildTypes {
15+
release {
16+
minifyEnabled false
17+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18+
}
19+
}
20+
}
21+
22+
dependencies {
23+
compile fileTree(dir: 'libs', include: ['*.jar'])
24+
compile 'com.android.support:support-v4:23.0.1'
25+
compile 'com.google.android.gms:play-services-vision:9.0.0+'
26+
compile 'com.android.support:design:23.0.1'
27+
}
Lines changed: 17 additions & 0 deletions
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 /usr/local/google/home/wilkinsonclay/android/adt-bundle-linux-x86_64-20140702/sdk/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+
#}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.google.android.gms.samples.vision.ocrreader"
4+
android:installLocation="auto" >
5+
6+
<uses-feature android:name="android.hardware.camera" />
7+
8+
<uses-permission android:name="android.permission.CAMERA" />
9+
10+
<application
11+
android:allowBackup="true"
12+
android:fullBackupContent="false"
13+
android:hardwareAccelerated="true"
14+
android:icon="@drawable/icon"
15+
android:label="OcrReaderApp"
16+
android:supportsRtl = "true"
17+
android:theme="@style/Theme.AppCompat" >
18+
<meta-data
19+
android:name="com.google.android.gms.version"
20+
android:value="@integer/google_play_services_version" />
21+
<meta-data
22+
android:name="com.google.android.gms.vision.DEPENDENCIES"
23+
android:value="ocr" />
24+
25+
<activity android:name="com.google.android.gms.samples.vision.ocrreader.OcrCaptureActivity"
26+
android:label="Read Text">
27+
<intent-filter>
28+
<action android:name="android.intent.action.MAIN" />
29+
<category android:name="android.intent.category.LAUNCHER" />
30+
</intent-filter>
31+
</activity>
32+
</application>
33+
34+
</manifest>

0 commit comments

Comments
 (0)