Kaydet (Commit) eaf189ab authored tarafından Michael Meeks's avatar Michael Meeks

android: more cleanup / misc. fixes.

üst 44db6912
# lo-main-library - parameter denoting which shlib to load and execute
# 'lo_main' from
include ../../../config_host.mk
# The default target just builds.
......@@ -151,8 +148,5 @@ build-ant: android_version_setup copy-stuff link-so properties setup-jars
unset JAVA_HOME && $(ANT) debug
run:
echo "-env:INIFILENAME=file:///assets/program/sofficerc" > cmdline
# echo "file:///assets/demo/writer.odt" > cmdline
$(ANDROID_SDK_HOME)/platform-tools/adb push cmdline $(APP_DATA_PATH)/cmdline
$(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n org.libreoffice.android.exampless/LODesktop -e lo-main-delay 20 -e lo-main-indirect-cmdline "$(APP_DATA_PATH)/cmdline"
# add -e lo-strace yes # if you want that
$(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n org.libreoffice.android.examples/.LODesktop -e input /asset/test1.odt
# -e lo-main-delay 20 -e lo-strace yes
\ No newline at end of file
......@@ -257,6 +257,8 @@ public class LODesktop
{
super.onCreate(savedInstanceState);
Log.i(TAG, "onCreate - added here\n");
try {
String input = getIntent().getStringExtra("input");
if (input == null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment