build hacks, r3 release r3
authornotaz <notasas@gmail.com>
Fri, 8 Jun 2012 21:54:35 +0000 (00:54 +0300)
committernotaz <notasas@gmail.com>
Fri, 8 Jun 2012 22:15:15 +0000 (01:15 +0300)
README
apps/AndroidSupportV2/Android.mk [new file with mode: 0644]
apps/AndroidSupportV2/src/android/support/v2/app/FragmentActivity.java
apps/AndroidSupportV2/src/android/support/v2/view/MenuCompat.java
apps/oi-filemanager/FileManager/Android.mk [new file with mode: 0644]
apps/oi-filemanager/FileManager/jni/Android.mk
apps/oi-filemanager/FileManager/res/layout/dialog_details.xml
apps/oi-filemanager/FileManager/res/values/strings.xml
pandora.mk
patches/external_custom.patch [new file with mode: 0644]
pnd/gingerbread.pxml

diff --git a/README b/README
index a4ee577..abb7420 100644 (file)
--- a/README
+++ b/README
@@ -16,8 +16,9 @@ Building from source
    This will get all sources from rowboat project, except pandora support
    that will come from it's own git.
 
-3. Apply the pandora patch:
+3. Apply the pandora patches:
      patch -p1 < device/openpandora/pandora/patches/all.patch
+     patch -p1 < device/openpandora/pandora/patches/external_custom.patch
 
 4. Build Android and create .pnd file:
      make
