Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bindscha committed Apr 23, 2013
0 parents commit 619ac34
Show file tree
Hide file tree
Showing 73 changed files with 4,293 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .gitignore
@@ -0,0 +1,21 @@
bin
documentation/api
logs
project/project
project/target
target
tmp
.cache
.DS_Store
.history
.swp
.target
dist
.idea
*.iml
out
.idea_modules
.classpath
.project
RUNNING_PID
.settings
36 changes: 36 additions & 0 deletions AndroidManifest.xml
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="3"
android:versionName="1.0.0" package="com.b01dface.arlo.core">
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name="com.b01dface.arlo.core.MainActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="landscape"
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="com.b01dface.arlo.map.Map" android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<uses-library android:name="com.google.android.maps" />
</application>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-permission android:name="android.permission.INTERNET" />

<uses-permission android:name="android.permission.READ_CALENDAR" />

<uses-sdk android:minSdkVersion="7" />
</manifest>
6 changes: 6 additions & 0 deletions gen/com/b01dface/arlo/core/BuildConfig.java
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package com.b01dface.arlo.core;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
95 changes: 95 additions & 0 deletions gen/com/b01dface/arlo/core/R.java
@@ -0,0 +1,95 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/

package com.b01dface.arlo.core;

public final class R {
public static final class attr {
}
public static final class drawable {
public static final int calendar=0x7f020000;
public static final int gps=0x7f020001;
public static final int ic_list=0x7f020002;
public static final int ic_map=0x7f020003;
public static final int ic_settings=0x7f020004;
public static final int icon=0x7f020005;
public static final int latitude=0x7f020006;
public static final int logo=0x7f020007;
public static final int map_overlay_blue=0x7f020008;
public static final int map_overlay_green=0x7f020009;
public static final int map_overlay_red=0x7f02000a;
public static final int pause=0x7f02000b;
public static final int play=0x7f02000c;
}
public static final class id {
public static final int ARLayout=0x7f080009;
public static final int CameraImageView=0x7f080008;
public static final int CameraLayout=0x7f080006;
public static final int CameraPreview=0x7f080007;
public static final int LinLayout=0x7f08000f;
public static final int MainLayout=0x7f080005;
public static final int MapView=0x7f080010;
public static final int ProgressBar=0x7f08000d;
public static final int ProgressLayout=0x7f08000c;
public static final int ProgressText=0x7f08000e;
public static final int SplashImageView=0x7f08000b;
public static final int SplashLayout=0x7f08000a;
public static final int dismiss=0x7f080016;
public static final int enableGPSButton=0x7f080004;
public static final int gpsImage=0x7f080002;
public static final int gpsText=0x7f080003;
public static final int gps_dialog_layout_horizontal=0x7f080001;
public static final int gps_dialog_layout_vertical=0x7f080000;
public static final int list=0x7f08001a;
public static final int map=0x7f080019;
public static final int overlayImage=0x7f080013;
public static final int overlayText=0x7f080014;
public static final int overlay_dialog_layout_horizontal=0x7f080012;
public static final int overlay_dialog_layout_vertical=0x7f080011;
public static final int showOnMap=0x7f080015;
public static final int toastImage=0x7f080018;
public static final int toastLayout=0x7f080017;
}
public static final class layout {
public static final int gps_dialog=0x7f030000;
public static final int main=0x7f030001;
public static final int map=0x7f030002;
public static final int overlay_dialog=0x7f030003;
public static final int toast_image=0x7f030004;
}
public static final class menu {
public static final int main_menu=0x7f070000;
}
public static final class raw {
public static final int device_database=0x7f040000;
}
public static final class string {
public static final int app_name=0x7f050000;
public static final int building_data_structures=0x7f050003;
public static final int dismiss_dialog_button=0x7f050010;
public static final int display_overlays=0x7f050006;
public static final int engine_resumed_from_background=0x7f050007;
public static final int gps_dialog_title=0x7f050008;
public static final int gps_enable=0x7f050009;
public static final int gps_enable_button=0x7f05000a;
public static final int gps_status_available=0x7f05000b;
public static final int gps_status_out_of_service=0x7f05000d;
public static final int gps_status_temporarily_unavailable=0x7f05000c;
public static final int list=0x7f050012;
public static final int loading=0x7f050001;
public static final int loading_layout=0x7f050004;
public static final int map=0x7f050011;
public static final int new_location=0x7f05000e;
public static final int preparing_camera=0x7f050002;
public static final int registering_location=0x7f050005;
public static final int show_on_map_button=0x7f05000f;
}
public static final class style {
public static final int NewDialog=0x7f060001;
public static final int Theme_Default=0x7f060000;
}
}
11 changes: 11 additions & 0 deletions project.properties
@@ -0,0 +1,11 @@
# 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 use,
# "ant.properties", and override values to adapt the script to your
# project structure.

