Skip to content

Commit

Permalink
camera and text plus speech recog
Browse files Browse the repository at this point in the history
  • Loading branch information
mhatreakshay committed Jun 20, 2015
1 parent 34d2e4e commit 127f2ee
Show file tree
Hide file tree
Showing 21 changed files with 900 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scene-objects/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry 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"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
33 changes: 33 additions & 0 deletions scene-objects/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SceneObjectActivity</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>
44 changes: 44 additions & 0 deletions scene-objects/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!-- Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-->


<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.gearvrf.sample.sceneobjects"
android:versionCode="1"
android:versionName="1.0">

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

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature android:name="android.hardware.camera"/>

<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
<!--meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
-->
<activity android:name="SceneObjectActivity"
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>
</application>
</manifest>
17 changes: 17 additions & 0 deletions scene-objects/ant.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file is used to override default values used by the Ant build system.
#
# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.

# This file is only used by the Ant script.

# You can use this to override default values such as
# 'source.dir' for the location of your java source folder and
# 'out.dir' for the location of your output folder.

# You can also use it define how the release builds are signed by declaring
# the following properties:
# 'key.store' for the location of your keystore and
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.

22 changes: 22 additions & 0 deletions scene-objects/assets/gvr_note4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--/* Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/-->

<lens name="N4">
<distortion unit="0.02825" k0="1.0" k1="0.125" k2="0.125" k3="0.0" disparity="-0.008" distortion-scale="1.0"/>
<chromatic r0="1.0" r1="0.0" g0="1.0" g1="0.0" b0="1.0" b1="0.0"/>
<metric lens-separation-distance="0.062"/>
<scene fov-y="90.0" camera-separation-distance="0.062" fbo-width="960" fbo-height="1080" msaa="1"/>
</lens>
Binary file added scene-objects/assets/oculussig_2347d8af
Binary file not shown.
Binary file added scene-objects/assets/oculussig_9003da7c
Binary file not shown.
75 changes: 75 additions & 0 deletions scene-objects/gen/com/oculus/vrappframework/R.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/* 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.oculus.vrappframework;

public final class R {
public static final class drawable {
public static final int ic_launcher = 0x7f020002;
}
public static final class raw {
public static final int burgundy = 0x7f040000;
public static final int charcoal = 0x7f040001;
public static final int click = 0x7f040002;
public static final int color_ramp_timer = 0x7f040003;
public static final int darkgreen = 0x7f040004;
public static final int efigs = 0x7f040005;
public static final int efigs_sdf = 0x7f040006;
public static final int gaze_cursor = 0x7f040007;
public static final int gaze_cursor_cross = 0x7f040008;
public static final int gaze_cursor_cross_hi = 0x7f040009;
public static final int gaze_cursor_dot = 0x7f04000a;
public static final int gaze_cursor_dot_hi = 0x7f04000b;
public static final int gaze_cursor_hand = 0x7f04000c;
public static final int gaze_cursor_hi = 0x7f04000d;
public static final int gaze_cursor_timer = 0x7f04000e;
public static final int grey = 0x7f04000f;
public static final int loading_indicator = 0x7f040011;
public static final int mustard = 0x7f040012;
public static final int nav_arrow_down = 0x7f040013;
public static final int orange = 0x7f040014;
public static final int out_of_disk_space_warning = 0x7f040015;
public static final int panel = 0x7f040016;
public static final int panel_hi = 0x7f040017;
public static final int panel_hi_square = 0x7f040018;
public static final int panel_square = 0x7f040019;
public static final int purple = 0x7f04001b;
public static final int scrollbar_base_horz = 0x7f04001c;
public static final int scrollbar_base_vert = 0x7f04001d;
public static final int scrollbar_thumb_horz = 0x7f04001e;
public static final int scrollbar_thumb_vert = 0x7f04001f;
public static final int seablue = 0x7f040020;
public static final int sound_assets = 0x7f040021;
public static final int sv_active_to_drag = 0x7f040022;
public static final int sv_deselect = 0x7f040023;
public static final int sv_focusgained = 0x7f040024;
public static final int sv_panel_touch_down = 0x7f040025;
public static final int sv_panel_touch_up = 0x7f040026;
public static final int sv_release = 0x7f040027;
public static final int sv_release_active = 0x7f040028;
public static final int sv_select = 0x7f040029;
public static final int sv_simple_swipe = 0x7f04002a;
public static final int sv_swipe = 0x7f04002b;
public static final int sv_touch_active = 0x7f04002c;
public static final int sv_touch_inactive = 0x7f04002d;
public static final int swipe_suggestion_arrow_down = 0x7f04002e;
public static final int swipe_suggestion_arrow_up = 0x7f04002f;
public static final int ui_panel_test_256x64 = 0x7f040030;
public static final int volume_bg = 0x7f040031;
public static final int volume_icon = 0x7f040032;
public static final int volume_tick_off = 0x7f040033;
public static final int volume_tick_on = 0x7f040034;
}
public static final class string {
public static final int font_name = 0x7f050000;
public static final int out_of_memory = 0x7f050002;
public static final int swipe_to_browse = 0x7f050001;
}
public static final class style {
public static final int AppBaseTheme = 0x7f060000;
public static final int AppTheme = 0x7f060001;
}
}
94 changes: 94 additions & 0 deletions scene-objects/gen/org/gearvrf/R.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/* 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 org.gearvrf;

public final class R {
public static final class dimen {
public static final int activity_horizontal_margin = 0x7f070000;
public static final int activity_vertical_margin = 0x7f070001;
}
public static final class drawable {
public static final int __default_splash_screen__ = 0x7f020000;
public static final int ic_launcher = 0x7f020002;
}
public static final class id {
public static final int action_settings = 0x7f090000;
}
public static final class layout {
public static final int activity_main = 0x7f030000;
}
public static final class menu {
public static final int main = 0x7f080000;
}
public static final class raw {
public static final int burgundy = 0x7f040000;
public static final int charcoal = 0x7f040001;
public static final int click = 0x7f040002;
public static final int color_ramp_timer = 0x7f040003;
public static final int darkgreen = 0x7f040004;
public static final int efigs = 0x7f040005;
public static final int efigs_sdf = 0x7f040006;
public static final int gaze_cursor = 0x7f040007;
public static final int gaze_cursor_cross = 0x7f040008;
public static final int gaze_cursor_cross_hi = 0x7f040009;
public static final int gaze_cursor_dot = 0x7f04000a;
public static final int gaze_cursor_dot_hi = 0x7f04000b;
public static final int gaze_cursor_hand = 0x7f04000c;
public static final int gaze_cursor_hi = 0x7f04000d;
public static final int gaze_cursor_timer = 0x7f04000e;
public static final int grey = 0x7f04000f;
public static final int hud_console = 0x7f040010;
public static final int loading_indicator = 0x7f040011;
public static final int mustard = 0x7f040012;
public static final int nav_arrow_down = 0x7f040013;
public static final int orange = 0x7f040014;
public static final int out_of_disk_space_warning = 0x7f040015;
public static final int panel = 0x7f040016;
public static final int panel_hi = 0x7f040017;
public static final int panel_hi_square = 0x7f040018;
public static final int panel_square = 0x7f040019;
public static final int posteffect_quad = 0x7f04001a;
public static final int purple = 0x7f04001b;
public static final int scrollbar_base_horz = 0x7f04001c;
public static final int scrollbar_base_vert = 0x7f04001d;
public static final int scrollbar_thumb_horz = 0x7f04001e;
public static final int scrollbar_thumb_vert = 0x7f04001f;
public static final int seablue = 0x7f040020;
public static final int sound_assets = 0x7f040021;
public static final int sv_active_to_drag = 0x7f040022;
public static final int sv_deselect = 0x7f040023;
public static final int sv_focusgained = 0x7f040024;
public static final int sv_panel_touch_down = 0x7f040025;
public static final int sv_panel_touch_up = 0x7f040026;
public static final int sv_release = 0x7f040027;
public static final int sv_release_active = 0x7f040028;
public static final int sv_select = 0x7f040029;
public static final int sv_simple_swipe = 0x7f04002a;
public static final int sv_swipe = 0x7f04002b;
public static final int sv_touch_active = 0x7f04002c;
public static final int sv_touch_inactive = 0x7f04002d;
public static final int swipe_suggestion_arrow_down = 0x7f04002e;
public static final int swipe_suggestion_arrow_up = 0x7f04002f;
public static final int ui_panel_test_256x64 = 0x7f040030;
public static final int volume_bg = 0x7f040031;
public static final int volume_icon = 0x7f040032;
public static final int volume_tick_off = 0x7f040033;
public static final int volume_tick_on = 0x7f040034;
}
public static final class string {
public static final int action_settings = 0x7f050004;
public static final int app_name = 0x7f050003;
public static final int font_name = 0x7f050000;
public static final int hello_world = 0x7f050005;
public static final int out_of_memory = 0x7f050002;
public static final int swipe_to_browse = 0x7f050001;
}
public static final class style {
public static final int AppBaseTheme = 0x7f060000;
public static final int AppTheme = 0x7f060001;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package org.gearvrf.sample.sceneobjects;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
Loading

0 comments on commit 127f2ee

Please sign in to comment.