diff --git a/apps/AndroidSupportV2/Android.mk b/apps/AndroidSupportV2/Android.mk
new file mode 100644 (file)
index 0000000..349e282
--- /dev/null
@@ -0,0 +1,17 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_MODULE := AndroidSupportV2
+LOCAL_SDK_VERSION := current
+
+
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# Use the following include to make our test apk.
+include $(call all-makefiles-under,$(LOCAL_PATH))
+
+
index 682af75..330edaa 100644 (file)
@@ -529,7 +529,7 @@ public class FragmentActivity extends Activity {
         if (android.support.v2.os.Build.VERSION.SDK_INT >= HONEYCOMB) {
             // If we are running on HC or greater, we can use the framework
             // API to invalidate the options menu.
-            ActivityCompatHoneycomb.invalidateOptionsMenu(this);
+            //ActivityCompatHoneycomb.invalidateOptionsMenu(this);
             return;
         }
 
index 565f4cf..5228fb6 100644 (file)
@@ -45,7 +45,7 @@ public class MenuCompat {
     static class HoneycombMenuVersionImpl implements MenuVersionImpl {
         @Override
         public boolean setShowAsAction(MenuItem item, int actionEnum) {
-            MenuCompatHoneycomb.setShowAsAction(item, actionEnum);
+            //MenuCompatHoneycomb.setShowAsAction(item, actionEnum);
             return true;
         }
     }
@@ -57,7 +57,7 @@ public class MenuCompat {
     static {
         //v4 if (android.os.Build.VERSION.SDK_INT >= 11) {
         if (android.support.v2.os.Build.VERSION.SDK_INT >= 11) {
-            IMPL = new HoneycombMenuVersionImpl();
+            IMPL = null;//new HoneycombMenuVersionImpl();
         } else {
             IMPL = new BaseMenuVersionImpl();
         }
diff --git a/apps/oi-filemanager/FileManager/Android.mk b/apps/oi-filemanager/FileManager/Android.mk
new file mode 100644 (file)
index 0000000..0cf4189
--- /dev/null
@@ -0,0 +1,20 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_STATIC_JAVA_LIBRARIES := AndroidSupportV2
+
+LOCAL_PACKAGE_NAME := oi-filemanager
+LOCAL_SDK_VERSION := current
+#LOCAL_CERTIFICATE := shared
+
+
+include $(BUILD_PACKAGE)
+
+# Use the following include to make our test apk.
+include $(call all-makefiles-under,$(LOCAL_PATH))
+
+
index b3acfbe..c4419e1 100644 (file)
@@ -5,4 +5,7 @@ include $(CLEAR_VARS)
 LOCAL_MODULE := access\r
 LOCAL_SRC_FILES := access.c\r
 \r
-include $(BUILD_SHARED_LIBRARY)
\ No newline at end of file
+LOCAL_MODULE_TAGS := optional\r
+LOCAL_PRELINK_MODULE := false\r
+\r
+include $(BUILD_SHARED_LIBRARY)\r
index ecb4520..c069a2f 100644 (file)
@@ -32,7 +32,7 @@
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
             android:layout_weight="1"\r
-            android:text="TextView" />\r
+            android:text="@string/text_view" />\r
 \r
     </TableRow>\r
 \r
@@ -57,7 +57,7 @@
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
             android:layout_weight="1"\r
-            android:text="TextView" />\r
+            android:text="@string/text_view" />\r
 \r
     </TableRow>\r
 \r
@@ -81,7 +81,7 @@
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
             android:layout_weight="1"\r
-            android:text="TextView" />\r
+            android:text="@string/text_view" />\r
 \r
     </TableRow>\r
 \r
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
             android:layout_weight="1"\r
-            android:text="TextView" />\r
+            android:text="@string/text_view" />\r
 \r
     </TableRow>\r
 \r
             android:layout_width="wrap_content"\r
             android:layout_height="wrap_content"\r
             android:layout_weight="1"\r
-            android:text="TextView" />\r
+            android:text="@string/text_view" />\r
 \r
     </TableRow>\r
 \r
-</TableLayout>
\ No newline at end of file
+</TableLayout>\r
index c06dab1..88232b7 100644 (file)
     <string name="warning_overwrite">File %s exists. Do you want to overwrite it?</string>
 
     <string name="change_file_extension">Do you want to change the file extension?</string>
+
+
+    <string name="text_view">TextView</string>
 </resources>
index fae44a1..500f1cd 100644 (file)
@@ -1,10 +1,13 @@
 PRODUCT_PACKAGES := \
-       ApiDemos      \
-        SoundRecorder \
-        GeneralRunner \
-        BluetoothSCOApp \
-        alsa.$(TARGET_PRODUCT) \
-        kill_android \
+       ApiDemos \
+       SoundRecorder \
+       GeneralRunner \
+       BluetoothSCOApp \
+       alsa.$(TARGET_PRODUCT) \
+       kill_android \
+       AndroidTerm \
+       libjackpal-androidterm3 \
+       oi-filemanager \
 
 $(call inherit-product, build/target/product/generic.mk)
 
diff --git a/patches/external_custom.patch b/patches/external_custom.patch
new file mode 100644 (file)
index 0000000..87df369
--- /dev/null
@@ -0,0 +1,15 @@
+
+project external_custom/android-terminal-emulator/
+diff --git a/external_custom/android-terminal-emulator/jni/Android.mk b/external_custom/android-terminal-emulator/jni/Android.mk
+index da25a8f..bfbd384 100644
+--- a/external_custom/android-terminal-emulator/jni/Android.mk
++++ b/external_custom/android-terminal-emulator/jni/Android.mk
+@@ -29,4 +29,8 @@ LOCAL_SRC_FILES:= \
+ LOCAL_LDLIBS := -ldl -llog
++LOCAL_SHARED_LIBRARIES := liblog
++LOCAL_PRELINK_MODULE := false
++LOCAL_MODULE_TAGS := optional
++
+ include $(BUILD_SHARED_LIBRARY)
index 77e70f3..a2f8353 100644 (file)
@@ -4,7 +4,7 @@
   <titles>
     <title lang="en_US">Android Gingerbread</title>
   </titles>
-  <version major="2" minor="3" release="4" build="0" type="beta"/>
+  <version major="2" minor="3" release="4" build="3" type="beta"/>
   <author name="Google" website="http://www.android.com/"/>
 </package>
 <application id="android_gingerbread" appdata="android_gingerbread">
@@ -23,7 +23,7 @@
 
   <author name="Google" website="http://www.android.com/"/>
 
-  <version major="2" minor="3" release="4" build="0" type="beta"/>
+  <version major="2" minor="3" release="4" build="3" type="beta"/>
 
   <licenses>
     <license name="Apache License 2.0" url="http://www.apache.org/licenses/LICENSE-2.0" sourcecodeurl="http://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=android_pandora.git"/>