Quote from llazzari on November 20, 2023, 12:49 pmGood morning
I have a problem with neopdf.
I created a mobile app to be able to view data and download it.
Nothing is displayed in the iframe, and it doesn't download the document.
I use Voltbuilder to create the app on android.
How can I solve this problem.
there are other libraries to create pdf, if there are how can I use them in visualneo web.
Good morning
I have a problem with neopdf.
I created a mobile app to be able to view data and download it.
Nothing is displayed in the iframe, and it doesn't download the document.
I use Voltbuilder to create the app on android.
How can I solve this problem.
there are other libraries to create pdf, if there are how can I use them in visualneo web.
Quote from luishp on November 20, 2023, 3:03 pm@llazzari I think Android has not any PDF viewer built-in into the Web Browser, so you can't see it into an IFrame.
You can generate and download it instead so the user can open the document once downloaded.
As far as I know this is the way all mobile apps work.Regards.
@llazzari I think Android has not any PDF viewer built-in into the Web Browser, so you can't see it into an IFrame.
You can generate and download it instead so the user can open the document once downloaded.
As far as I know this is the way all mobile apps work.
Regards.
Quote from llazzari on November 20, 2023, 7:24 pmI tried but it doesn't download it
maybe I'm doing something wrong.
this is the code
... create a PDF specification; the default page size is A4 and the default orientation is portraitneoPdfInit "Materials" "A4" "landscape"
... add a line of text to the PDF specifications; the default alignment is leftneoPdfNeoTable "Materials" "SubroutinesContainer" 80 "grid" 144 23 32
neoPdfFontSize "Materials" "43"
neoPdfSimpleText "Materials" "Tot. mc Concrete" 150 50 "center"
neoPdfDownload "Materials"
Greetings
I tried but it doesn't download it
maybe I'm doing something wrong.
this is the code
... create a PDF specification; the default page size is A4 and the default orientation is portrait
neoPdfInit "Materials" "A4" "landscape"
... add a line of text to the PDF specifications; the default alignment is left
neoPdfNeoTable "Materials" "SubroutinesContainer" 80 "grid" 144 23 32
neoPdfFontSize "Materials" "43"
neoPdfSimpleText "Materials" "Tot. mc Concrete" 150 50 "center"
neoPdfDownload "Materials"
Greetings
Quote from Gaev on November 20, 2023, 9:09 pm@llazzari
I tried but it doesn't download it
maybe I'm doing something wrong.Since I don't know whether the neoTable in SubroutinesContainer renders properly or not, I temporarily replaced your neoPdfNeoTable command with ...
neoPdfSimpleText "Materials" "This is Page 1\nThis is Line 2" 10 20 ""Nothing happened until I added this command (PagesIframe is the container where the PDF is rendered) ...
neoPdfRender "Materials" "PagesIFrame"... before the command ...
neoPdfDownload "Materials"Since that worked, you need to examine your neoTable container, to ensure that it renders as expected, BEFORE invoking the code above.
I tried but it doesn't download it
maybe I'm doing something wrong.
Since I don't know whether the neoTable in SubroutinesContainer renders properly or not, I temporarily replaced your neoPdfNeoTable command with ...
neoPdfSimpleText "Materials" "This is Page 1\nThis is Line 2" 10 20 ""
Nothing happened until I added this command (PagesIframe is the container where the PDF is rendered) ...
neoPdfRender "Materials" "PagesIFrame"
... before the command ...
neoPdfDownload "Materials"
Since that worked, you need to examine your neoTable container, to ensure that it renders as expected, BEFORE invoking the code above.
Quote from llazzari on November 20, 2023, 11:05 pmHi GAVE,
Thanks for your advice.
If I run the program from Chrome everything works.
Using an Android phone, only the table with the data is displayed.
It doesn't even download the pdf file.
Hi GAVE,
Thanks for your advice.
If I run the program from Chrome everything works.
Using an Android phone, only the table with the data is displayed.
It doesn't even download the pdf file.
Quote from Gaev on November 21, 2023, 5:18 am@llazzari
If I run the program from Chrome everything works.
On my Windows Laptop, without the neoPdfRender command, nothing happens ... on both Chrome and Edge Chromium Edition.
So I am confused how it worked for you ... perhaps you have this command in your App but did not show it in your post.
P.S. I did not compile my script, just clicked on the icons.
Using an Android phone, only the table with the data is displayed.
It doesn't even download the pdf file.Sorry, I don't know about Android ... I refer you to comment by @luishp about a lack of pdf viewer in Android.
If I run the program from Chrome everything works.
On my Windows Laptop, without the neoPdfRender command, nothing happens ... on both Chrome and Edge Chromium Edition.
So I am confused how it worked for you ... perhaps you have this command in your App but did not show it in your post.
P.S. I did not compile my script, just clicked on the icons.
Using an Android phone, only the table with the data is displayed.
It doesn't even download the pdf file.
Sorry, I don't know about Android ... I refer you to comment by @luishp about a lack of pdf viewer in Android.
Quote from llazzari on November 21, 2023, 10:49 am
I explained myself badly.
I entered the neopdfrender command, as I was saying, it works with chrom and other browsers, neotable loads the data,
neipdf displays the PDF in the iframe, and I can download it.With Android, as @luishp said, only saving the PDF should work, this doesn't happen.
I'm interested in being able to save the file, and be able to view the data on the app with neotable.Saluti
I explained myself badly.
I entered the neopdfrender command, as I was saying, it works with chrom and other browsers, neotable loads the data,
neipdf displays the PDF in the iframe, and I can download it.
With Android, as @luishp said, only saving the PDF should work, this doesn't happen.
I'm interested in being able to save the file, and be able to view the data on the app with neotable.
Saluti
Quote from luishp on November 21, 2023, 1:27 pm@llazzari please check this sample app from your mobile device. It works for me:
https://visualneo.com/tutorials/neotable-neopdf
Source code attached.
@llazzari please check this sample app from your mobile device. It works for me:
https://visualneo.com/tutorials/neotable-neopdf
Source code attached.
Uploaded files:
Quote from llazzari on November 22, 2023, 11:34 amHi, luishp
I compiled your application, I installed it on my Android phone, neotable works, but it is not possible to download the PDF, it does not download it.
Hi, luishp
I compiled your application, I installed it on my Android phone, neotable works, but it is not possible to download the PDF, it does not download it.
Quote from luishp on November 22, 2023, 6:15 pm@llazzari have you tested my online published app? I mean, open your web browser, and navigate to:
https://visualneo.com/tutorials/neotable-neopdf
Does it work for you on Android? It works for me.
How are you generating your application?
@llazzari have you tested my online published app? I mean, open your web browser, and navigate to:
https://visualneo.com/tutorials/neotable-neopdf
Does it work for you on Android? It works for me.
How are you generating your application?
Quote from llazzari on November 22, 2023, 7:02 pmAs a file to upload to
Volt Builder, to generate an APK. for mobile phones with Android operating system.Ho caricato un immagine.
As a file to upload to
Volt Builder, to generate an APK. for mobile phones with Android operating system.
Ho caricato un immagine.
Uploaded files:
Quote from luishp on November 22, 2023, 9:58 pm@llazzari have you tested my online published app? I mean, open your web browser, and navigate to:
https://visualneo.com/tutorials/neotable-neopdf
If it works for you in your web browser but not when you compile it using Volt Builder you should contact Volt Builder support.
It works for me when using the Android web browser.Regards.
@llazzari have you tested my online published app? I mean, open your web browser, and navigate to:
https://visualneo.com/tutorials/neotable-neopdf
If it works for you in your web browser but not when you compile it using Volt Builder you should contact Volt Builder support.
It works for me when using the Android web browser.
Regards.