# Project target.
target=Google Inc.:Google APIs:7
Binary file added res/drawable-hdpi/calendar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/gps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/latitude.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/pause.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/calendar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/gps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/latitude.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/pause.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-ldpi/play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/calendar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/gps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/latitude.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/pause.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/ic_list.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/ic_map.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/ic_settings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/map_overlay_blue.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/map_overlay_green.png
Binary file added res/drawable/map_overlay_red.png
38 changes: 38 additions & 0 deletions res/layout/gps_dialog.xml
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gps_dialog_layout_vertical"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
>

<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider" />

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gps_dialog_layout_horizontal"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView android:id="@+id/gpsImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/gps"
android:layout_marginRight="10dp" />
<TextView android:id="@+id/gpsText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFF"
android:text="@string/gps_enable" />
</LinearLayout>

<Button android:id="@+id/enableGPSButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@string/gps_enable_button'
android:layout_gravity="center_horizontal" />

</LinearLayout>
68 changes: 68 additions & 0 deletions res/layout/main.xml
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/MainLayout"
android:layout_gravity="center"
android:visibility="visible"
android:keepScreenOn="true">

<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/CameraLayout"
android:layout_gravity="center"
android:visibility="invisible">
<com.b01dface.arengine.CameraPreview
android:id="@+id/CameraPreview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="visible" />
<ImageView android:id="@+id/CameraImageView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="invisible"
android:background="@android:color/transparent" />
</FrameLayout>

<com.b01dface.arengine.ARLayout
android:id="@+id/ARLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="invisible">
</com.b01dface.arengine.ARLayout>

<FrameLayout android:id="@+id/SplashLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:visibility="invisible">
<ImageView android:id="@+id/SplashImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/logo"
android:layout_gravity="center"
android:background="@android:color/transparent"/>
<LinearLayout android:id="@+id/ProgressLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:gravity="center_vertical"
android:padding="5sp">
<ProgressBar android:id="@+id/ProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="?android:attr/progressBarStyleSmall"
android:background="@android:color/transparent"
android:padding="5sp"/>
<TextView android:id="@+id/ProgressText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/loading"
android:textSize="15sp"/>
</LinearLayout>
</FrameLayout>

</FrameLayout>
18 changes: 18 additions & 0 deletions res/layout/map.xml
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/MainLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_width="fill_parent">

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/LinLayout" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_height="fill_parent">

<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/MapView" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:clickable="true"
android:apiKey="0zsCJu15hOYw93_BQ1VSHfVL--3CGwL3ZAYGp7Q" />

</LinearLayout>

</RelativeLayout>
48 changes: 48 additions & 0 deletions res/layout/overlay_dialog.xml
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/overlay_dialog_layout_vertical"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
>

<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider" />

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/overlay_dialog_layout_horizontal"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView android:id="@+id/overlayImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp" />
<TextView android:id="@+id/overlayText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFF" />
</LinearLayout>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/overlay_dialog_layout_horizontal"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<Button android:id="@+id/showOnMap"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@string/show_on_map_button'
android:layout_gravity="center_horizontal" />

<Button android:id="@+id/dismiss"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text='@string/dismiss_dialog_button'
android:layout_gravity="center_horizontal" />
</LinearLayout>

</LinearLayout>
13 changes: 13 additions & 0 deletions res/layout/toast_image.xml
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toastLayout"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dp">

<ImageView android:id="@+id/toastImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>
9 changes: 9 additions & 0 deletions res/menu/main_menu.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/map"
android:icon="@drawable/ic_map"
android:title="@string/map" />
<item android:id="@+id/list"
android:icon="@drawable/ic_settings"
android:title="@string/list" />
</menu>

0 comments on commit 619ac34

Please sign in to comment.