Skip to content

Commit

Permalink
MapEver is now public!
Browse files Browse the repository at this point in the history
  • Loading branch information
diedricm committed Apr 12, 2015
1 parent 9f0e66a commit 562ae73
Show file tree
Hide file tree
Showing 240 changed files with 56,456 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "opencv"]
path = opencv
url = https://github.com/Itseez/opencv.git
14 changes: 14 additions & 0 deletions MapEver/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="android-support-v7-appcompat/bin"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="/android-support-v7-appcompat"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
2 changes: 2 additions & 0 deletions MapEver/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin/
/gen/
33 changes: 33 additions & 0 deletions MapEver/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MapEver</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions MapEver/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
93 changes: 93 additions & 0 deletions MapEver/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="de.hu_berlin.informatik.spws2014.mapever"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="21" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />

<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.front"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.front.autofocus"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />

<application
android:name=".MapEverApp"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar" >
<activity
android:name=".Start"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".camera.CornerDetectionCamera"
android:label="@string/app_name"
android:parentActivityName=".Start"
android:screenOrientation="landscape" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Start" />
</activity>
<activity
android:name=".camera.ConfirmImageActivity"
android:label="@string/app_name"
android:parentActivityName=".camera.CornerDetectionCamera" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".camera.CornerDetectionCamera" />
</activity>
<activity
android:name=".entzerrung.Entzerren"
android:label="@string/title_activity_deskew"
android:parentActivityName=".Start" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Start" />
</activity>
<activity
android:name=".navigation.Navigation"
android:label="@string/title_activity_navigation"
android:parentActivityName=".Start" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Start" />
</activity>
<activity
android:name=".Settings"
android:label="@string/title_activity_settings"
android:parentActivityName=".Start" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Start" />
</activity>
</application>

</manifest>
Binary file added MapEver/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions MapEver/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="UnusedAttribute">
<ignore path="AndroidManifest.xml" />
<ignore path="res/layout/activity_navigation.xml" />
</issue>
</lint>
20 changes: 20 additions & 0 deletions MapEver/proguard-project.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
16 changes: 16 additions & 0 deletions MapEver/project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-21
android.library.reference.1=../appcompat_v7
android.library.reference.2=../OpenCV-2.4.9-android-sdk/sdk/java
Binary file added MapEver/res/drawable-hdpi/current_position.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/debug_testmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/entzerrung_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_camera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_collection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_done.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_action_labels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/map_dummy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-hdpi/ref_punkt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/current_position.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/debug_testmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/entzerrung_corner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_camera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_collection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added MapEver/res/drawable-mdpi/ic_action_done.png
Binary file added MapEver/res/drawable-mdpi/ic_action_help.png
Binary file added MapEver/res/drawable-mdpi/ic_action_labels.png
Binary file added MapEver/res/drawable-mdpi/ic_launcher.png
Binary file added MapEver/res/drawable-mdpi/map_dummy.png
Binary file added MapEver/res/drawable-mdpi/ref_punkt.png
Binary file added MapEver/res/drawable-nodpi/neue_karte.png
Binary file added MapEver/res/drawable-xhdpi/current_position.png
Binary file added MapEver/res/drawable-xhdpi/debug_testmap.png
Binary file added MapEver/res/drawable-xhdpi/entzerrung_corner.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_camera.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_cancel.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_collection.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_crop.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_delete.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_done.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_help.png
Binary file added MapEver/res/drawable-xhdpi/ic_action_labels.png
Binary file added MapEver/res/drawable-xhdpi/ic_launcher.png
Binary file added MapEver/res/drawable-xhdpi/map_dummy.png
Binary file added MapEver/res/drawable-xhdpi/ref_punkt.png
Binary file added MapEver/res/drawable-xxhdpi/current_position.png
Binary file added MapEver/res/drawable-xxhdpi/debug_testmap.png
Binary file added MapEver/res/drawable-xxhdpi/entzerrung_corner.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_camera.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_cancel.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_collection.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_crop.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_delete.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_done.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_help.png
Binary file added MapEver/res/drawable-xxhdpi/ic_action_labels.png
Binary file added MapEver/res/drawable-xxhdpi/ic_launcher.png
Binary file added MapEver/res/drawable-xxhdpi/map_dummy.png
Binary file added MapEver/res/drawable-xxhdpi/ref_punkt.png
35 changes: 35 additions & 0 deletions MapEver/res/layout-land/activity_entzerren.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<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:background="@android:color/black"
android:paddingLeft="0dp"
android:paddingRight="0dp"
tools:context="de.hu_berlin.informatik.spws2014.mapever.entzerrung.Entzerren" >

