Commits

Leigh Honeywell  committed 4866e43

initial code push

  • Participants

Comments (0)

Files changed (9)

+.settings
+.project
+.classpath
+local.properties
+bin
+gen
+server/index.yaml

File AndroidManifest.xml

+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      android:versionCode="1"
+      android:versionName="1.0" package="ca.hypatia.scandroid">
+    <application android:icon="@drawable/icon" android:label="@string/app_name">
+        <activity android:name=".ScannerActivity"
+                  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>
+
+
+<uses-permission android:name="android.permission.CAMERA"></uses-permission>
+<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
+<uses-permission></uses-permission>
+</manifest> 

File default.properties

+# 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,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-4

File res/drawable-hdpi/icon.png

Added
New image

File res/drawable-ldpi/icon.png

Added
New image

File res/drawable-mdpi/icon.png

Added
New image

File res/layout/main.xml

+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:orientation="vertical"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    >
+<TextView  
+    android:layout_width="fill_parent" 
+    android:layout_height="wrap_content" 
+    android:text="@string/hello"
+    />
+</LinearLayout>

File res/values/strings.xml

+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="hello">Hello World, ScannerActivity!</string>
+    <string name="app_name">scandroid</string>
+</resources>

File src/ca/hypatia/ScannerActivity.java

+package ca.hypatia;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class ScannerActivity extends Activity {
+    /** Called when the activity is first created. */
+    @Override
+    public void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.main);
+    }
+}