Michael Meeks
318590b290
android: recover from un-thumb-nail-able documents without crashing
2012-08-14 10:29:35 +01:00
Andrzej J.R. Hunt
837a125ba6
Final fixes for pairing.
...
Change-Id: Ib66f227062f9c263dbc3dfefaf70525c73bdedc9
2012-08-13 21:41:52 +02:00
Andrzej J.R. Hunt
cf3de756ea
Pairing implemented client side.
...
Change-Id: I678e038470824affa2fe4d792e9a5defbd77807a
2012-08-13 21:41:43 +02:00
Andrzej J.R. Hunt
61f92ee500
CommunicationService completely threaded. Preparations for pairing.
...
Change-Id: If5a984230e776b380b8e536655cef061d2298e15
2012-08-13 21:41:34 +02:00
Tor Lillqvist
1060cd8459
Perform setup(Activity) just once
...
Change-Id: Icf77936c4307f816e85cb840d650a4c958a15995
2012-08-13 07:41:20 +03:00
Matúš Kukan
5f9774ed5f
merge these libraries only for android
...
Change-Id: Ibbb97782f3ec6aa774c4a32d8798a9729aee494f
2012-08-13 01:48:57 +02:00
Stephan Bergmann
6dcb3d4ef4
Related fdo#51252: No more prereg, no more unopkg sync
...
Now that 5c47e5f63a
"fdo#51252 Disable copying
share/prereg/bundled to avoid startup crashes" removed the use of share/prereg,
there is no longer need to generate it in the first place (by calling "unopkg
sync" at build or installation time), and so no need for the "unopkg sync" sub-
command, either. This also allows to simplify some of the jvmfwk code that was
only there so that "unopkg sync" (which can require a JVM) can work in "hostile"
environments (during build and installation).
Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-10 16:03:28 +02:00
Iain Billett
9031cd89e3
Some minor bug fixes and code clean-up.
...
Change-Id: I857407ac46ce51be5ee3eab26e9af75afc612a41
2012-08-10 01:27:11 +01:00
Iain Billett
5db8fb7c1f
Added a static loading page.
...
Change-Id: I20a9972c52e39a821e42851f5f075fb870ea0447
2012-08-10 01:27:10 +01:00
Iain Billett
2b5828e374
Complete internal rework of DocumentViewer.
...
Change-Id: If080c114d38fa39d50a22127def217ad59f262fd
2012-08-10 01:27:10 +01:00
Tor Lillqvist
b57899ae39
Mkdir before copying
...
Change-Id: I8e1a3c62bee096252acb04d7be100caaac25a87c
2012-08-09 21:42:40 +03:00
Tor Lillqvist
3adeac41a0
Reduce the legacy.osl logging verbosity here, too
...
BTW, do we really need/want this (outdated) fork of DocumentLoader?
Either LibreOffice4Android should use the "real" DocumentLoader class
(and that should then be modified as necessary, but making sure it
still works as a separate test app), or this fork should be called
something else and be radically different.
Change-Id: I8536336140ee0190d01d35dde1a4c78e7b22c6bd
2012-08-09 10:57:51 +03:00
Tor Lillqvist
cc37b54230
Silence the annoyingly verbose vcl OSL_TRACEs
...
Change-Id: Ibd7c6ac56e56cf0e3e706a905603ef1a17a4579c
2012-08-09 10:53:42 +03:00
Tor Lillqvist
e8533bb028
Fix edit mistake, the point is to not include the SDK build.xml here
...
Change-Id: I3cfd5819be8075869906dac3b963b4d0b2cf2890
2012-08-09 10:53:41 +03:00
Tor Lillqvist
dfa5adcbc2
Make sure the v4 support library used by abs-lib is found
...
Change-Id: I425a8f0bea9d455b1ffd7ed4374bcde133e9a38c
2012-08-08 12:40:27 +03:00
Tor Lillqvist
c78ad3efa8
Bin incorect phrase in comment
...
Change-Id: I49e75db020064e000d83c1689b548bfff95014df
2012-08-08 12:40:26 +03:00
Tor Lillqvist
f90a873c9c
Bin accidental duplicate library reference
...
Change-Id: I5bd94b85ced0c675f4de270205c696292ac71062
2012-08-08 12:40:25 +03:00
Tor Lillqvist
9dd8fac980
Also set up the local.properties of abs-lib
...
Change-Id: Icf71e912687d182b0e38efd00626f86df39b1311
2012-08-08 11:43:52 +03:00
Tor Lillqvist
cbca382f2f
Clarify that "stop" and "start" is only for simulator, I guess
...
Change-Id: I0bb98a9842003973ad50f227961ac00197f85bf2
2012-08-08 11:43:51 +03:00
Iain Billett
95ef04b536
Fixed problems after rebase.
...
Change-Id: I7fa1dedd33e3ef59a99112e4ddc73e9ac38e7752
2012-08-07 15:24:25 +01:00
Iain Billett
36e1debe4a
Quick fix for upside down thumbnails.
...
Change-Id: I089c78f050fbea068b394de9205322dc62e28764
2012-08-07 15:23:54 +01:00
Iain Billett
12fff840ab
Async loading of thumbnails.
...
Change-Id: I385f5fce8b332b2b9eaa5e6c4dc58516f4cfa9b8
2012-08-07 15:23:54 +01:00
Iain Billett
779baa0572
Changed folder icon to show thumbnails of docs within folder.
...
Change-Id: I8ec061a3daafef733b8786c34269165697c2b443
2012-08-07 15:23:54 +01:00
Iain Billett
cbddf975d3
Added methods to check if a file has a thumbnail.
...
Change-Id: I362ff20d8768be1dffbf857e442fbc30822079a7
2012-08-07 15:23:54 +01:00
Iain Billett
d5fdc95225
Added Actionbar-sherlock lib & added dark striped actionbar with Holo.light
2012-08-07 15:23:54 +01:00
Iain Billett
97576def7d
Some work on styling. Fix filter exception.
...
Change-Id: Ibf03680a29a0e7d5a484fedfa25863e88e063581
2012-08-07 15:23:53 +01:00
Michael Meeks
f1d1986a97
android: linguistic should cope with a missing extension manager
2012-08-06 10:33:47 +01:00
Michael Meeks
5f09718dba
android: fewer exceptions, and more debug output on null renderables
...
cleanup some library mentions
2012-08-06 10:33:47 +01:00
Michael Meeks
d10065ea3a
merge pointlessly fragmented chart2 libraries, leaving controller split.
2012-08-06 10:33:46 +01:00
Andrzej J.R. Hunt
b2fd823017
Some minor fixes.
...
Change-Id: Id405b97440efc7160e76d535bddfd5580923fe24
2012-08-06 10:23:12 +01:00
Andrzej J.R. Hunt
c56b0a2fe8
Added deletion of stale detected servers, UI fixed.
...
Change-Id: I I97a833b45e0c95a217004ae4a36e72a314d68d9f
2012-08-06 10:23:11 +01:00
Andrzej J.R. Hunt
ad72b47df4
Detect duplicates when finding servers.
...
Change-Id: Ie922e1f930df7987f77c153474aece2668250293
2012-08-06 10:23:10 +01:00
Andrzej J.R. Hunt
bbbfaf7b9e
Fixed styling of server finder.
...
Change-Id: I74186efe472f89463b597790d46be5523ce85b6f
2012-08-06 10:23:10 +01:00
Andrzej J.R. Hunt
b5d6989e8b
Implemented Server selector.
...
Change-Id: Ib6d0712c498e831a559df00d301ea2d4b851deed
2012-08-06 10:23:10 +01:00
Andrzej J.R. Hunt
98e52c4747
Hostname transfer implemented.
...
Change-Id: I92f2a3c00215491b6f24d52b922a4e4f2c461637
2012-08-06 10:23:10 +01:00
Andrzej J.R. Hunt
cb82805c52
Server discovery broadcast.
...
Change-Id: I10f0ac295ea14128908a87f4ef6a4c4524e76262
2012-08-06 10:23:09 +01:00
Andrzej J.R. Hunt
3213339132
Server list caching.
...
Change-Id: I8d4508ab54a0dc0240bb677e6a9dcfdf449c5094
2012-08-06 10:23:09 +01:00
Andrzej J.R. Hunt
5e365b0568
Server discovery functional.
...
Change-Id: I8642e0ea95a8d6691b76cc4d2dc1ddfbbf2b03e2
2012-08-06 10:23:09 +01:00
Andrzej J.R. Hunt
341f89ec30
Early non-functional multicast code.
...
Change-Id: Id982b40e5e9df4dee037a2e54ed34206930123c9
2012-08-06 10:23:08 +01:00
Andrzej J.R. Hunt
a0a31723eb
Attempt to use the XHTML export filter for note export (not functional yet).
...
Change-Id: Iaf88b879d679a9dabc31468c51fe9b943c2053e5
2012-08-06 10:23:07 +01:00
Andrzej J.R. Hunt
292bc25e49
Basic (unstyled) note export and display working.
...
Change-Id: Ic17267131d9a777955cd55415e5fe1e106d09e10
2012-08-06 10:23:07 +01:00
Andrzej J.R. Hunt
0c1f4762ca
Notes export now working.
...
Change-Id: I025c3e6421614c68ea76c9b8afd351abca8b6fad
2012-08-06 10:23:07 +01:00
Andrzej J.R. Hunt
31891189cb
Fixed some bugs affecting resuming of slideshow.
...
Change-Id: I I I8797eca1fc4f992374a09f74454a5f034b47a96a
2012-08-06 10:23:06 +01:00
Andrzej J.R. Hunt
36c96dadc9
Blank screen essentially working.
...
Change-Id: I I I645fab156d9803a2f076b7e5b45a5035a6854fab
2012-08-06 10:23:06 +01:00
Andrzej J.R. Hunt
f4bd348566
Blank screen view showing.
...
Change-Id: Ica6b740029bb1eb7d55dedec189c944af0027566
2012-08-06 10:23:06 +01:00
Andrzej J.R. Hunt
0ce7b3e9f1
Initial Blank screen layout.
...
Change-Id: I I I I7af89267be559a44cc3ed2c3ae999a252709b730
2012-08-06 10:23:05 +01:00
Andrzej J.R. Hunt
1a7054c054
Volume button switching now setting dependent.
...
Change-Id: I29b2f4652937995b2cecd10f6f2d7934f25b4b81
2012-08-06 10:23:05 +01:00
Andrzej J.R. Hunt
dd2b94db43
Enabled switching slides with volume buttons.
...
Change-Id: Iedfacd8c0834c9273a7e805658e82180f748f81b
2012-08-06 10:23:05 +01:00
Andrzej J.R. Hunt
863ae327df
Styled the options activity.
...
Change-Id: Ideef94c978ae3bad536c9eb4ce740f985441cea1
2012-08-06 10:23:05 +01:00
Andrzej J.R. Hunt
610fc391cb
Added options screen.
...
Change-Id: Ifb7abc67383a72969e37d8e46a14fdaa76e47112
2012-08-06 10:23:05 +01:00
Andrzej J.R. Hunt
8f08b8f456
Added automatic hiding of clockbar as necessary.
...
Change-Id: Id758f8e3f73e9d7d180e09b606ee44cbe5c48d6c
2012-08-06 10:23:04 +01:00
Andrzej J.R. Hunt
148281ad8a
Some cleanup on Presentation Fragment.
...
Change-Id: I I705b84c339303a77d4920cd601d4192ca9c23ea5
2012-08-06 10:23:04 +01:00
Andrzej J.R. Hunt
6e2106cdfa
Coverflow resize saved when fragment hidden.
...
Change-Id: I892d309b824ad607b073d44e9c864bc3f910c119
2012-08-06 10:23:04 +01:00
Andrzej J.R. Hunt
f30a4efd74
Countdown timer enabled.
...
Change-Id: Ibab6574385502022b045902abfc969fe6c7e6b87
2012-08-06 10:23:04 +01:00
Andrzej J.R. Hunt
3d944d0296
Basic timer code done.
...
Change-Id: Ida0233b30f29e667c0c147346debc8306503719f
2012-08-06 10:23:03 +01:00
Andrzej J.R. Hunt
0eb5d4014a
Added stopwatch and countdown bars.
...
Change-Id: I Id0bd62aa9e2f6e19a3723e70a9cc8d153457c859
2012-08-06 10:23:03 +01:00
Andrzej J.R. Hunt
847f98033c
Fixed clockbar toggling.
...
Change-Id: Ifd7a5f5a18a507db70b198943418e1e468ebcce0
2012-08-06 10:23:03 +01:00
Andrzej J.R. Hunt
43622ed144
Enabled hiding of clockbar.
...
Change-Id: I6b40629ec87c88c367b1958f3a7ab9b7938581e2
2012-08-06 10:23:03 +01:00
Andrzej J.R. Hunt
0f776a53f0
Added main clockbar icons.
...
Change-Id: I18bee8c5f0fd588e34ad50650754cea9d3cee89a
2012-08-06 10:23:02 +01:00
Andrzej J.R. Hunt
2e999e9604
Basic clock control bar done.
...
Change-Id: I Ifd2e56b97f5b53ce29101d9eee7953b7700fb749
2012-08-06 10:23:02 +01:00
Andrzej J.R. Hunt
499f589711
Prepared clock button.
...
Change-Id: I481885d7f9508dca887380d7f577bb35b04d6b07
2012-08-06 10:23:02 +01:00
Andrzej J.R. Hunt
91d4180ba6
Added proper toggling for thumbnail button.
...
Change-Id: I2dc83bd3503c17d27c6461cd925cc22af7f61af8
2012-08-06 10:23:02 +01:00
Andrzej J.R. Hunt
f656596761
Fully fixed coverflow resizing, added menu, fixed fragment changes.
...
Change-Id: Iaec671f81dada2dd9c667bde48b34ae2e89a321d
2012-08-06 10:23:02 +01:00
Andrzej J.R. Hunt
7c0ddee3f8
First piece of ActionBar implemented.
...
Change-Id: I3b0a920da177ef4f11347fa50ddc3a44597b6824
2012-08-06 10:23:01 +01:00
Andrzej J.R. Hunt
71a2d202a0
Added basic actionbar code, improved cover flow scaling.
...
Change-Id: I68dcbf2449ed61f06503442a3621cccb97f1e697
2012-08-06 10:23:01 +01:00
Andrzej J.R. Hunt
7fa0c0ba07
Added cover-flow resizing.
...
Change-Id: Iabe6fb8814a99a0d68376499c8a410684b075c1a
2012-08-06 10:23:01 +01:00
Andrzej J.R. Hunt
17081d1aff
Enabled slide switching from cover flow, + fixes.
...
Change-Id: I4cb520a3c014ff54a36dbab6cdb35b70a8996e8e
2012-08-06 10:23:01 +01:00
Andrzej J.R. Hunt
fa189184fd
Added cover flow.
...
Change-Id: I7ffc47269a2e0b1fea4ec4dbcf6c03cdc37d4721
2012-08-06 10:23:00 +01:00
Andrzej J.R. Hunt
612a206498
Improved resizing handle, added visual feedback, limits.
...
Change-Id: I6f1f9168dd53f660b676bf5050848ce509e11ae1
2012-08-06 10:23:00 +01:00
Andrzej J.R. Hunt
22608b7316
Added resizeable view.
...
Change-Id: Ifddbd1df740494ce5680e4a62a6dae81f395b49a
2012-08-06 10:23:00 +01:00
Andrzej J.R. Hunt
c67a772da6
Fixed thumbnail control. Changed thumbnail activity to fragment.
...
Change-Id: I4e8a9d37f3b418728404b7fab4f7b6e3c3b5e5b9
2012-08-06 10:23:00 +01:00
Andrzej J.R. Hunt
3e0b7a7141
Added styling and Timer code.
...
Change-Id: I I044efc4e317fa56f9e3670c7b68d287dcc74ed53
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
6794e94bfd
Implemented Thumbnail activity.
...
Change-Id: I I6de8651f3ed36798ca1cc69765c448b821a819a2
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
0aa7aa85a4
Fixed a further bug in the Listener cycle. Refactored image storage.
...
Change-Id: I2b3f9e2c46dafde4bd488bc95675c04e8806c9a4
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
597924e78a
Moved preview image preparation/transfer into separate class. Enabled.
...
Change-Id: I09b0c2d1521939af058526d1727d0c4d34ad0452
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
6368d371b0
Fixed constructor issue in Listener, fixed usage of Transmitter.
...
Change-Id: I875cb1fba51faadafd8f7f0e34ef6b56a818bb7a
2012-08-06 10:22:57 +01:00
Andrzej J. R. Hunt
e697fd2de4
Added additional commands and parsing.
...
Change-Id: Iae099aeb07d25435115514e1bf0c4efb31613d50
2012-08-06 10:22:56 +01:00
Andrzej J. R. Hunt
05e4f2ac05
Transmitter for queuing of messages (Client->Server), fixed protocol.
...
Change-Id: I Idcf6cf33b75dde2f921bec6c64e394e91994aba0
2012-08-06 10:22:56 +01:00
Andrzej J. R. Hunt
01234d6aa8
Pure text for Client->Server. Json removed. Namespace cleanup.
...
Change-Id: I60e5acac2d47aefec5dd195a5eca599eb1cb8586
2012-08-06 10:22:55 +01:00
Andrzej J. R. Hunt
dbe8d48227
Changed from JSON to plaintext for Server->Client. Namespace usage cleanup.
...
Change-Id: I7e1b229b475e476c71ec3a110696942299b25733
2012-08-06 10:22:55 +01:00
Andrzej J. R. Hunt
9d7d8eb7a8
Image export, encoding and decoding. Protocol improvements.
...
Change-Id: Ibbc7ac02c5946a49c1cd777abc2853fe7e158009
2012-08-06 10:22:54 +01:00
Andrzej J. R. Hunt
a4e7636536
Preview image and slide number receiving code added to Android client.
...
Change-Id: I40617d0523eaf7b9431694a0a4cd6d31ad92765e
2012-08-06 10:22:54 +01:00
Andrzej J. R. Hunt
096e35f1dc
Initial commit of android remote.
...
Change-Id: Ia8cfce4af87d121acacf9a29632435c4c786822f
2012-08-06 10:21:48 +01:00
Michael Meeks
e61e51ab96
android: share more common Makefile pieces between a couple of users
...
Try to start consolidating the complexity here.
generate Application.mk to specify the required ABI
fold common distro-config pieces out of README
2012-08-03 16:41:42 +01:00
Michael Meeks
42c1644f8b
android: get rule sharing right; it seems we have to nest imports
2012-08-03 11:58:19 +01:00
Michael Meeks
ab852cc0b6
android: share the clobbering of ant rules to not compress resources
...
Change-Id: Id2aa869f05b09dc22676d63390ec10bf575571ef
2012-08-03 10:50:21 +01:00
Tor Lillqvist
b18e6c7d2c
Reduce confusion, this isn't "DocumentLoader"
...
Change-Id: I69683f93894ea696c3aab4033aea0ab9624f6cff
2012-08-03 12:09:33 +03:00
Tor Lillqvist
922c9d0edd
Add the largeHeap and hardwareAccelerated attributes
...
Change-Id: Ie9f8e97314778f093dc7b4b3c133882fd06e894a
2012-08-03 12:09:33 +03:00
Tor Lillqvist
1e1b858482
Update for current SDK
...
Change-Id: I247075d5c8cef86a29a4c7fef03241396b2d76b7
2012-08-03 12:09:32 +03:00
Tor Lillqvist
f6dc6f1435
Start the LibreOfficeUIActivity with "make run"
...
Change-Id: I82aff7f40d8360c0306593b02200db205e52bbcc
2012-08-03 12:09:31 +03:00
Tor Lillqvist
f1e95bd6d9
Adapt r8b bits from ../DocumentLoader/Makefile
...
Change-Id: Idd60d2dd5cb32012de6027c2c161e2dbc3b2f404
2012-08-03 08:52:38 +03:00
Tor Lillqvist
2d757306e2
Adapt architecture-specific bits from ../LibreOffice4Android/Makefile
...
Change-Id: I06ecb06df4df61fccc53477b5789a171e62248ec
2012-08-03 08:52:38 +03:00
Tor Lillqvist
963f417fa8
More NDK r8b adaptation
...
Change-Id: Ic65795a1b7bfe0435292f87f27ae39e2c3069fed
2012-07-31 09:55:08 +03:00
Michael Meeks
d3c4d9a0f8
android: x86 porting work.
2012-07-20 16:40:21 +01:00
Michael Meeks
a42f5034af
couple more file extension
2012-07-12 10:40:25 +01:00
Iain Billett
df82184b2a
Added DocumentViewer class to hide page navigation/caching details.
...
Change-Id: Ic201bea9c22bc567d6769201df260aa2a38c6c16
2012-07-11 19:58:05 +01:00
Iain Billett
b8c2ade611
Use page thumbnails for icons.
...
Change-Id: I5df6341e5d1d8d775d2676d4ef5a52a528c6615c
2012-07-04 18:38:24 +01:00
Iain Billett
731332e6cc
Moved headers in xml files. Save page 1 thumbnail in onDestroy.
...
Change-Id: I7586c6475a8e717f3db24a31dca2b1e31068edc2
2012-07-04 18:38:24 +01:00
Iain Billett
7e7eafb19f
Added licence headers on java & xml files.
...
Change-Id: I2b9a62e3426e7842baeac24cf122fc83b4f238da
2012-07-04 18:38:24 +01:00
Iain Billett
478ba74ac4
removed progress bar - layout issues - will come back to it.
...
Change-Id: Ie949a416d2898750e8d76bd119ecb462d920d6ff
2012-07-04 18:38:24 +01:00
Iain Billett
e11cd35387
Added progress bar.
2012-07-04 18:38:23 +01:00
Iain Billett
75e43a66dc
Some optimisations of the open method to re use page views where possible. work in progress
2012-07-04 18:38:23 +01:00
Tor Lillqvist
daa5157a63
This is Java, not C++
...
Change-Id: I287fcb74ca4351867c27035c6d82def93c044056
2012-07-01 09:43:43 +03:00
Tor Lillqvist
f7e4239ce4
Update for SDK tools rev 20
...
Change-Id: I482d0a488e9de5b59ce74b9c4057b4103fb048dc
2012-06-30 10:16:05 +03:00
Tor Lillqvist
8841e75d5a
Hacking on on-demand multiple-level-of-detail quad-tree ideas
...
Change-Id: Ie5efb45d401721e844e3137474c1a7473a1ac144
2012-06-30 10:16:01 +03:00
Michael Meeks
98ec4db47a
android: add more extensions, fix build issue
2012-06-29 16:04:01 +01:00
Michael Meeks
5f091e66d7
android: cleanup the file extension guessing and expand it for prettiness
2012-06-29 15:54:09 +01:00
Iain Billett
06b935baa5
First draft of "navigator", a strip of "live" thumbnails which are clickable.
...
Open method to open random page, not first.
Put some UI set up in documentLoadTask as the UI requires the number of pages in the document which is only know on load.
2012-06-28 19:45:32 +01:00
Iain Billett
797df2912a
Some styling of document viewer. Transparent overlayed action bar with hide/show on tap. Navigation overlay with page thumbnails.
2012-06-28 19:45:31 +01:00
Markus Mohrhard
fa0fd16526
update cppunit to 1.13.0
...
Change-Id: If3896361c31a84b77e4c446dac75aeb9268605a0
2012-06-27 19:09:50 +02:00
Tor Lillqvist
c793a57f54
Use "largeHeap" and "hardwareAccelerated" (quite visible improvement)
...
Change-Id: I853ab39599fdc8d1b1eae5d2b2748f39535ebf64
2012-06-27 17:29:13 +03:00
Tor Lillqvist
0179c96282
Adapt page switch animation duration to fling velocity
...
Change-Id: I30e177b45b0e25d92fd7dea02ffe4e9c0731dce5
2012-06-27 12:58:50 +03:00
Tor Lillqvist
5bfb819581
Use GestureImageView again but still do handle page changes
...
Make the GestureImageView constructors take a OnGestureListener, and
store that, Move the FlingListener class into
GestureImageViewTouchListener so that FlingListener has access to the
fields of GestureImageViewTouchListener. If the image is fully zoomed
out and can't be dragged, pass flings on up, to DocumentLoader's
gestureListener.
Change-Id: I574280de23bdab2772a361833f561dff3e182bcd
2012-06-27 12:58:37 +03:00
Tor Lillqvist
6263315825
Whitespace cleanup
...
Change-Id: I52590908e6ba59c19aded2771d779c1cfa3a45ea
2012-06-27 12:56:31 +03:00
Michael Meeks
9b95765526
android: make launcher function as expected - starts writer.
...
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks
for not having cmdline arguments in the intent when launching.
2012-06-26 20:22:05 +01:00
Michael Meeks
d091217028
android: remove duplicate services.rdb from config, and static bits
2012-06-26 20:22:05 +01:00
Iain Billett
478465f216
Fixed some erroneous package references.
2012-06-25 14:26:18 +01:00
Tor Lillqvist
cd43461697
Add some "thinking aloud" style comments
...
Change-Id: Ib4a57649ec98bcbce851687633f35e52771f137a
2012-06-25 09:12:11 +03:00
Iain Billett
a84eb85c35
Fixed file opening.
2012-06-22 21:28:50 +01:00
Iain Billett
c19c312c87
LibreOffice4Android can now open actual .odt documents from the file explorer.
2012-06-22 18:25:53 +01:00
Iain Billett
3e0c6d83d5
LibreOffice4Android now builds.
2012-06-22 18:16:06 +01:00
Iain Billett
d3949d453d
An new project to combine DocumentLoader with the Android UI. (Not building - see manifest)
2012-06-22 17:33:51 +01:00
Iain Billett
520fbf75e3
Added a preferences activity to set default behaviour.
2012-06-22 13:15:53 +01:00
Tor Lillqvist
785221e74c
Use actual view size instead of 1024x1024
...
Change-Id: I66ae59fe88411f3f0d2423fd6f1412f7ac0e1a36
2012-06-20 15:14:57 +03:00
Tor Lillqvist
08a1763147
Parametrize the page cache size
...
Change-Id: Ia3d5538feaf1fc0aad4a0f1d901ae7bd22eae61d
2012-06-20 15:14:43 +03:00
Tor Lillqvist
f3748935be
Further tweaks to the async code
...
Change-Id: Ib1e76687054a254a9918a4391a1cb512c59c6515
2012-06-20 12:40:51 +03:00
Tor Lillqvist
7bcadeadfe
Asynchronous document loading and page rendering
...
Change-Id: I085024b6bfccf6846167a5de316912a395f4e301
2012-06-19 19:29:41 +03:00
Iain Billett
5e380fbdcd
Added file sorting - alphabetical, by size, by last modified.
2012-06-19 17:02:56 +01:00
Iain Billett
b059deda1d
Re-organised the Android UI code to make better use of Android lifecycle events. A little code streamlining, also.
2012-06-19 17:02:55 +01:00
Tor Lillqvist
daaa550121
Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
...
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.
Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18 22:38:41 +03:00
Iain Billett
907ad314fb
Some UI tweeks - trying to get long filenames to display nicely.
2012-06-15 23:18:39 +01:00
Iain Billett
889ff81df6
Fixed folder navigation in list view.
2012-06-15 21:59:50 +01:00
Iain Billett
d848fac2d7
Fixed view type persistence problem.
2012-06-15 21:59:50 +01:00
Iain Billett
2b8b434325
Fix view toggle menu item label.
2012-06-15 21:59:50 +01:00
Iain Billett
4310384030
Added a list view to the Android UI.
2012-06-15 16:12:05 +01:00
Tor Lillqvist
28cdc43f2d
Make sure homeDirectory exists
...
Change-Id: I3a89bcac3bf46405e8e474f7765d74c643b7ab43
2012-06-15 13:53:07 +03:00
Tor Lillqvist
00320c71c1
Bin two unneeded (and not found!?) imports
...
Change-Id: I4b2f716f4a40fe4be91e204d8c78dc8c5e6a439e
2012-06-15 13:52:59 +03:00
Tor Lillqvist
61c6c7f8f7
Experiment with ViewFlipper
...
Change-Id: I0b1523b5c898375b5cf23294b0a9462a6a651e32
2012-06-14 22:03:48 +03:00
Iain Billett
06a5ea8385
More work on the file explorer. Added file type filtering. Maintains state if user switches to viewer and back.
2012-06-14 17:33:16 +01:00
Iain Billett
246ba71f56
some eclipse projects with pure Android UI stuff. LO code not yet integrated.
2012-06-14 12:49:16 +01:00
Tor Lillqvist
3ea3c6afa2
Use XToolkit2::createScreenCompatibleDeviceUsingBuffer
...
Render directly to a direct ByteBuffer allocated on the Java side.
Change-Id: I2d66e4146df77e92260918a78ef22cd9b8c95384
2012-06-12 13:50:50 +03:00
Tor Lillqvist
e243a5b462
Verify that we do get the RGBX format DIB we expect
...
Change-Id: I9f44547fbc5e13daa297720dfd814d2192114125
2012-06-07 21:54:20 +03:00
Tor Lillqvist
8ae077379e
Use 32bpp bitmaps on Android (and iOS)
...
Modify DocumentLoader correspondingly. Take Android bug 32588 into
account.
Ideal would be to extend the XDevice stuff, or something, so that one
could hand it a pre-allocated RGBA buffer into which the
drawing/rendering would go. Then one could get rid of the silly
convert-to-BMP phase, which prefixes the bitmap data with BMP and DIB
headers (and thus, I guess, has to copy and allocate another
copy). Will see.
Change-Id: I4597cd933db8faa8105dc8f19638d712d5d2238a
2012-06-05 17:17:41 +03:00
Tor Lillqvist
5dc2b43e46
Use Jason Polites's GestureImageView, and some cleanup
...
Change-Id: I916c36b3b55681cdf8f0d1ffd0236e54f3b67b86
2012-05-31 22:32:40 +03:00
Tor Lillqvist
8c803ef232
Display the rendered document
...
Change-Id: Ie0735d4eb903b38a44bef8110bf520cfde54cb09
2012-05-31 16:20:54 +03:00
Tor Lillqvist
9776138e97
Add a BGR to RGBA twiddling JNI function
...
Change-Id: Iafa2c1805eea2f521479dc97d5668d82b1c91bef
2012-05-31 16:20:53 +03:00
Tor Lillqvist
82f6505456
Progress finally
...
Now I get (a page of) the document rendered into a
bitmap. Unfortunately css.awt.XBitmap::getDIB() provides an in-core
24-bit (BGR) BMP file. (Yes, despite the name, it's not just the DIB,
but is prefixed with a BMP file header.) Android's Image class wants
RGBA. Hmm.
Change-Id: Ie0effef20751e1959644861af358d81538b6d6ea
2012-05-31 00:00:51 +03:00
Tor Lillqvist
d69bcc9979
Getting closer, maybe
...
Change-Id: Ifcfdd33631c257d2cf6f54fe0d00444200f48335
2012-05-31 00:00:51 +03:00
Tor Lillqvist
0453a1244a
Better comment for how to use lo-strace
...
Change-Id: I29afe81866229bd29fcd997624264fb337c74d95
2012-05-30 00:02:20 +03:00
Tor Lillqvist
9faf21d484
No cmdline file is created so don't use lo-main-indirect-cmdline then
...
Change-Id: Ifac7e34b34fcf32fb2a0f117e8b8ad5ab1003fc9
2012-05-30 00:02:19 +03:00
Tor Lillqvist
e28ad1b5d8
More experimentation
...
Change-Id: I8ad45f173c4f2b37aca6506d9021e8346c17db16
2012-05-30 00:02:18 +03:00
Tor Lillqvist
c9f5b8a334
Add temporary test JNI method createWindowFoo()...
...
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
2012-05-30 00:02:18 +03:00
Tor Lillqvist
7309b1c1dc
Add an "extra" called lo-extra-libs for a list of libs to load early
...
Change-Id: I41900eca9a46acbd2f1dfac98fcfc73a62acc150
2012-05-30 00:02:16 +03:00
Michael Meeks
a59f76154a
android: add possibility to add application specific fonts to fontconfig
2012-05-28 14:51:20 +01:00
Michael Meeks
7748fc7747
android: package much more: calc, chart, embedded objects, writer
2012-05-28 14:51:18 +01:00
Michael Meeks
1a9be1b62e
android: disable document recovery, it doesn't demo so well.
2012-05-28 14:50:50 +01:00
Michael Meeks
e363e668c7
android: make launcher function as expected - starts writer.
...
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks
for not having cmdline arguments in the intent when launching.
2012-05-28 14:50:50 +01:00
Tor Lillqvist
05f786fd2e
More clueless test hacking
...
Change-Id: I2623625380b11f3d6bf720387504b23ccce529e1
2012-05-24 17:41:52 +03:00
Tor Lillqvist
4ff08c21ce
Don't bother with so many test docs
...
Change-Id: I725255224ae7a38d7a7843516b7ac979f79e0207
2012-05-24 17:41:51 +03:00
Michael Meeks
1bb9a60a96
android: un-break env. var parsing (sorry)
2012-05-23 15:58:49 +01:00
Michael Meeks
b36ff96d1d
android: make launcher function as expected - starts writer.
...
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks
for not having cmdline arguments in the intent when launching.
2012-05-23 15:55:55 +01:00
Tor Lillqvist
1b4d0bdf88
adb pushing the cmdline file fails to a real device
...
But it isn't needed here anyway, the "command line" is so short, so
just use lo-main-cmdline instead.
Change-Id: Icca1b57228584cee5962a33cd0d18873b13b2884
2012-05-22 20:35:48 +03:00
Michael Meeks
3d9dfcca78
android: remove duplicate services.rdb from config, and static bits
2012-05-22 10:39:59 +01:00
Michael Meeks
ace21dca6a
android: remove bits that are now statically linked
2012-05-22 10:39:58 +01:00
Tor Lillqvist
1543df4703
Don't mention the same rdb files in both UNO_SERVICES and URE_MORE_SERVICES
...
Change-Id: Ieb6aea7d3683411ffcefc6c5e1e7facdef8ed105
2012-05-22 11:58:01 +03:00
Tor Lillqvist
b93300d91e
A bit more introspective debugging output...
...
Change-Id: Ibfafe0d6420ad59e12b9eed4847c89e57a18d679
2012-05-22 11:58:00 +03:00
Tor Lillqvist
b58498fb57
Now with in-process redirection, the adb shell setprop thing is not needed
...
Change-Id: Ibfda0e6e65d0834cffdd95d4c6d87d07644088f6
2012-05-17 16:32:32 +03:00
Tor Lillqvist
40fab3bd05
Don't create the local.properties files in the source tree from configure
...
Change-Id: Ic87be0146360c5e32f1f12f255c897e051c9a50c
2012-05-16 18:59:28 +03:00
Tor Lillqvist
62f030133d
Move the sleep (for attaching debugger) earlier
...
Change-Id: I3183ed3da25bd0fbd2121f235f209edb51a21d2e
2012-05-16 18:37:39 +03:00
Tor Lillqvist
cf4f6a71ff
Don't mention the same rdb file in both UNO_SERVICES and URE_MORE_SERVICES
...
Change-Id: I81b3a451b5fd4eaf83ee525aa38df32686e38cfe
2012-05-16 18:37:38 +03:00
Tor Lillqvist
d31e409ec1
Update library list
...
Change-Id: I9c652fc6940bd856aa8ba5f7e2daaae6a5502b3d
2012-05-16 10:12:26 +03:00
Tor Lillqvist
182c1e4f99
Call lo-bootstrap's redirect_stdio
...
Change-Id: I45732ac81d00837ce517ed5c527c8c767e690abf
2012-05-16 10:12:25 +03:00
Tor Lillqvist
8be33aa1df
Drop libs that now are static, add a few missing ones
2012-04-20 00:57:24 +03:00
Tor Lillqvist
409f117e1c
Enable loading of several documents, and do that then
2012-04-20 00:57:23 +03:00
Luboš Luňák
cf557a25da
.gitignore
2012-04-19 14:50:20 +02:00
Tor Lillqvist
4b663231f6
Move DocumentLoader to the "experimental" subdirectory
2012-04-18 10:01:59 +03:00
Jonathan Aquilina
67fd00163f
Initial start of an Android UI (experimental)
...
Started creating the menu list for the start center
Beginning of code for Start Center menu list
finished creating menu, issue getting it to display when program run
refractored package name to org.libreoffice.experimental
added the java files with renamed package
added new experimental dir and updated packages with appropriate name
2012-04-18 09:55:56 +03:00
Tor Lillqvist
34592de613
More libraries
2012-04-10 12:53:40 +03:00
Tor Lillqvist
8451dec867
dlopen() also the sw and swd libs ahead of time so that they can be debugged
2012-04-05 20:46:24 +03:00
Tor Lillqvist
cafcd85774
Set TMPDIR also in non-NativeActivity apps
2012-04-05 20:46:22 +03:00
Tor Lillqvist
45d1ebeca5
Open the document read-only
2012-04-05 13:45:11 +03:00
Tor Lillqvist
cdc92518c5
Do unpack fonts and include them in the experimental Android app
2012-04-04 22:29:30 +03:00
Tor Lillqvist
00e093ea6c
Use proper Android font names, use longer rescan interval
2012-04-04 22:29:22 +03:00
Tor Lillqvist
9d200b61aa
Hmm, no, why would we want the desktop GUI images in this app?
2012-04-04 22:29:04 +03:00
Tor Lillqvist
94166f3c95
Need libswlo.so
2012-04-03 14:43:44 +03:00
Tor Lillqvist
f82b40c253
Add *en-US.res and images_*.zip
2012-04-03 14:43:43 +03:00
Tor Lillqvist
f834d986d5
Add fonts.conf
2012-04-02 21:58:23 +03:00
Tor Lillqvist
6b6ca3d116
Automate setting of FONTCONFIG_FILE
2012-04-02 12:39:53 +03:00
Tor Lillqvist
366cba7d6f
Add fonts.conf to this app, too
2012-04-02 12:39:53 +03:00
Tor Lillqvist
a9a50cd9ff
Refactor where patch_libgnustl_shared() and extract_files() are called
2012-04-02 12:39:52 +03:00
Tor Lillqvist
2906a654d0
More libs
2012-04-02 12:39:52 +03:00
Tor Lillqvist
7ae10a8a42
Must call patch_libgnustl_shared()
2012-03-30 19:52:32 +03:00
Tor Lillqvist
61d1533961
Include unoil.jar
2012-03-28 16:58:00 +03:00
Tor Lillqvist
de290c0ffc
Leave out reference to the the user registrymodifications.xcu for now
2012-03-28 16:57:59 +03:00
Tor Lillqvist
6db50818c1
Add JNI wrapper for InitUCBHelper() and call it
2012-03-28 16:57:59 +03:00
Tor Lillqvist
d770275587
More hacking
2012-03-26 17:53:22 +03:00
Tor Lillqvist
3e425dfa4b
More Android hacking
2012-03-22 22:49:49 +02:00
Tor Lillqvist
5814229948
Add JNI wrappers for InitVCL and osl_setCommandArgs
2012-03-22 22:49:48 +02:00
Tor Lillqvist
a3035495eb
Make the DocumentLoader experimental app build again
2012-03-22 22:49:47 +02:00
Tor Lillqvist
2cbb41b3ab
Edit a comment a bit
2012-03-22 22:49:47 +02:00