<de.hu_berlin.informatik.spws2014.mapever.entzerrung.EntzerrungsView
android:id="@+id/entzerrungsview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true" />

<ImageButton
android:id="@+id/entzerrung_ok_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:contentDescription="@string/deskewing_desc_continue"
android:minHeight="100dp"
android:minWidth="50dp"
android:onClick="onClick_EntzerrungOk"
android:scaleType="center"
android:src="@drawable/ic_action_crop" />

</RelativeLayout>
76 changes: 76 additions & 0 deletions MapEver/res/layout/aboutus.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#424242" >

<TextView
android:id="@+id/aboutus_projekt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/aboutus_title"
android:layout_centerHorizontal="true"
android:layout_marginTop="25dp"
android:text="@string/aboutus_project"
android:textColor="#C5EFE8"
android:textSize="12sp" />

<TextView
android:id="@+id/aboutus_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/aboutus_projekt"
android:layout_centerHorizontal="true"
android:text="@string/aboutus_version"
android:textColor="#C5EFE8" />

<TextView
android:id="@+id/aboutus_lehrstuhl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/aboutusicon"
android:layout_centerHorizontal="true"
android:text="@string/aboutus_lehrstuhl"
android:textColor="#C5EFE8" />

<TextView
android:id="@+id/aboutus_copyright"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/aboutus_lehrstuhl"
android:layout_centerHorizontal="true"
android:text="@string/aboutus_copyright"
android:textColor="#C5EFE8" />

<ImageView
android:id="@+id/aboutusicon"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_below="@+id/aboutus_version"
android:layout_centerHorizontal="true"
android:contentDescription="@null"
android:src="@drawable/ic_launcher" />

<TextView
android:id="@+id/aboutus_rights_reserved"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/aboutus_copyright"
android:layout_centerHorizontal="true"
android:text="@string/aboutus_rights_reserved"
android:textColor="#C5EFE8" />

<TextView
android:id="@+id/aboutus_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="15dp"
android:text="@string/aboutus_title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#C5EFE8"
android:textSize="35sp" />

</RelativeLayout>
27 changes: 27 additions & 0 deletions MapEver/res/layout/activity_camera_confirmimageactivity.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:contentDescription="@string/camera_activity_desc_preview"
android:scaleType="center" />

<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onConfirmPictureClick"
android:text="@string/camera_activity_confirm_button_txt" />

<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="onCancelPictureClick"
android:text="@string/camera_activity_cancel_button_txt" />

</LinearLayout>
24 changes: 24 additions & 0 deletions MapEver/res/layout/activity_camera_cornerdetectioncamera.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:opencv="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<de.hu_berlin.informatik.spws2014.mapever.camera.CornerDetectionView
android:id="@+id/corner_detection_java_surface_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="gone"
opencv:camera_id="any"
opencv:show_fps="false" />

<ImageButton
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_gravity="end"
android:contentDescription="@string/camera_activity_take_picture_button_txt"
android:onClick="onTakePictureClick"
android:src="@drawable/ic_action_camera" />

</FrameLayout>
Loading

0 comments on commit 562ae73

Please sign in to comment.