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
cba65fe0
Kaydet (Commit)
cba65fe0
authored
Tem 01, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: Attempt to load the test file we have in the .apk.
Change-Id: Ib438e8d7de90c202a3be6ad01bd8b7a8341527c1
üst
b046b687
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
LibreOfficeMainActivity.java
...id3/src/java/org/libreoffice/LibreOfficeMainActivity.java
+3
-3
No files found.
android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
Dosyayı görüntüle @
cba65fe0
...
@@ -82,11 +82,11 @@ public class LibreOfficeMainActivity extends Activity {
...
@@ -82,11 +82,11 @@ public class LibreOfficeMainActivity extends Activity {
LibreOfficeKit
.
putenv
(
"SAL_LOG=+WARN+INFO-INFO.legacy.osl"
);
LibreOfficeKit
.
putenv
(
"SAL_LOG=+WARN+INFO-INFO.legacy.osl"
);
LibreOfficeKit
.
init
(
this
);
LibreOfficeKit
.
init
(
this
);
Log
.
w
(
LOGTAG
,
"LOK Handle:"
+
handle
);
Office
office
=
new
Office
(
LibreOfficeKit
.
getLibreOfficeKitHandle
());
Office
office
=
new
Office
(
LibreOfficeKit
.
getLibreOfficeKitHandle
());
File
file
=
Environment
.
getExternalStoragePublicDirectory
(
Environment
.
DIRECTORY_DOWNLOADS
);
//File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS);
String
input
=
file
.
getPath
()
+
"/test.odt"
;
//String input = file.getPath() + "/test.odt";
String
input
=
"/assets/test1.odt"
;
Document
document
=
office
.
documentLoad
(
input
);
Document
document
=
office
.
documentLoad
(
input
);
if
(
document
==
null
)
{
if
(
document
==
null
)
{
Log
.
w
(
LOGTAG
,
"LOK Document error:"
+
office
.
getErrorNative
());
Log
.
w
(
LOGTAG
,
"LOK Document error:"
+
office
.
getErrorNative
());
...
...
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