Matthieu Gautier
e510b4bef2
Force ZIM_FILE_SIZE literal to be a long.
...
By default, literal numbers are `int`. If the size of a zim doesn't fit in
a `int`, java will complains.
By appending a `L` at the end of the literal number, java will interpret
it as a `long` and will accept it.
2017-07-17 18:32:17 +01:00
mhutti1
06a41daae4
Removed captures directory #167
2017-07-16 21:00:37 +01:00
kelson42
9594dd4c48
Kiwix should be written with K in uppercase
2017-07-12 06:44:58 +02:00
mhutti1
fe6aceb667
Remove whitespace from table of contents #189
2017-07-10 22:33:41 +01:00
mhutti1
63dda78e61
Flush prints to stop travis timeout
2017-07-03 21:55:21 +01:00
mhutti1
7ecf4203bf
Fixed string lint error
2017-07-03 21:27:59 +01:00
mhutti1
46989c0dd5
Readded JNI file
2017-07-01 22:45:54 +01:00
Lukas Renggli
22232e378c
Remove unused code
2017-07-01 22:45:54 +01:00
mhutti1
11d4e8cfdb
Readded JNI imports
2017-07-01 22:45:21 +01:00
Lukas Renggli
96fe0650aa
Remove methods that are identical to their super implementation (manual ProGuard)
2017-07-01 22:16:22 +01:00
Lukas Renggli
c31cbf9cbb
Remove more unused code
2017-07-01 22:13:45 +01:00
Kelson
fae365ecfb
Support _novid ZIM files
2017-06-30 16:48:17 +02:00
Isaac Hutt
d4e70df886
Merge pull request #186 from bjacotg/master
...
Add the option to auto-switch between day/night mode.
2017-06-30 16:46:38 +02:00
Isaac Hutt
6104a555fd
Update AndroidManifest.xml
2017-06-30 15:45:49 +01:00
Isaac Hutt
392d2df300
Update AndroidManifest.xml
2017-06-30 15:45:28 +01:00
Bastien Jacot-Guillarmod
0e0ecbd9ee
Merge branch 'master' into master
2017-06-30 16:32:44 +02:00
Laco Papay
c8f1009c6e
Add localized language and matching item count to language picker.
...
Shows the name of the language in that language for each choice in the
picker. Also shows number of matching items for that language.
A bit of refactoring, cleaning up the language population logic. Fixes
bug where after the initial language population & persisting no new
languages would be populated (if new item with that lang got downloaded).
2017-06-30 16:31:18 +02:00
bjacotg
17c26e74c0
Enable refresh of the nightmode on reload
2017-06-30 16:28:46 +02:00
mhutti1
6f66a4e13c
Fixed embeded ZIM build
2017-06-30 16:09:19 +02:00
Kelson
f061ed8ce3
Remove deprecated scripts (replaced by kiwix-build)
2017-06-30 15:45:02 +02:00
bjacotg
efd7b64da6
Merge branch 'master' of https://github.com/bjacotg/kiwix-android
2017-06-30 14:53:23 +02:00
bjacotg
7a3e4cdcd4
Auto-switch night and day mode
2017-06-30 14:46:55 +02:00
Lukas Renggli
511e0db535
Remove unused imports
2017-06-30 14:44:04 +02:00
Laco Papay
36f433027c
Make whole row in language picker clickable.
2017-06-30 14:33:34 +02:00
Kelson
c701d5db34
Update UI translations #24
2017-06-30 14:33:34 +02:00
Kelson
b47ecf413f
Update UI translations #24
2017-06-30 12:57:49 +02:00
mhutti1
e254817f08
Added running test message
2017-06-30 12:40:48 +02:00
mhutti1
418d636734
Tests don't run on insecure build
2017-06-30 12:40:48 +02:00
Rashiq
1bd00248f6
Remove unused file
2017-06-30 12:08:37 +02:00
Laco Papay
b653de3867
Remove duplicate code, use localized string.
2017-06-30 11:41:49 +02:00
Laco Papay
9ba195dbf5
Fix language selector crash.
...
When going from no filters to any filter the app would crash, because the
filteredBooks list would be set to the immutable allBooks and couldn't be
cleared anymore. Instead do a deep copy of the elements.
Also some minor fixes (typos, style).
2017-06-30 11:41:49 +02:00
Lukas Renggli
fb4cde0955
Remove JUnit from release compile
2017-06-30 11:12:09 +02:00
Rashiq
c2ee5cb5ce
Update gradle wrapper
2017-06-30 08:34:15 +02:00
Rashiq
c901a30989
Fix build for mac
2017-06-30 08:25:43 +02:00
mhutti1
af5d6778da
Incremented gradle version
2017-06-29 23:44:15 +02:00
Matthieu Gautier
f8dc84950d
Merge pull request #146 from kiwix/custom_app
...
Custom app
2017-05-24 15:21:56 +02:00
Matthieu Gautier
500ec5f8bf
Do not look for zim_file if not necessary.
...
For non embedded zim file, we use the zim file only to get its size.
If we want to build an apk, we do not need the zim file itself, we only
need its size.
2017-05-24 15:06:20 +02:00
Matthieu Gautier
a0e08c9cee
Move the versionCode and versionName into the gradle file.
...
Google itself says it is better to specify the versions in the gradle file:
https://developer.android.com/studio/publish/versioning.html
And it allow us the specify a specific versionCode by environment variable
instead of by modifying files.
2017-05-24 15:06:20 +02:00
Matthieu Gautier
a0b4ed21a5
Merge pull request #148 from kiwix/update_icudata2
...
Look for the right icu data filename
2017-05-24 15:06:00 +02:00
Matthieu Gautier
57744b3c1f
Look for the right icu data filename
2017-05-24 11:37:23 +02:00
Kelson
e21e7368c4
Merge pull request #147 from kiwix/update_icudata
...
Update icudata.
2017-05-24 09:16:30 +02:00
Matthieu Gautier
6fa885fb64
Update icudata.
...
The `icudt.dat` will be overwritten by `kiwix-build` (if used).
However, kiwix-android must be compilable without `kiwix-build` so let's
store the new version.
2017-05-23 17:17:52 +02:00
borisfba
dcdb6037e6
Merge pull request #145 from kiwix/fba/time_est
...
Estimation of download remaining time
2017-05-22 18:30:52 +02:00
Isaac Hutt
9248d073aa
Merge branch 'master' into fba/time_est
2017-05-21 15:46:58 +02:00
fba
068da5680b
Show estimation in notification
2017-05-21 12:42:59 +02:00
fba
6073396bde
Estimation of download remaining time
2017-05-20 23:52:45 +02:00
mhutti1
ef2ceed7e1
Allow users to specify a custom path to search/save toi #40
2017-05-20 21:29:32 +01:00
Isaac Hutt
354b34e7c0
Merge pull request #140 from kiwix/135
...
WiFi only preference added
2017-05-20 18:10:09 +02:00
Isaac Hutt
1525a81ab7
Merge branch 'master' into 135
2017-05-20 17:41:00 +02:00
fba
f8ec5e5f3d
Clean up
2017-05-20 17:35:50 +02:00