Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8ec71357
Kaydet (Commit)
8ec71357
authored
Kas 20, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use proper command line parsing for the lo-main-cmdline extra string
üst
5d01d4e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
Bootstrap.java
sal/osl/android/src/org/libreoffice/android/Bootstrap.java
+3
-7
No files found.
sal/osl/android/src/org/libreoffice/android/Bootstrap.java
Dosyayı görüntüle @
8ec71357
...
...
@@ -34,6 +34,8 @@ import android.content.pm.PackageManager;
import
android.os.Bundle
;
import
android.util.Log
;
import
fi.iki.tml.CommandLine
;
// We override NativeActivity so that we can get at the intent of the
// activity and its extra parameters, that we use to tell us what
// actual LibreOffice "program" to run. I.e. something that on desktop
...
...
@@ -111,13 +113,7 @@ public class Bootstrap extends NativeActivity
Log
.
i
(
TAG
,
String
.
format
(
"cmdLine=%s"
,
cmdLine
));
String
[]
argv
=
cmdLine
.
split
(
" "
);
// As we don't do any shell style quote handling, to enable
// having spaces in argv elements, they need to be entered as
// '~' characters which we here change into spaces...
for
(
int
i
=
0
;
i
<
argv
.
length
;
i
++)
argv
[
i
]
=
argv
[
i
].
replace
(
'~'
,
' '
);
String
[]
argv
=
CommandLine
.
split
(
cmdLine
);
// Load the LO "program" here and look up lo_main
int
loLib
=
dlopen
(
mainLibrary
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment