Bug Hunting Session
Bug 112190 - Allow user to install apk to SD card
Summary: Allow user to install apk to SD card
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Petr Vorel
URL:
Whiteboard: v14/15 target:6.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 13:46 UTC by Petr Vorel
Modified: 2017-09-04 12:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Vorel 2017-09-03 13:46:19 UTC
It would be nice to allow user installing apk to SD card (as the apk is quite big).
Comment 1 Xisco Faulí 2017-09-03 17:36:13 UTC
What's your suggestion then, to shrink the .apk file?
Comment 2 Petr Vorel 2017-09-03 17:37:42 UTC
(In reply to Xisco Faulí from comment #1)
> What's your suggestion then, to shrink the .apk file?

No, change AndroidManifest.xml. I've added path to gerrit: https://gerrit.libreoffice.org/#/c/41862/
Comment 3 Xisco Faulí 2017-09-03 18:33:57 UTC
Moving to ASSIGNED then...
Comment 4 Christian Lohmaier 2017-09-04 11:37:30 UTC
Had been fixed with 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=66518ead516e90d606e87c6ce58ec11fea6d172e

was part of the initial grade migration port, but actual use of variable was removed sometime along the path above fix fixed it for good.

Note that the apk still will need needs significant amount of internal storage for the native-lib(s). (needs to be extracted from the apk)

THx for the bug and fix though, just a few days too late :-)))

Keep the reports and fixes coming :-)
Comment 5 Commit Notification 2017-09-04 12:28:12 UTC
Christian Lohmaier committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1470aaec9efe698e8ce6b654663fb9683746812d

tdf#112190 installLocation should be specified in toplevel manifest

It will be available in 6.0.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.