Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Ear recognition
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Boston University
Ear recognition
Commits
7fb34e79
Commit
7fb34e79
authored
Sep 17, 2015
by
Marco Antonio Freyre Zumbardo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manejo de la camara
parent
7b2fc4a5
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
439 additions
and
8 deletions
+439
-8
.name
.idea/.name
+1
-1
gradle.xml
.idea/gradle.xml
+1
-1
misc.xml
.idea/misc.xml
+60
-1
modules.xml
.idea/modules.xml
+1
-1
vcs.xml
.idea/vcs.xml
+1
-1
app.iml
app/app.iml
+2
-2
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+8
-0
CameraActivity.java
.../main/java/com/aluxoft/earrecognition/CameraActivity.java
+291
-0
MainActivity.java
...rc/main/java/com/aluxoft/earrecognition/MainActivity.java
+11
-0
activity_camera.xml
app/src/main/res/layout/activity_camera.xml
+32
-0
activity_main.xml
app/src/main/res/layout/activity_main.xml
+11
-1
strings.xml
app/src/main/res/values/strings.xml
+1
-0
ear-recognition.iml
ear-recognition.iml
+19
-0
No files found.
.idea/.name
View file @
7fb34e79
Ear Recognition
\ No newline at end of file
ear-recognition
\ No newline at end of file
.idea/gradle.xml
View file @
7fb34e79
...
...
@@ -6,7 +6,7 @@
<option
name=
"distributionType"
value=
"LOCAL"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"gradleHome"
value=
"$APPLICATION_HOME_DIR$/gradle/gradle-2.4"
/>
<option
name=
"gradleJvm"
value=
"1.
7
"
/>
<option
name=
"gradleJvm"
value=
"1.
8
"
/>
<option
name=
"modules"
>
<set>
<option
value=
"$PROJECT_DIR$"
/>
...
...
.idea/misc.xml
View file @
7fb34e79
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"EntryPointsManager"
>
<entry_points
version=
"2.0"
/>
</component>
<component
name=
"NullableNotNullManager"
>
<option
name=
"myDefaultNullable"
value=
"android.support.annotation.Nullable"
/>
<option
name=
"myDefaultNotNull"
value=
"android.support.annotation.NonNull"
/>
<option
name=
"myNullables"
>
<value>
<list
size=
"4"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"org.jetbrains.annotations.Nullable"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"javax.annotation.Nullable"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"edu.umd.cs.findbugs.annotations.Nullable"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"android.support.annotation.Nullable"
/>
</list>
</value>
</option>
<option
name=
"myNotNulls"
>
<value>
<list
size=
"4"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"org.jetbrains.annotations.NotNull"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"javax.annotation.Nonnull"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"edu.umd.cs.findbugs.annotations.NonNull"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"android.support.annotation.NonNull"
/>
</list>
</value>
</option>
</component>
<component
name=
"ProjectInspectionProfilesVisibleTreeState"
>
<entry
key=
"Project Default"
>
<profile-state>
<expanded-state>
<State>
<id
/>
</State>
<State>
<id>
Android
</id>
</State>
<State>
<id>
Android Lint
</id>
</State>
</expanded-state>
</profile-state>
</entry>
</component>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"false"
>
<OptionsSetting
value=
"true"
id=
"Add"
/>
<OptionsSetting
value=
"true"
id=
"Remove"
/>
...
...
@@ -10,10 +54,25 @@
<ConfirmationsSetting
value=
"0"
id=
"Add"
/>
<ConfirmationsSetting
value=
"0"
id=
"Remove"
/>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
assert-keyword=
"true"
jdk-15=
"true"
project-jdk-name=
"1.
7
"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_7"
assert-keyword=
"true"
jdk-15=
"true"
project-jdk-name=
"1.
8
"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
<option
name=
"id"
value=
"Android"
/>
</component>
<component
name=
"masterDetails"
>
<states>
<state
key=
"ScopeChooserConfigurable.UI"
>
<settings>
<splitter-proportions>
<option
name=
"proportions"
>
<list>
<option
value=
"0.2"
/>
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>
\ No newline at end of file
.idea/modules.xml
View file @
7fb34e79
...
...
@@ -2,8 +2,8 @@
<project
version=
"4"
>
<component
name=
"ProjectModuleManager"
>
<modules>
<module
fileurl=
"file://$PROJECT_DIR$/EarRecognition.iml"
filepath=
"$PROJECT_DIR$/EarRecognition.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/app/app.iml"
filepath=
"$PROJECT_DIR$/app/app.iml"
/>
<module
fileurl=
"file://$PROJECT_DIR$/ear-recognition.iml"
filepath=
"$PROJECT_DIR$/ear-recognition.iml"
/>
</modules>
</component>
</project>
\ No newline at end of file
.idea/vcs.xml
View file @
7fb34e79
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
""
vcs=
""
/>
<mapping
directory=
""
vcs=
"
Git
"
/>
</component>
</project>
\ No newline at end of file
app/app.iml
View file @
7fb34e79
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
":app"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/.."
external.system.id=
"GRADLE"
external.system.module.group=
"
EarR
ecognition"
external.system.module.version=
"unspecified"
type=
"JAVA_MODULE"
version=
"4"
>
<module
external.linked.project.id=
":app"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/.."
external.system.id=
"GRADLE"
external.system.module.group=
"
ear-r
ecognition"
external.system.module.version=
"unspecified"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"android-gradle"
name=
"Android-Gradle"
>
<configuration>
...
...
@@ -88,7 +88,7 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/outputs"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/tmp"
/>
</content>
<orderEntry
type=
"jdk"
jdkName=
"Android API 21 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"jdk"
jdkName=
"Android API 21 Platform
(1)
"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-v4-22.0.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-annotations-22.0.0"
level=
"project"
/>
...
...
app/src/main/AndroidManifest.xml
View file @
7fb34e79
...
...
@@ -2,6 +2,10 @@
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.aluxoft.earrecognition"
>
<uses-permission
android:name=
"android.permission.CAMERA"
/>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.READ_EXTERNAL_STORAGE"
/>
<application
android:allowBackup=
"true"
android:icon=
"@mipmap/ic_launcher"
...
...
@@ -16,6 +20,10 @@
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<activity
android:name=
".CameraActivity"
android:label=
"@string/title_activity_camera"
>
</activity>
</application>
</manifest>
app/src/main/java/com/aluxoft/earrecognition/CameraActivity.java
0 → 100644
View file @
7fb34e79
This diff is collapsed.
Click to expand it.
app/src/main/java/com/aluxoft/earrecognition/MainActivity.java
View file @
7fb34e79
package
com
.
aluxoft
.
earrecognition
;
import
android.content.Intent
;
import
android.support.v7.app.ActionBarActivity
;
import
android.os.Bundle
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.View
;
import
android.widget.Button
;
public
class
MainActivity
extends
ActionBarActivity
{
...
...
@@ -11,6 +14,14 @@ public class MainActivity extends ActionBarActivity {
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
Button
camara
=
(
Button
)
findViewById
(
R
.
id
.
button3
);
camara
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Intent
intent
=
new
Intent
(
MainActivity
.
this
,
CameraActivity
.
class
);
startActivity
(
intent
);
}
});
}
@Override
...
...
app/src/main/res/layout/activity_camera.xml
0 → 100644
View file @
7fb34e79
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:paddingLeft=
"@dimen/activity_horizontal_margin"
android:paddingRight=
"@dimen/activity_horizontal_margin"
android:paddingTop=
"@dimen/activity_vertical_margin"
android:paddingBottom=
"@dimen/activity_vertical_margin"
tools:context=
"com.aluxoft.earrecognition.CameraActivity"
>
<Button
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Take button"
android:id=
"@+id/button"
android:layout_centerHorizontal=
"true"
/>
<ImageView
android:layout_width=
"200dp"
android:layout_height=
"200dp"
android:id=
"@+id/imageView"
android:layout_centerVertical=
"true"
android:layout_centerHorizontal=
"true"
/>
<Button
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Pick Button"
android:id=
"@+id/button2"
android:layout_below=
"@+id/button"
android:layout_centerHorizontal=
"true"
/>
</RelativeLayout>
app/src/main/res/layout/activity_main.xml
View file @
7fb34e79
...
...
@@ -6,6 +6,16 @@
android:paddingBottom=
"@dimen/activity_vertical_margin"
tools:context=
".MainActivity"
>
<TextView
android:text=
"@string/hello_world"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
android:id=
"@+id/textView"
/>
<Button
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Ir a manejo de camara"
android:id=
"@+id/button3"
android:layout_below=
"@+id/textView"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"86dp"
/>
</RelativeLayout>
app/src/main/res/values/strings.xml
View file @
7fb34e79
...
...
@@ -3,4 +3,5 @@
<string
name=
"hello_world"
>
Hello world!
</string>
<string
name=
"action_settings"
>
Settings
</string>
<string
name=
"title_activity_camera"
>
CameraActivity
</string>
</resources>
ear-recognition.iml
0 → 100644
View file @
7fb34e79
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
"ear-recognition"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$"
external.system.id=
"GRADLE"
external.system.module.group=
""
external.system.module.version=
"unspecified"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"java-gradle"
name=
"Java-Gradle"
>
<configuration>
<option
name=
"BUILD_FOLDER_PATH"
value=
"$MODULE_DIR$/build"
/>
<option
name=
"BUILDABLE"
value=
"false"
/>
</configuration>
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_7"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
</content>
<orderEntry
type=
"jdk"
jdkName=
"1.8"
jdkType=
"JavaSDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment