Commit graph

322 commits

Author SHA1 Message Date
Jan Holesovsky
a25b256282 android: Package the lo-native-code.so and dependencies into the APK.
Additionally don't strip the debugging symbols when building a debug APK
for easier debugging in the Android Studio.

Change-Id: I522a91da511a2868a2a07d80b4a25fea0dbd2621
2019-02-15 16:53:35 +01:00
Jan Holesovsky
a98d08fbb3 android: Copy the liblo-native-code.so over from core.git.
Change-Id: I457a7fb8a80106c0474ee03229e712a557cf799b
2019-02-15 16:53:35 +01:00
Jan Holesovsky
835bb3db35 android: Perform the android-specific setup before initializing the LOK.
Change-Id: I935e6849dd41c5e66b768c7f2a79c139265c901f
2019-02-15 16:53:35 +01:00
Jan Holesovsky
95827f3c1c android: Actually attempt to load the file for real.
Hits an assert, no LOK is available.

Change-Id: I86b46ea2fcee41966f46ae7f54fe5a506aa7769a
2019-02-13 21:52:43 +01:00
Jan Holesovsky
7604f9b218 android: Pass the messages from JS to the MainActivity.
Change-Id: Id2d5bac0f67668305ed47276614fde590d461901
2019-02-13 21:18:57 +01:00
Jan Holesovsky
e3b17cdc3c android: Don't try to read discovery.xml, it's not needed on mobile.
With this, the actual loolwsd startup does not crash any more, so let's
enable it :-)  Of course it still does not work yet.

Change-Id: I5a1ee7adac64c57f1aa5b597c3dbdc0089a1ac11
2019-02-13 17:36:19 +01:00
Jan Holesovsky
7a0209c7aa android: Link against the debug POCO libraries if --enable-debug.
Change-Id: Ic7dc3076a12fe9a0faf4dec5c0f5b0b3a5a171c3
2019-02-13 17:28:01 +01:00
Jan Holesovsky
7f0f6e5a36 android: Restart if anything goes wrong.
But sleep for a bit of time between the runs to avoid a busy loop.

Change-Id: I90a7bee052d82e8a0488e6a34fb1b6f43e6f6e64
2019-02-13 16:37:54 +01:00
Jan Holesovsky
dc37e633ef android: JNI for the LOOLWSD initialization.
For the moment it crashes, so the actual call is commented out.

Change-Id: Ie4acb2a91f280dcc08951dcce417b8d4552cbfe7
2019-02-13 15:17:50 +01:00
Jan Holesovsky
e79f5f7ec6 android: Create the html, js and css and copy it to the right place.
Change-Id: I3efbba0ae369387796e2d08b3003e4f469610dda
2019-02-13 13:22:25 +01:00
Jan Holesovsky
7088b77471 android: Add a missing file.
Change-Id: Ia514a4fe706f8e3fba8f7bb782f58870ba8d6bae
2019-02-13 13:20:59 +01:00
Jan Holesovsky
6d8d40a267 android: Use configure for the rest of the hardcoded stuff in CMakeLists.txt.
Change-Id: I61ae98c87f439dffe6df4b9c61da7e7c5f968786
2019-02-13 12:09:36 +01:00
Jan Holesovsky
3af9580489 android: Generate the CMakeLists.txt from configure.
Change-Id: I9012e78adda55640c6fe74829fcb7f7a2fb25ce6
2019-02-13 11:32:49 +01:00
Gülşah Köse
8249dc78ae android: Call javascript code from java
Change-Id: I29f1d0f672d262218ca82d8c9e1c10696c5b26bf
2019-02-13 10:53:41 +01:00
Gülşah Köse
3a748a2142 android: Call java code from javascript
Change-Id: I5b2907d6a6941d8debaf3150789f272f72413536
2019-02-13 10:53:41 +01:00
Gülşah Köse
52f2e78b9d android: Embed a html file into webview
Change-Id: I73b3c7ad7a874cb90f33614d1d4bd0cb88b91117
2019-02-13 10:53:41 +01:00
Gülşah Köse
5f8819a749 android: Enable javascript
Change-Id: I841b0cfd50b2be6a946ba59571f4b15535354fcb
2019-02-13 10:53:41 +01:00
Gülşah Köse
02c679c9d6 android: Inital commit of the Java pieces.
Change-Id: I895d5aaaf7217b7fd556f7805c42d3ec1bdfc22d
2019-02-13 10:53:37 +01:00
Jan Holesovsky
b5c50021c7 android: POCO 1.9.1 is fine too - simplify the build instructions. 2019-02-12 13:24:52 +01:00
Jan Holesovsky
4771ad0c4a android: The order of static libraries is important.
Otherwise some symbols are optimized out, but needed by a later library.
2019-02-12 13:24:04 +01:00
Jan Holesovsky
4f03f09c53 android: Gradle project and other stuff to build. 2019-02-12 10:50:40 +01:00
Jan Holesovsky
e780a02171 android: Make it to ./configure.
Make of course immediately fails.
2019-02-12 10:50:40 +01:00