Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 208682f

Browse files
committed
Update readme
1 parent 2c09d96 commit 208682f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@ void setMidZoom(float zoom);
117117
void setMaxZoom(float zoom);
118118
```
119119

120+
## Possible questions
121+
### Why resulting apk is so big?
122+
Android PdfViewer depends on PdfiumAndroid, which is set of native libraries (almost 16 MB) for many architectures.
123+
Apk must contain all this libraries to run on every device available on market.
124+
Fortunately, Google Play allows us to upload multiple apks, e.g. one per every architecture.
125+
There is good article on automatically splitting your application into multiple apks,
126+
available [here](http://ph0b.com/android-studio-gradle-and-ndk-integration/).
127+
Most important section is _Improving multiple APKs creation and versionCode handling with APK Splits_, but whole article is worth reading.
128+
You only need to do this in your application, no need for forking PdfiumAndroid or so.
129+
130+
## One more thing
131+
If you have any suggestions on making this lib better, write me, create issue or write some code and send pull request.
132+
120133
## License
121134

122135
Created with the help of android-pdfview by [Joan Zapata](http://joanzapata.com/)

0 commit comments

Comments
 (0)