Commits

Fred Grott committed 45d2026

first commmit

  • Participants

Comments (0)

Files changed (13)

+<?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"/>
+</classpath>
+bin/
+gen/
+local.properties
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>Amblr</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>

File AndroidManifest.xml

+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+      package="org.bitbucket.fredgrott.amblr"
+      android:versionCode="1"
+      android:versionName="1.0">
+    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15"/>
+
+    <application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
+        <activity android:name="MainActivity"
+                  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>

File android.gitignore

+bin/
+gen/
+local.properties

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

File readme.markdown

+Amblr
+=====
+
+A Tumblr Android Proof of Concept Application.
+WARNING: Its alpha, I am not responsible for it breaking
+your android device.
+
+Testing
+=======
+
+Unit and Instrumented testing is using the robotium/android-mock combination with
+a mix of roboguice.
+
+Functional Testing via  Chimpchat(monkeyrunner replacement). And we use cucumber-jvm.
+
+The idea here is not to get to far away from using java to test as when you introduce 
+another langue yu get more opportunties for things to break as you than have to keep
+up two computer langus and their environments, etc.
+
+Project Structure
+=================
+
+project/
+      bin/
+      gen/
+      src/
+      assets/
+      res/
+      ressrc/  res digital files inputed to res, they get stored here as a way to
+               have a copy incase extra mdofications needed and because we can 
+               do an albumshaper catalogue
+      
+
+Project Dependencies
+====================
+
+Android sdk jars ofcoures, the compatibility library, and these projects:
+
+AmblrTest Instrumented testing
+AmblrCucumberTest Cucumber testing
+AmblrJavaMonkey   Chimpchat Java Moneky testing
+

File res/drawable-hdpi/ic_launcher.png

Added
New image

File res/drawable-ldpi/ic_launcher.png

Added
New image

File res/drawable-mdpi/ic_launcher.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" standalone="no"?>
+<resources>
+    <string name="hello">Hello World</string>
+    <string name="app_name">User Application</string>
+</resources>

File src/org/bitbucket/fredgrott/amblr/MainActivity.java

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