I use the About Screen, but somewhere in your app you should have a credits page
could i comment it like in the rules of creative commons 3? and this would be used as a private app by a private entity…
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@Juan_Antonio thanks could you please elaborate on " The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." . i am bit confused on how to do this. can i comment and give you credits or can i add a text file giving you credit? thanks again!
@Juan_Antonio Podrias apoyarme para poder insertar una imagen dentro del mismo pdf(imagen la cual se encuentra almacenada en la sd interna), he investidago y al parecer tengo que codificarla a base 64 sabes como hacer eso, que pudieras explicarme.
Great minds think alike
Start a new topic.
Hi Juan,
Thank you for the excellent PDF writers.
Is it possible to print a long element as multiple PDF pages?
I have a "Web1" component in a VerticalArrangement,
The Web component displays a table,
The table can be very long. I would like to print multiple pages
page 1 height => from 0px to ~2000 px.
page 2 height => from ~2000px to ~4000 px.
page 3 height => from ~4000px to ~6000px.
Is this possible?
Deez
I can only think of doing manual Scroll.
Show list 0 ... 2000
Add pdf page 1
manual scroll
Show list 2000 ... 4000
Add pdf page 2
manual scroll
Show list
2000 ... 4000
Add pdf page 3
But how will it know of which text it should create a Pdf of
Hello Juan Antonio,
Is that possible to update the extension compitable with SDK>29. /mnt/sdcard/ prefix is not working for Android 10 and later.
Thanks
In this web page you can find the extensions com.KIO4_PdfS10.aix and com.KIO4_Pdf10.aix.
Files are saved in ...
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/ ... in emulation with Companion.
And...
/storage/emulated/0/Android/data/'namepackage'/files/. .. when Built.
Can you test if they work for you?
http://kio4.com/appinventor/284C_extension_crear_pdf.htm
Thanks @Serkan_Duyan
On this website there is an extension called com.KIO4_Pdf10.aix, through this extension we can create pdf files in Android versions >= 10.
The created file will be saved in:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/ if you are in the MIT Companion emulator
and in
/storage/emulated/0/Android/data/'namepackage'/files/ if the application is installed (Build .apk)
You can get the path of that directory using the GetAndroidAppDirectory block.
Here a basic example.
borrar_createPdf_A10.aia (11.9 KB)
so if someone likes to create an app, which should work for all Android versions, both extensions have to be used? Can't you join the functionality and provide only one extension which works for all versions?
Taifun
Hello Taifun,
Actually it can be used for both, if they are set in ASD. Seems we need to pass all our APP's to ASD soon and I started to do that.
I have taken the easy way, I have joined the two extensions.
Now the extension is called com.KIO4_Pdf.aix, if you use the blocks that end in 10 (Create10, AddPage10 and Finish10) the files will be created in ASD, these blocks are appropriate to Android> = 10.
If you use the blocks that do not end in 10 (Create, AddPage and Finish) you will be able to choose other directories of the SdCard, these blocks are appropriate for Android <10.
Using the GetApi block, you can get the Android version of the device.
Example:
You can download the extension from:
http://kio4.com/appinventor/284C_extension_crear_pdf.htm