summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk46
-rw-r--r--AndroidManifest.xml19
-rw-r--r--res/drawable-hdpi/readme (renamed from res/README)0
-rw-r--r--res/drawable-mdpi/readme (renamed from res/drawable-hdpi/README)0
-rw-r--r--res/drawable-sw600dp-hdpi/readme (renamed from res/drawable-mdpi/README)0
-rw-r--r--res/drawable-sw600dp-mdpi/readme (renamed from res/drawable-sw600dp-hdpi/README)0
-rw-r--r--res/drawable-sw600dp-xhdpi/readme (renamed from res/drawable-sw600dp-mdpi/README)0
-rw-r--r--res/drawable-sw600dp/readme (renamed from res/drawable-sw600dp-xhdpi/README)0
-rw-r--r--res/drawable-xhdpi/readme (renamed from res/drawable-sw600dp/README)0
-rw-r--r--res/drawable/README1
-rw-r--r--res/drawable/icon.pngbin0 -> 2574 bytes
-rw-r--r--res/drawable/readme (renamed from res/drawable-xhdpi/README)0
-rw-r--r--res/layout-sw600dp/README1
-rw-r--r--res/layout-sw600dp/readme.xml7
-rw-r--r--res/layout/README1
-rw-r--r--res/layout/readme.xml7
-rw-r--r--res/values/strings.xml12
-rw-r--r--src/browse/README1
-rw-r--r--src/com/google/android/unifiedemail/UnifiedEmail.java28
-rw-r--r--src/com/google/android/unifiedemail/browse/README1
-rw-r--r--src/com/google/android/unifiedemail/compose/README1
-rw-r--r--src/com/google/android/unifiedemail/preferences/README1
-rw-r--r--src/com/google/android/unifiedemail/providers/protos/exchange/README1
-rw-r--r--src/com/google/android/unifiedemail/providers/protos/imap/README1
-rw-r--r--src/com/google/android/unifiedemail/providers/protos/longshadow/README1
-rw-r--r--src/com/google/android/unifiedemail/providers/protos/pop/README1
-rw-r--r--src/com/google/android/unifiedemail/utils/README1
-rw-r--r--src/com/google/android/unifiedemail/widget/README1
-rw-r--r--src/compose/README1
-rw-r--r--src/preferences/README1
-rw-r--r--src/utils/README1
-rw-r--r--src/widget/README1
-rw-r--r--tests/README1
33 files changed, 128 insertions, 9 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 000000000..aebe60484
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,46 @@
+LOCAL_PATH:= $(call my-dir)
+
+# Include res dir from chips
+chips_dir := ../../../frameworks/ex/chips/res
+mail_common_dir := ../../../frameworks/opt/mailcommon/res
+res_dirs := $(chips_dir) $(mail_common_dir) res
+
+
+# Remove symlinks created by a previous Gmail ADT build
+$(shell rm -f $(LOCAL_PATH)/chips)
+$(shell rm -f $(LOCAL_PATH)/mailcommon)
+
+##################################################
+# Build APK
+include $(CLEAR_VARS)
+
+LOCAL_PACKAGE_NAME := UnifiedEmail
+
+LOCAL_STATIC_JAVA_LIBRARIES := mail-common
+LOCAL_STATIC_JAVA_LIBRARIES := android-common-chips
+
+LOCAL_SDK_VERSION := current
+
+LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \
+ $(call all-logtags-files-under, $(src_dirs))
+LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) $(LOCAL_PATH)/res
+LOCAL_AAPT_FLAGS := --auto-add-overlay
+
+include $(BUILD_PACKAGE)
+
+
+##################################################
+# Build Static Lib
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := unified-email
+
+LOCAL_STATIC_JAVA_LIBRARIES := mail-common
+LOCAL_STATIC_JAVA_LIBRARIES := android-common-chips
+
+LOCAL_SDK_VERSION := current
+
+LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) \
+ $(call all-logtags-files-under, $(src_dirs))
+
+include $(BUILD_STATIC_JAVA_LIBRARY) \ No newline at end of file
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 000000000..d3eb8148b
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.google.android.unifiedemail"
+ android:versionCode="1"
+ android:versionName="1.0">
+
+ <application android:icon="@drawable/icon"
+ android:label="@string/app_name">
+ <activity android:name=".UnifiedEmail"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.Holo.Light" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+ </application>
+</manifest>
diff --git a/res/README b/res/drawable-hdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/README
+++ b/res/drawable-hdpi/readme
diff --git a/res/drawable-hdpi/README b/res/drawable-mdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-hdpi/README
+++ b/res/drawable-mdpi/readme
diff --git a/res/drawable-mdpi/README b/res/drawable-sw600dp-hdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-mdpi/README
+++ b/res/drawable-sw600dp-hdpi/readme
diff --git a/res/drawable-sw600dp-hdpi/README b/res/drawable-sw600dp-mdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-sw600dp-hdpi/README
+++ b/res/drawable-sw600dp-mdpi/readme
diff --git a/res/drawable-sw600dp-mdpi/README b/res/drawable-sw600dp-xhdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-sw600dp-mdpi/README
+++ b/res/drawable-sw600dp-xhdpi/readme
diff --git a/res/drawable-sw600dp-xhdpi/README b/res/drawable-sw600dp/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-sw600dp-xhdpi/README
+++ b/res/drawable-sw600dp/readme
diff --git a/res/drawable-sw600dp/README b/res/drawable-xhdpi/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-sw600dp/README
+++ b/res/drawable-xhdpi/readme
diff --git a/res/drawable/README b/res/drawable/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/res/drawable/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/res/drawable/icon.png b/res/drawable/icon.png
new file mode 100644
index 000000000..a07c69fa5
--- /dev/null
+++ b/res/drawable/icon.png
Binary files differ
diff --git a/res/drawable-xhdpi/README b/res/drawable/readme
index 140f7b4b4..140f7b4b4 100644
--- a/res/drawable-xhdpi/README
+++ b/res/drawable/readme
diff --git a/res/layout-sw600dp/README b/res/layout-sw600dp/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/res/layout-sw600dp/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/res/layout-sw600dp/readme.xml b/res/layout-sw600dp/readme.xml
new file mode 100644
index 000000000..47b967c9e
--- /dev/null
+++ b/res/layout-sw600dp/readme.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ UnifiedEmail directory creation
+-->
+<View xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/> \ No newline at end of file
diff --git a/res/layout/README b/res/layout/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/res/layout/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/res/layout/readme.xml b/res/layout/readme.xml
new file mode 100644
index 000000000..47b967c9e
--- /dev/null
+++ b/res/layout/readme.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ UnifiedEmail directory creation
+-->
+<View xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/> \ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 000000000..bd40d1f16
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_name">Unified Email</string>
+ <!-- Shown in Compose; the recipient(s) of the message [CHAR LIMIT=10] -->
+ <string name="to">To</string>
+ <!-- Shown in Compose; the cc recipient(s) of the message [CHAR LIMIT=10] -->
+ <string name="cc">Cc</string>
+ <!-- Shown in Compose; the bcc recipient(s) of the message [CHAR LIMIT=10] -->
+ <string name="bcc">Bcc</string>
+ <!-- Shown in Compose; the subject of the message [CHAR LIMIT=10] -->
+ <string name="subject_hint">Subject</string>
+</resources> \ No newline at end of file
diff --git a/src/browse/README b/src/browse/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/src/browse/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/src/com/google/android/unifiedemail/UnifiedEmail.java b/src/com/google/android/unifiedemail/UnifiedEmail.java
new file mode 100644
index 000000000..7999af1f8
--- /dev/null
+++ b/src/com/google/android/unifiedemail/UnifiedEmail.java
@@ -0,0 +1,28 @@
+/**
+ * Copyright (c) 2011, Google Inc.
+ *
+ * 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.
+ */
+
+package com.google.android.unifiedemail;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class UnifiedEmail extends Activity {
+
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ }
+} \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/browse/README b/src/com/google/android/unifiedemail/browse/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/browse/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/compose/README b/src/com/google/android/unifiedemail/compose/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/compose/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/preferences/README b/src/com/google/android/unifiedemail/preferences/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/preferences/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/providers/protos/exchange/README b/src/com/google/android/unifiedemail/providers/protos/exchange/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/providers/protos/exchange/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/providers/protos/imap/README b/src/com/google/android/unifiedemail/providers/protos/imap/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/providers/protos/imap/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/providers/protos/longshadow/README b/src/com/google/android/unifiedemail/providers/protos/longshadow/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/providers/protos/longshadow/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/providers/protos/pop/README b/src/com/google/android/unifiedemail/providers/protos/pop/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/providers/protos/pop/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/utils/README b/src/com/google/android/unifiedemail/utils/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/utils/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/com/google/android/unifiedemail/widget/README b/src/com/google/android/unifiedemail/widget/README
new file mode 100644
index 000000000..a3fcb7533
--- /dev/null
+++ b/src/com/google/android/unifiedemail/widget/README
@@ -0,0 +1 @@
+Unified email directories \ No newline at end of file
diff --git a/src/compose/README b/src/compose/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/src/compose/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/src/preferences/README b/src/preferences/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/src/preferences/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/src/utils/README b/src/utils/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/src/utils/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/src/widget/README b/src/widget/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/src/widget/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation
diff --git a/tests/README b/tests/README
deleted file mode 100644
index 140f7b4b4..000000000
--- a/tests/README
+++ /dev/null
@@ -1 +0,0 @@
-UnifiedEmail directory creation