Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Initial commit for lab inventory program
authorelserj <elserj@localhost>
Tue, 17 Sep 2013 19:47:43 +0000 (19:47 +0000)
committerelserj <elserj@localhost>
Tue, 17 Sep 2013 19:47:43 +0000 (19:47 +0000)
svn path=/; revision=498

37 files changed:
Personnel/justin/lab inventory/.classpath [new file with mode: 0644]
Personnel/justin/lab inventory/.gitignore [deleted file]
Personnel/justin/lab inventory/.project [new file with mode: 0644]
Personnel/justin/lab inventory/AndroidManifest.xml [new file with mode: 0644]
Personnel/justin/lab inventory/assets/.gitignore [new file with mode: 0644]
Personnel/justin/lab inventory/bin/AndroidManifest.xml [new file with mode: 0644]
Personnel/justin/lab inventory/bin/classes.dex [new file with mode: 0644]
Personnel/justin/lab inventory/bin/classes/.gitignore [new file with mode: 0644]
Personnel/justin/lab inventory/bin/jarlist.cache [new file with mode: 0644]
Personnel/justin/lab inventory/bin/lab inventory.apk [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/bin/resources.ap_ [new file with mode: 0644]
Personnel/justin/lab inventory/gen/.gitignore [new file with mode: 0644]
Personnel/justin/lab inventory/ic_launcher-web.png [new file with mode: 0644]
Personnel/justin/lab inventory/libs/android-support-v4.jar [new file with mode: 0644]
Personnel/justin/lab inventory/proguard-project.txt [new file with mode: 0644]
Personnel/justin/lab inventory/project.properties [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-hdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-hdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-ldpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-mdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-mdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-xhdpi/ic_action_search.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/drawable-xhdpi/ic_launcher.png [new file with mode: 0644]
Personnel/justin/lab inventory/res/layout/activity_main.xml [new file with mode: 0644]
Personnel/justin/lab inventory/res/menu/activity_main.xml [new file with mode: 0644]
Personnel/justin/lab inventory/res/values-v11/styles.xml [new file with mode: 0644]
Personnel/justin/lab inventory/res/values-v14/styles.xml [new file with mode: 0644]
Personnel/justin/lab inventory/res/values/strings.xml [new file with mode: 0644]
Personnel/justin/lab inventory/res/values/styles.xml [new file with mode: 0644]
Personnel/justin/lab inventory/src/com/jaiswallab/lab/inventory/MainActivity.java [new file with mode: 0644]

diff --git a/Personnel/justin/lab inventory/.classpath b/Personnel/justin/lab inventory/.classpath
new file mode 100644 (file)
index 0000000..a4763d1
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="src" path="gen"/>
+       <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+       <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+       <classpathentry kind="output" path="bin/classes"/>
+</classpath>
diff --git a/Personnel/justin/lab inventory/.gitignore b/Personnel/justin/lab inventory/.gitignore
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/Personnel/justin/lab inventory/.project b/Personnel/justin/lab inventory/.project
new file mode 100644 (file)
index 0000000..1474044
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>lab inventory</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>
diff --git a/Personnel/justin/lab inventory/AndroidManifest.xml b/Personnel/justin/lab inventory/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..ba8b695
--- /dev/null
@@ -0,0 +1,25 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.jaiswallab.lab.inventory"
+    android:versionCode="1"
+    android:versionName="1.0" >
+
+    <uses-sdk
+        android:minSdkVersion="8"
+        android:targetSdkVersion="15" />
+
+    <application
+        android:icon="@drawable/ic_launcher"
+        android:label="@string/app_name"
+        android:theme="@style/AppTheme" >
+        <activity
+            android:name=".MainActivity"
+            android:label="@string/title_activity_main" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+    </application>
+
+</manifest>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/assets/.gitignore b/Personnel/justin/lab inventory/assets/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Personnel/justin/lab inventory/bin/AndroidManifest.xml b/Personnel/justin/lab inventory/bin/AndroidManifest.xml
new file mode 100644 (file)
index 0000000..ba8b695
--- /dev/null
@@ -0,0 +1,25 @@
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+    package="com.jaiswallab.lab.inventory"
+    android:versionCode="1"
+    android:versionName="1.0" >
+
+    <uses-sdk
+        android:minSdkVersion="8"
+        android:targetSdkVersion="15" />
+
+    <application
+        android:icon="@drawable/ic_launcher"
+        android:label="@string/app_name"
+        android:theme="@style/AppTheme" >
+        <activity
+            android:name=".MainActivity"
+            android:label="@string/title_activity_main" >
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
+    </application>
+
+</manifest>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/bin/classes.dex b/Personnel/justin/lab inventory/bin/classes.dex
new file mode 100644 (file)
index 0000000..4ff645c
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/classes.dex differ
diff --git a/Personnel/justin/lab inventory/bin/classes/.gitignore b/Personnel/justin/lab inventory/bin/classes/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Personnel/justin/lab inventory/bin/jarlist.cache b/Personnel/justin/lab inventory/bin/jarlist.cache
new file mode 100644 (file)
index 0000000..1b5ec3f
--- /dev/null
@@ -0,0 +1,3 @@
+# cache for current jar dependecy. DO NOT EDIT.
+# format is <lastModified> <length> <SHA-1> <path>
+# Encoding is UTF-8
diff --git a/Personnel/justin/lab inventory/bin/lab inventory.apk b/Personnel/justin/lab inventory/bin/lab inventory.apk
new file mode 100644 (file)
index 0000000..1684cb3
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/lab inventory.apk differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_action_search.png b/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..ffec9be
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_launcher.png b/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..498a287
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-hdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-ldpi/ic_launcher.png b/Personnel/justin/lab inventory/bin/res/drawable-ldpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..7d9eba3
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-ldpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_action_search.png b/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..ce9399c
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_launcher.png b/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..9eb7580
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-mdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_action_search.png b/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..b2d7b2d
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_launcher.png b/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..cd07610
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/bin/resources.ap_ b/Personnel/justin/lab inventory/bin/resources.ap_
new file mode 100644 (file)
index 0000000..21c32bb
Binary files /dev/null and b/Personnel/justin/lab inventory/bin/resources.ap_ differ
diff --git a/Personnel/justin/lab inventory/gen/.gitignore b/Personnel/justin/lab inventory/gen/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/Personnel/justin/lab inventory/ic_launcher-web.png b/Personnel/justin/lab inventory/ic_launcher-web.png
new file mode 100644 (file)
index 0000000..8c20f0e
Binary files /dev/null and b/Personnel/justin/lab inventory/ic_launcher-web.png differ
diff --git a/Personnel/justin/lab inventory/libs/android-support-v4.jar b/Personnel/justin/lab inventory/libs/android-support-v4.jar
new file mode 100644 (file)
index 0000000..feaf44f
Binary files /dev/null and b/Personnel/justin/lab inventory/libs/android-support-v4.jar differ
diff --git a/Personnel/justin/lab inventory/proguard-project.txt b/Personnel/justin/lab inventory/proguard-project.txt
new file mode 100644 (file)
index 0000000..f2fe155
--- /dev/null
@@ -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 *;
+#}
diff --git a/Personnel/justin/lab inventory/project.properties b/Personnel/justin/lab inventory/project.properties
new file mode 100644 (file)
index 0000000..9b84a6b
--- /dev/null
@@ -0,0 +1,14 @@
+# 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-16
diff --git a/Personnel/justin/lab inventory/res/drawable-hdpi/ic_action_search.png b/Personnel/justin/lab inventory/res/drawable-hdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..67de12d
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-hdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-hdpi/ic_launcher.png b/Personnel/justin/lab inventory/res/drawable-hdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..4e9c3d9
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-hdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-ldpi/ic_launcher.png b/Personnel/justin/lab inventory/res/drawable-ldpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..e01f783
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-ldpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-mdpi/ic_action_search.png b/Personnel/justin/lab inventory/res/drawable-mdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..134d549
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-mdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-mdpi/ic_launcher.png b/Personnel/justin/lab inventory/res/drawable-mdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..0abbc80
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-mdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_action_search.png b/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_action_search.png
new file mode 100644 (file)
index 0000000..d699c6b
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_action_search.png differ
diff --git a/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_launcher.png b/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_launcher.png
new file mode 100644 (file)
index 0000000..4cb8ab0
Binary files /dev/null and b/Personnel/justin/lab inventory/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/Personnel/justin/lab inventory/res/layout/activity_main.xml b/Personnel/justin/lab inventory/res/layout/activity_main.xml
new file mode 100644 (file)
index 0000000..f3c7910
--- /dev/null
@@ -0,0 +1,39 @@
+<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" >
+
+    <Button
+        android:id="@+id/button2"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_centerHorizontal="true"
+        android:layout_centerVertical="true"
+        android:text="@string/inventory_button"
+        android:onClick="inventoryClick" />
+
+    <Button
+        android:id="@+id/button1"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentTop="true"
+        android:layout_centerHorizontal="true"
+        android:layout_marginTop="64dp"
+        android:text="@string/qr_button"
+        android:onClick="qrClick" />
+
+    <EditText
+        android:id="@+id/editText1"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentBottom="true"
+        android:layout_alignParentLeft="true"
+        android:layout_marginBottom="26dp"
+        android:layout_marginLeft="24dp"
+        android:ems="10"
+        android:text="@string/hello_world" >
+
+        <requestFocus />
+    </EditText>
+
+</RelativeLayout>
diff --git a/Personnel/justin/lab inventory/res/menu/activity_main.xml b/Personnel/justin/lab inventory/res/menu/activity_main.xml
new file mode 100644 (file)
index 0000000..cfc10fd
--- /dev/null
@@ -0,0 +1,6 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+    <item android:id="@+id/menu_settings"
+        android:title="@string/menu_settings"
+        android:orderInCategory="100"
+        android:showAsAction="never" />
+</menu>
diff --git a/Personnel/justin/lab inventory/res/values-v11/styles.xml b/Personnel/justin/lab inventory/res/values-v11/styles.xml
new file mode 100644 (file)
index 0000000..d408cbc
--- /dev/null
@@ -0,0 +1,5 @@
+<resources>
+
+    <style name="AppTheme" parent="android:Theme.Holo.Light" />
+
+</resources>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/res/values-v14/styles.xml b/Personnel/justin/lab inventory/res/values-v14/styles.xml
new file mode 100644 (file)
index 0000000..1c089a7
--- /dev/null
@@ -0,0 +1,5 @@
+<resources>
+
+    <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
+
+</resources>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/res/values/strings.xml b/Personnel/justin/lab inventory/res/values/strings.xml
new file mode 100644 (file)
index 0000000..69ffbf2
--- /dev/null
@@ -0,0 +1,10 @@
+<resources>
+
+    <string name="app_name">lab inventory</string>
+    <string name="hello_world">Hello world!</string>
+    <string name="menu_settings">Settings</string>
+    <string name="title_activity_main">Lab Inventory</string>
+    <string name="qr_button">Start QR code scanner</string>
+    <string name="inventory_button">Check inventory</string>
+
+</resources>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/res/values/styles.xml b/Personnel/justin/lab inventory/res/values/styles.xml
new file mode 100644 (file)
index 0000000..4dba0d0
--- /dev/null
@@ -0,0 +1,5 @@
+<resources>
+
+    <style name="AppTheme" parent="android:Theme.Light" />
+
+</resources>
\ No newline at end of file
diff --git a/Personnel/justin/lab inventory/src/com/jaiswallab/lab/inventory/MainActivity.java b/Personnel/justin/lab inventory/src/com/jaiswallab/lab/inventory/MainActivity.java
new file mode 100644 (file)
index 0000000..396f6b4
--- /dev/null
@@ -0,0 +1,34 @@
+package com.jaiswallab.lab.inventory;
+
+import android.os.Bundle;
+import android.app.Activity;
+import android.view.Menu;
+import android.view.View;
+import android.widget.EditText;
+
+public class MainActivity extends Activity {
+       private EditText text;
+
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_main);
+        text = (EditText) findViewById(R.id.editText1);
+    }
+
+    @Override
+    public boolean onCreateOptionsMenu(Menu menu) {
+        getMenuInflater().inflate(R.menu.activity_main, menu);
+        return true;
+    }
+    
+    // This method is called at click of the QR code button
+    public void qrClick(View view) {
+       text.setText("QR button clicked again");
+    }
+    
+    // This method is called at click of the check inventory button
+    public void inventoryClick(View view) {
+       text.setText("Inventory button clicked");
+    }
+}