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
--- /dev/null
+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))
+
+
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;
}
static class HoneycombMenuVersionImpl implements MenuVersionImpl {
@Override
public boolean setShowAsAction(MenuItem item, int actionEnum) {
- MenuCompatHoneycomb.setShowAsAction(item, actionEnum);
+ //MenuCompatHoneycomb.setShowAsAction(item, actionEnum);
return true;
}
}
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();
}
--- /dev/null
+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))
+
+
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
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
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
<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>
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)
--- /dev/null
+
+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)
<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">
<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"/>