Commit graph

13 commits

Author SHA1 Message Date
Volker Krause ef3db458df Restore the Android APK build 2024-05-02 15:17:39 +00:00
Volker Krause ffc1d2d36f Export main activity as required by Android 12
Should fix the binary factory build.
2023-01-20 15:07:02 +00:00
Gabriel Souza Franco 06b86531dc Update AndroidManifest according to Qt template
This is needed for Qt > 5.14 due to string resource changes
2020-12-22 09:11:54 -03:00
Nicolas Fella 0110d2f584 [android] Use filedialog from Qt
(cherry picked from commit 187c474024)
2019-11-03 07:44:38 +13:00
Aleix Pol 18cd829fa5 android: Fix minSdk 2019-02-15 16:39:17 +01:00
Volker Krause d15e8e8640 Fix up arc failure, this was the latest version D18397 2019-02-04 19:11:37 +01:00
Volker Krause a9540cf3ce Fix launching Okular by opening a document from the file browser
Summary:
There's two issues here:
- Activity::onCreate triggered before the C++ side was loaded, so the
  call to C++ failed (causing a crash). So delay that until we are ready.
- The static instance of URIHandler in the header caused it to duplicate
  into each translation unit, causing main.cpp to not see what android.cpp
  wrote into it.

Subscribers: okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D18399
2019-02-04 18:32:04 +01:00
Volker Krause dfe6f26c6a Fix crash on canceling the file open dialog
Subscribers: okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D18397
2019-02-04 18:30:15 +01:00
Aleix Pol 8bf756c041 Name the manifest the same as the appdata 2018-06-04 19:23:51 +02:00
Aleix Pol 885e1f2269 Android: Make it possible to open documents from Android
Include ad-hoc code to open files on Android.
2018-05-18 01:44:18 +02:00
Aleix Pol 5931c0de8d Don't pretend to translate "Okular" as an application name
Fixes build when signing the package.
2018-05-15 01:33:08 +02:00
Aleix Pol cf4bb5e3b1 Android: Make it possible to associate with files
Summary:
Put the file into a file descriptor and open this file descriptor.
Just application/pdf for now.

Test Plan: opened some documents on my phone

Reviewers: #okular, aacid, mart

Reviewed By: mart

Subscribers: okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12770
2018-05-11 19:27:13 +02:00
Aleix Pol 77049d3b80 Android: include metadata for okular kirigami
Summary:
Include an AndroidManifest.xml file so when it's installed it has a
proper icon and name.
Include appdata information so it can be listed

Reviewers: #okular, mart, aacid

Reviewed By: #okular, mart, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12299
2018-04-19 01:05:54 +02:00