| <<<Back 1 day (to 2019/09/07) | Fwd 1 day (to 2019/09/09)>>> | 20190908 |
Guest92450 | Hi | 11:19.27 |
mubot | Welcome to #mupdf, the channel for MuPDF. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line. | 11:19.27 |
Guest92450 | I am new to MuPDF | 11:19.53 |
| I am trying to build an android application by using Mupdf lib | 11:20.25 |
| Is there any sample application for android with source code? | 11:20.59 |
| Please help me | 11:23.09 |
| Anybody is there? | 11:25.38 |
vtorri | have you loked in the source ? | 11:26.37 |
Guest92450 | Yes. | 11:26.46 |
vtorri | there are some tools that can help you | 11:26.48 |
Guest92450 | Please can you tell me tools? | 11:27.08 |
| I have build the .aar file | 11:27.34 |
vtorri | in http://git.ghostscript.com/?p=mupdf.git;a=tree;f=source/tools;h=14727c80a69860f8af9b471fb3146c705e91a49b;hb=HEAD maybe | 11:27.45 |
Guest92450 | Now I want to use the .aar file in my project. | 11:28.08 |
vtorri | also https://mupdf.com/docs/android-sdk.html | 11:28.25 |
| maybe | 11:28.29 |
Guest92450 | Yes. You are correct. | 11:29.02 |
| I download the mupdf-android-fitz.git | 11:29.13 |
| and I followed the instructions, how to build the .aar file. | 11:29.44 |
| also successfully I have built the .aar file. | 11:31.39 |
| Now I need a sample application to call the APIs which are available from the .aar file. | 11:32.23 |
vtorri | maybe http://git.ghostscript.com/?p=mupdf.git;a=tree;f=platform/java;h=92fa5e4c7a47d202177a2a2924554f7b322bde06;hb=HEAD | 11:35.19 |
Guest92450 | Is there any complete sample android application in Git? | 11:39.58 |
sebras | Guest92450: http://git.ghostscript.com/?p=mupdf-android-viewer-mini.git;a=summary | 11:40.57 |
| Guest92450: this is one of our simple applications using mupdf. | 11:41.07 |
| Guest92450: what kind of application are you making? | 11:41.19 |
| Guest92450: also, I hope you did consider the license of your app, which has to bee AGPLv3 compatible. | 11:42.21 |
Guest92450 | we are trying to annotate on PDF files | 11:42.30 |
| then form submission | 11:42.50 |
| writing on pdf file | 11:43.12 |
sebras | Guest92450: ok, we have support for annotations in the mupdf library, and most of this is carried over to Android by the JNI-interface. but since we are currently developing things in this area, the APIs are not 100% stable yet. | 11:44.13 |
Guest92450 | Is there any API documentation for Android? | 11:44.20 |
sebras | I believe this goes for form filling too. | 11:44.26 |
| Guest92450: there is no javadoc-like documentation no. | 11:44.43 |
| Guest92450: is your app source on github? | 11:46.38 |
Guest92450 | We just started. | 11:47.22 |
sebras | Guest92450: ok. did you consider what license to release your app under? | 11:47.44 |
| Guest92450: if you don't want to use mupdf under an open source license, you may need to ask for a commercial one. | 11:48.14 |
Guest92450 | beginning itself we are facing lot of challenges. | 11:48.20 |
sebras | Guest92450: yes, I can understand. :) | 11:48.53 |
Guest92450 | For an android developer, from where I need to start now? | 11:50.25 |
| without android documentation? | 11:51.18 |
sebras | Guest92450: I suggest looking at the source code for the mupdf mini app http://git.ghostscript.com/?p=mupdf-android-viewer-mini.git;a=summary and try to understand how it renders PDF files to images. | 11:51.25 |
| this app is meant to be a simple example of how to make an android app using mupdf. | 11:51.49 |
| once you can show the PDF file, you are ready to take the next step to do annotation. | 11:52.08 |
Guest92450 | Yes. Even I downloaded from the play store and tried. | 11:52.34 |
| It is very simple application. | 11:53.12 |
sebras | Guest92450: you can find the available android APIs where vtorri pointed you to before: http://git.ghostscript.com/?p=mupdf.git;a=tree;f=platform/java/src/com/artifex/mupdf/fitz;h=7cc89441b804c8da8cd02bcc6582e0cd4a5f216a;hb=HEAD | 11:54.11 |
| I need to leave now. feel free to ask more questions, but you need to wait in this channel for answers (the devs will be back working here on monday). | 11:56.38 |
| <<<Back 1 day (to 2019/09/07) | Forward 1 day (to 2019/09/09)>>> | |