RE: Display PDF on Android

2020-01-06 Thread Ralph DiMola via use-livecode
Correct, I misspoke. Running the JavaScript is the limitation on most
desktop browsers. The reason for setting up the local web server is to be
able to test pdfjs in the IDE. The browser widget  is a Chromium codebase.
This way one can tweak pdfjs and test in the IDE before deploying to
Android.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richard Gaskin via use-livecode
Sent: Monday, January 06, 2020 2:54 PM
To: use-livecode@lists.runrev.com
Cc: Richard Gaskin
Subject: Re: Display PDF on Android

Ralph DiMola wrote:

 > ...because one can't open local files on a desktop browser.

Oh?  Most browsers except Firefox won't execute JavaScript from local files,
but PFDs open in Firefox and Chrome here just fine.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Richard Gaskin via use-livecode

Ralph DiMola wrote:

> ...because one can't open local files on a desktop browser.

Oh?  Most browsers except Firefox won't execute JavaScript from local 
files, but PFDs open in Firefox and Chrome here just fine.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Display PDF on Android

2020-01-06 Thread Ralph DiMola via use-livecode
Before the PDF Widget was available I used pdfjs(github) with the browser
widget. It's a decent PDF viewer. It does not work directly in the IDE
because one can't open local files on a desktop browser. This is NOT a
restriction on Android so pdfjs works on mobile(including iOS). I used a
local web server for testing in the IDE using pdfjs before the browser
widget was released. The other problem is that the Android OS does not open
PDFs natively. I see this as an Android not an LC issue. If you browse to a
PDF in say... Chrome, the PDF is downloaded and then Android user must
supply a PDF reader. In 2020 I find this ridicules. To get around this in LC
one must intercept the PDF URL and download it to the local storage and the
display using either pdfjs or the PDF Widget.

Fun and Games!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Paul Dupuis via use-livecode
Sent: Monday, January 06, 2020 12:07 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: Display PDF on Android

On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote:
>
> You just need to have the appropriate licensed version of LC. Check with
LiveCode, Ltd.
> This widget only comes with LC BUSINESS, not Indy!
>
>

Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is not
a really a technical enhancement request.

I would expect LC to have to spend time reviewing the Bugzilla entry to then
just make it as RESOLVED since XPDF widget is available for anyone who pays
for it. Making this an technical enhancement request just doesn'tseem like
the place for a licensing issue.

You would just like the XPDF widget for a lower cost (Indy pricing vs
Business pricing). That is entirely a licensing issue to discuss with
LiveCode, LTD. Ask them for a discount or a special package or something.

Not trying to be an A$$hole or anything, I just think you'd have more
success negotiating some way you can afford to use the XPDF widget.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 06.01.2020 um 18:06 schrieb Paul Dupuis via use-livecode 
> :
> 
> On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote:
>> 
>> You just need to have the appropriate licensed version of LC. Check with 
>> LiveCode, Ltd.
>> This widget only comes with LC BUSINESS, not Indy!
> Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is not a 
> really a technical enhancement request.

OK, maybe, but the message should be clear.

> I would expect LC to have to spend time reviewing the Bugzilla entry to then 
> just make it as RESOLVED since XPDF widget is available for anyone who pays 
> for it. Making this an technical enhancement request just doesn'tseem like 
> the place for a licensing issue.
> 
> You would just like the XPDF widget for a lower cost (Indy pricing vs 
> Business pricing). That is entirely a licensing issue to discuss with 
> LiveCode, LTD. Ask them for a discount or a special package or something.
> 
> Not trying to be an A$$hole or anything, I just think you'd have more success 
> negotiating some way you can afford to use the XPDF widget.

I personally do not need this widget, I don't own any mobile device, be it a 
cellphone or table, 
and I am not developing for the mobile platform. :-)

I am just interested in an adequate user experience for everyone using the 
mobile paltform!
some of the folks I am mentoring actually need this.

Right now some of them are maintaining two version of the app (HAVE TO!):
One for iOS, where we can print to and display PDF with build-in means, but the 
Android version
can not print to PDF, we need to use a PNG, same for displaying data.

I don't this this does look very professional in 2020.

And I think it is paradox that we can print to PDF on Android in LC 9.6 but 
still cannot display the 
generated PDF file!


Best

Klaus
--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Matthias Rebbe via use-livecode
I don´t think that Klaus was just asking for himself, but for all developers 
with a lower license type than Business.

As long as the Android Browser does not support displaying PDF files, i think 
that request is a legitimate one.

But you are correct, that this is not a feature request. 

Matthias

Matthias Rebbe

free tools for Livecoders:
InstaMaker 
WinSignMaker Mac 

> Am 06.01.2020 um 18:06 schrieb Paul Dupuis via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote:
>> 
>> You just need to have the appropriate licensed version of LC. Check with 
>> LiveCode, Ltd.
>> This widget only comes with LC BUSINESS, not Indy!
>> 
>> 
> 
> Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521 
> ) is not a really a 
> technical enhancement request.
> 
> I would expect LC to have to spend time reviewing the Bugzilla entry to then 
> just make it as RESOLVED since XPDF widget is available for anyone who pays 
> for it. Making this an technical enhancement request just doesn'tseem like 
> the place for a licensing issue.
> 
> You would just like the XPDF widget for a lower cost (Indy pricing vs 
> Business pricing). That is entirely a licensing issue to discuss with 
> LiveCode, LTD. Ask them for a discount or a special package or something.
> 
> Not trying to be an A$$hole or anything, I just think you'd have more success 
> negotiating some way you can afford to use the XPDF widget.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Paul Dupuis via use-livecode

On 1/6/2020 11:28 AM, Klaus major-k via use-livecode wrote:


You just need to have the appropriate licensed version of LC. Check with 
LiveCode, Ltd.
This widget only comes with LC BUSINESS, not Indy!




Okay, then this (https://quality.livecode.com/show_bug.cgi?id=22521) is 
not a really a technical enhancement request.


I would expect LC to have to spend time reviewing the Bugzilla entry to 
then just make it as RESOLVED since XPDF widget is available for anyone 
who pays for it. Making this an technical enhancement request just 
doesn'tseem like the place for a licensing issue.


You would just like the XPDF widget for a lower cost (Indy pricing vs 
Business pricing). That is entirely a licensing issue to discuss with 
LiveCode, LTD. Ask them for a discount or a special package or something.


Not trying to be an A$$hole or anything, I just think you'd have more 
success negotiating some way you can afford to use the XPDF widget.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 06.01.2020 um 17:02 schrieb Paul Dupuis via use-livecode 
> :
> 
> I though the XPDF widget works on all platforms, including Android?

It probably does, but see below...

> You just need to have the appropriate licensed version of LC. Check with 
> LiveCode, Ltd.

This widget only comes with LC BUSINESS, not Indy!

> On 1/5/2020 11:17 AM, Klaus major-k via use-livecode wrote:
>> Hi all,
>> 
>> I just filed an enhancement request to give us a way to display (local) PFDs 
>> on Android!
>> 
>> 
>> I think in 2020 it IS about time for this, especially since we will finally 
>> be able to
>> "print to PDF" in LC 9.6!

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Display PDF on Android

2020-01-06 Thread Paul Dupuis via use-livecode

I though the XPDF widget works on all platforms, including Android?

You just need to have the appropriate licensed version of LC. Check with 
LiveCode, Ltd.




On 1/5/2020 11:17 AM, Klaus major-k via use-livecode wrote:

Hi all,

I just filed an enhancement request to give us a way to display (local) PFDs on 
Android!


I think in 2020 it IS about time for this, especially since we will finally be 
able to
"print to PDF" in LC 9.6!


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Display PDF on Android

2020-01-05 Thread Klaus major-k via use-livecode
Hi all,

I just filed an enhancement request to give us a way to display (local) PFDs on 
Android!


I think in 2020 it IS about time for this, especially since we will finally be 
able to
"print to PDF" in LC 9.6!


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Fwd: Re: Print to PDF on Android?

2019-09-22 Thread JJS via use-livecode

So creating html and text was not difficult.

The problem was in opening a local image from html, after saving an 
image first to local storage.


But i found a way for it now and it's working.

Still i'd like to see this be directly possible from within the app.


Op 22-9-2019 om 22:29 schreef JJS via use-livecode:


(strange this message vanished somehow)--repost

I know it is unprofessional, and your are right about it.

(the similair i do with a help file which is downloaded so it's always 
the latest version and it opens also in the browser or pdf reader, 
when i exit i'm back in the app)


But in none of previous similair messages i've seen any reaction of 
the mothership about this, while it is available on iOs.


So there is not  whole lot of interest in it probably.

I don't know if it can be done with LCB and or adding permission 
(inject) into the manifest.


--

But there are more topics that could use action for mobile: Brushes 
which don't get loaded, FCM pushnotifications not up to date lacking 
possibilities, just one line of text.


So until that, one must either stall development or choose a 
workaround or start using Android Studio(which is totally free) But 
some people need a lot of time, like me to learn Kotlin/Java.



Op 20-9-2019 om 23:06 schreef Dan Friedman:
While you may see this as a workaround, it is not.   Having to leave 
your application to produce the PDF is absolutely unacceptable and 
unprofessional.  It's also dangerous to even talk about.  I fear the 
fine folks at LiveCode will say, "Great!  They have a workaround.  
Looks like we don't have to deal with this at all!".  LiveCode, this 
is a pretty big hole in the functionality of LC.  I do hope you will 
address this issue – and soon!


-Dan


On 9/20/19, 1:54 PM, "use-livecode on behalf of JJS via 
use-livecode"use-livecode@lists.runrev.com>  wrote:


 Nice.
  Save a simple text as html and then launch it opens the 
browser.
  *launch URL ("file:" & specialFolderPath("documents") & 
"order.html")*
  It seems Chrome can print to pdf after all, press share and 
print, then

 you can choose.
  So next i want to add an image.
  And therefore i will export the image to a jpg or whatever 
file, then
 save the text written as html markup language instead of plain 
text, and

 add the image url as reference.
  see if that works also.
   Doei,
  Jerry
  Op 20-9-2019 om 16:08 schreef JJS via use-livecode:
 > A workaround could be (for text) (for photos or mixed with text i
 > don't know for sure)
 >
 > save text as a text file
 >
 > launch the text file in a browser (we can laung a url or 
browser so

 > also probably the url of the file where it is stored)
 >
 > then in the browser press the 3 dots in the right upper corner
 >
 > then press SHARE and you can print it.
 >
 >
 > If you have Opera browser installed, then there is an option 
to save

 > the page as a PDF and you can also print
 >
 > In FireFox you have to press PAGE and then you can choose save 
as PDF

 > or PRINT
 >
 > in Chrome i see no option to save as PDF.
 >
 > Maybe you can save the whole as an html file with text and 
photos,

 > then launch a browser, then save as pdf or print it.
 >
 >
 > I'm gonna try someting, for me it's just text to print with 
this project.

 >
 > One advantage of Opera is it has standard unlimited VPN.
 >
 >
 > Doei,
 >
 > Jerry
 >
 >
 > Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:
 >> Hello Dan,
 >>
 >> Hello Dan,
 >>
 >> For Android PDF creation I use Jan Schenkel’s Quartum PDF 
Library.

 >><http://www.quartam.com>   It isn’t an ideal (or even possible)
 >> solution in many cases because it doesn’t support unicode but 
in my

 >> case that wasn’t a deal breaker.
 >>
 >> --
 >> Scott Morrow
 >>
 >> Elementary Software
 >> (Now with 20% less chalk dust!)
 >> webhttps://elementarysoftware.com/
 >> emailsc...@elementarysoftware.com
 >> booth    1-800-615-0867
 >> --
 >>
 >>
 >>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode
 >>>  wrote:
 >>>
 >>> Come on LiveCode!!  We really can't generate one of the most 
popular
 >>> file formats on the most popular mobile platform? This is a 
joke!
 >>> This is a MAJOR issue for me and I am sure others.  This 

Fwd: Re: Print to PDF on Android?

2019-09-22 Thread JJS via use-livecode


(strange this message vanished somehow)--repost

I know it is unprofessional, and your are right about it.

(the similair i do with a help file which is downloaded so it's always 
the latest version and it opens also in the browser or pdf reader, when 
i exit i'm back in the app)


But in none of previous similair messages i've seen any reaction of the 
mothership about this, while it is available on iOs.


So there is not  whole lot of interest in it probably.

I don't know if it can be done with LCB and or adding permission 
(inject) into the manifest.


--

But there are more topics that could use action for mobile: Brushes 
which don't get loaded, FCM pushnotifications not up to date lacking 
possibilities, just one line of text.


So until that, one must either stall development or choose a workaround 
or start using Android Studio(which is totally free) But some people 
need a lot of time, like me to learn Kotlin/Java.



Op 20-9-2019 om 23:06 schreef Dan Friedman:

While you may see this as a workaround, it is not.   Having to leave your application to 
produce the PDF is absolutely unacceptable and unprofessional.  It's also dangerous to 
even talk about.  I fear the fine folks at LiveCode will say, "Great!  They have a 
workaround.  Looks like we don't have to deal with this at all!".  LiveCode, this is 
a pretty big hole in the functionality of LC.  I do hope you will address this issue – 
and soon!

-Dan


On 9/20/19, 1:54 PM, "use-livecode on behalf of JJS via use-livecode"use-livecode@lists.runrev.com>  wrote:


 Nice.
 
 Save a simple text as html and then launch it opens the browser.
 
 *launch URL ("file:" & specialFolderPath("documents") & "order.html")*
 
 It seems Chrome can print to pdf after all, press share and print, then

 you can choose.
 
 So next i want to add an image.
 
 And therefore i will export the image to a jpg or whatever file, then

 save the text written as html markup language instead of plain text, and
 add the image url as reference.
 
 see if that works also.
 
 
 Doei,
 
 Jerry
 
 Op 20-9-2019 om 16:08 schreef JJS via use-livecode:

 > A workaround could be (for text) (for photos or mixed with text i
 > don't know for sure)
 >
 > save text as a text file
 >
 > launch the text file in a browser (we can laung a url or browser so
 > also probably the url of the file where it is stored)
 >
 > then in the browser press the 3 dots in the right upper corner
 >
 > then press SHARE and you can print it.
 >
 >
 > If you have Opera browser installed, then there is an option to save
 > the page as a PDF and you can also print
 >
 > In FireFox you have to press PAGE and then you can choose save as PDF
 > or PRINT
 >
 > in Chrome i see no option to save as PDF.
 >
 > Maybe you can save the whole as an html file with text and photos,
 > then launch a browser, then save as pdf or print it.
 >
 >
 > I'm gonna try someting, for me it's just text to print with this project.
 >
 > One advantage of Opera is it has standard unlimited VPN.
 >
 >
 > Doei,
 >
 > Jerry
 >
 >
 > Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:
 >> Hello Dan,
 >>
 >> Hello Dan,
 >>
 >> For Android PDF creation I use Jan Schenkel’s  Quartum PDF Library.
 >><http://www.quartam.com>   It isn’t an ideal  (or even possible)
 >> solution in many cases because it doesn’t support unicode but in my
 >> case that wasn’t a deal breaker.
 >>
 >> --
 >> Scott Morrow
 >>
 >> Elementary Software
 >> (Now with 20% less chalk dust!)
 >> webhttps://elementarysoftware.com/
 >> emailsc...@elementarysoftware.com
 >> booth1-800-615-0867
 >> --
 >>
 >>
 >>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode
 >>>  wrote:
 >>>
 >>> Come on LiveCode!!  We really can't generate one of the most popular
 >>> file formats on the most popular mobile platform? This is a joke!
 >>> This is a MAJOR issue for me and I am sure others.  This pretty much
 >>> kills my project.  Damn.
 >>>
 >>> -Dan
 >>>
 >>>
 >>> On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via
 >>> use-livecode">> 
use-livecode@lists.runrev.com> wrote:
 >>>
 >>&g

Re: Print to PDF on Android?

2019-09-20 Thread Dan Friedman via use-livecode
While you may see this as a workaround, it is not.   Having to leave your 
application to produce the PDF is absolutely unacceptable and unprofessional.  
It's also dangerous to even talk about.  I fear the fine folks at LiveCode will 
say, "Great!  They have a workaround.  Looks like we don't have to deal with 
this at all!".  LiveCode, this is a pretty big hole in the functionality of LC. 
 I do hope you will address this issue – and soon!

-Dan


On 9/20/19, 1:54 PM, "use-livecode on behalf of JJS via use-livecode" 
 wrote:

Nice.

Save a simple text as html and then launch it opens the browser.

*launch URL ("file:" & specialFolderPath("documents") & "order.html")*

It seems Chrome can print to pdf after all, press share and print, then 
you can choose.

So next i want to add an image.

And therefore i will export the image to a jpg or whatever file, then 
save the text written as html markup language instead of plain text, and 
add the image url as reference.

see if that works also.


Doei,

Jerry

Op 20-9-2019 om 16:08 schreef JJS via use-livecode:
> A workaround could be (for text) (for photos or mixed with text i 
> don't know for sure)
>
> save text as a text file
>
> launch the text file in a browser (we can laung a url or browser so 
> also probably the url of the file where it is stored)
>
> then in the browser press the 3 dots in the right upper corner
>
> then press SHARE and you can print it.
>
>
> If you have Opera browser installed, then there is an option to save 
> the page as a PDF and you can also print
>
> In FireFox you have to press PAGE and then you can choose save as PDF 
> or PRINT
>
> in Chrome i see no option to save as PDF.
>
> Maybe you can save the whole as an html file with text and photos, 
> then launch a browser, then save as pdf or print it.
>
>
> I'm gonna try someting, for me it's just text to print with this project.
>
> One advantage of Opera is it has standard unlimited VPN.
>
>
> Doei,
    >
    > Jerry
>
>
> Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:
>> Hello Dan,
>>
>> Hello Dan,
>>
>> For Android PDF creation I use Jan Schenkel’s  Quartum PDF Library.  
>> <http://www.quartam.com>  It isn’t an ideal  (or even possible) 
>> solution in many cases because it doesn’t support unicode but in my 
>> case that wasn’t a deal breaker.
>>
>> -- 
>> Scott Morrow
>>
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>
>>
>>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
>>>  wrote:
>>>
>>> Come on LiveCode!!  We really can't generate one of the most popular 
>>> file formats on the most popular mobile platform? This is a joke!   
>>> This is a MAJOR issue for me and I am sure others.  This pretty much 
>>> kills my project.  Damn.
>>>
>>> -Dan
>>>
>>>
>>> On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via 
>>> use-livecode" >> use-livecode@lists.runrev.com> wrote:
>>>
>>> Hi Dan,
>>>
>>>> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
>>>> :
>>>>
>>>> I can't seem to find a way to generate a PDF on Android.  Is this 
>>>> really not possible?
>>> no, unfortunately still not supported by LC.
>>>
>>>> Thanks!
>>>> -Dan
>>> Best
>>>
>>> Klaus
>>>
>>> --
>>> Klaus Major
>>> https://www.major-k.de
>>> kl...@major-k.de
>>>
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _

Re: Print to PDF on Android?

2019-09-20 Thread JJS via use-livecode

Nice.

Save a simple text as html and then launch it opens the browser.

*launch URL ("file:" & specialFolderPath("documents") & "order.html")*

It seems Chrome can print to pdf after all, press share and print, then 
you can choose.


So next i want to add an image.

And therefore i will export the image to a jpg or whatever file, then 
save the text written as html markup language instead of plain text, and 
add the image url as reference.


see if that works also.


Doei,

Jerry

Op 20-9-2019 om 16:08 schreef JJS via use-livecode:
A workaround could be (for text) (for photos or mixed with text i 
don't know for sure)


save text as a text file

launch the text file in a browser (we can laung a url or browser so 
also probably the url of the file where it is stored)


then in the browser press the 3 dots in the right upper corner

then press SHARE and you can print it.


If you have Opera browser installed, then there is an option to save 
the page as a PDF and you can also print


In FireFox you have to press PAGE and then you can choose save as PDF 
or PRINT


in Chrome i see no option to save as PDF.

Maybe you can save the whole as an html file with text and photos, 
then launch a browser, then save as pdf or print it.



I'm gonna try someting, for me it's just text to print with this project.

One advantage of Opera is it has standard unlimited VPN.


Doei,

Jerry


Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:

Hello Dan,

Hello Dan,

For Android PDF creation I use Jan Schenkel’s  Quartum PDF Library.  
<http://www.quartam.com>  It isn’t an ideal  (or even possible) 
solution in many cases because it doesn’t support unicode but in my 
case that wasn’t a deal breaker.


--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth    1-800-615-0867
--


On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
 wrote:


Come on LiveCode!!  We really can't generate one of the most popular 
file formats on the most popular mobile platform? This is a joke!   
This is a MAJOR issue for me and I am sure others.  This pretty much 
kills my project.  Damn.


-Dan


On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via 
use-livecode" use-livecode@lists.runrev.com> wrote:


    Hi Dan,

Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:


I can't seem to find a way to generate a PDF on Android.  Is this 
really not possible?

    no, unfortunately still not supported by LC.


Thanks!
-Dan

    Best

    Klaus

    --
    Klaus Major
    https://www.major-k.de
    kl...@major-k.de


    ___
    use-livecode mailing list
    use-livecode@lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

    http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-20 Thread JJS via use-livecode
A workaround could be (for text) (for photos or mixed with text i don't 
know for sure)


save text as a text file

launch the text file in a browser (we can laung a url or browser so also 
probably the url of the file where it is stored)


then in the browser press the 3 dots in the right upper corner

then press SHARE and you can print it.


If you have Opera browser installed, then there is an option to save the 
page as a PDF and you can also print


In FireFox you have to press PAGE and then you can choose save as PDF or 
PRINT


in Chrome i see no option to save as PDF.

Maybe you can save the whole as an html file with text and photos, then 
launch a browser, then save as pdf or print it.



I'm gonna try someting, for me it's just text to print with this project.

One advantage of Opera is it has standard unlimited VPN.


Doei,

Jerry


Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:

Hello Dan,

Hello Dan,

For Android PDF creation I use Jan Schenkel’s  Quartum PDF  Library.  
<http://www.quartam.com>  It isn’t an ideal  (or even possible) solution in 
many cases because it doesn’t support unicode but in my case that wasn’t a deal 
breaker.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--



On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
 wrote:

Come on LiveCode!!  We really can't generate one of the most popular file 
formats on the most popular mobile platform?   This is a joke!   This is a 
MAJOR issue for me and I am sure others.  This pretty much kills my project.  
Damn.

-Dan


On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via use-livecode" 
 wrote:

Hi Dan,


Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:

I can't seem to find a way to generate a PDF on Android.  Is this really not 
possible?

no, unfortunately still not supported by LC.


Thanks!
-Dan

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread scott--- via use-livecode
Hello Dan,

Hello Dan,

For Android PDF creation I use Jan Schenkel’s  Quartum PDF  Library.  
<http://www.quartam.com>  It isn’t an ideal  (or even possible) solution in 
many cases because it doesn’t support unicode but in my case that wasn’t a deal 
breaker.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
--


> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
>  wrote:
> 
> Come on LiveCode!!  We really can't generate one of the most popular file 
> formats on the most popular mobile platform?   This is a joke!   This is a 
> MAJOR issue for me and I am sure others.  This pretty much kills my project.  
> Damn.
> 
> -Dan
> 
> 
> On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>Hi Dan,
> 
>> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
>> :
>> 
>> I can't seem to find a way to generate a PDF on Android.  Is this really not 
>> possible?
> 
>no, unfortunately still not supported by LC.
> 
>> Thanks!
>> -Dan
> 
>Best
> 
>Klaus
> 
>--
>Klaus Major
>https://www.major-k.de
>kl...@major-k.de
> 
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi all,

> Am 19.09.2019 um 19:43 schrieb JJS via use-livecode 
> :
> 
> You can't even print to paper, and i need that.
> It's 2019 and Android 9/10 and it was already possible(not lc) in Android 
> 4.4.2 if not earlier.
> Only direct solution now is recreate the app in Android Studio using Java or 
> Kotlin.
> For paper is a bug report available on the quality site.

same for print to PDF, it is from 2016 and its current status = HIBERNATED?



Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread JJS via use-livecode

You can't even print to paper, and i need that.

It's 2019 and Android 9/10 and it was already possible(not lc) in 
Android 4.4.2 if not earlier.


Only direct solution now is recreate the app in Android Studio using 
Java or Kotlin.


For paper is a bug report available on the quality site.


Op 19-9-2019 om 18:47 schreef Dan Friedman via use-livecode:

Come on LiveCode!!  We really can't generate one of the most popular file 
formats on the most popular mobile platform?   This is a joke!   This is a 
MAJOR issue for me and I am sure others.  This pretty much kills my project.  
Damn.

-Dan


On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via use-livecode" 
 wrote:

 Hi Dan,
 
 > Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode :

 >
 > I can't seem to find a way to generate a PDF on Android.  Is this really 
not possible?
 
 no, unfortunately still not supported by LC.
 
 > Thanks!

 > -Dan
 
 Best
 
 Klaus
 
 --

 Klaus Major
 https://www.major-k.de
 kl...@major-k.de
 
 
 ___

 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Dan Friedman via use-livecode
Come on LiveCode!!  We really can't generate one of the most popular file 
formats on the most popular mobile platform?   This is a joke!   This is a 
MAJOR issue for me and I am sure others.  This pretty much kills my project.  
Damn.

-Dan


On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via 
use-livecode"  wrote:

Hi Dan,

> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:
> 
> I can't seem to find a way to generate a PDF on Android.  Is this really 
not possible?

no, unfortunately still not supported by LC.

> Thanks!
> -Dan

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi Dan,

> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
> :
> 
> I can't seem to find a way to generate a PDF on Android.  Is this really not 
> possible?

no, unfortunately still not supported by LC.

> Thanks!
> -Dan

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to PDF on Android?

2019-09-19 Thread Dan Friedman via use-livecode
I can't seem to find a way to generate a PDF on Android.  Is this really not 
possible?

Thanks!
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: PDF on Android

2017-05-12 Thread Ralph DiMola via use-livecode
Al,

Thanks for the heads up to the forum thread!!! Worked like a charm
out-of-the-box. I was shocked.

Have a good one...

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Alejandro Tejada via use-livecode
Sent: Thursday, May 11, 2017 10:18 AM
To: use-livecode@lists.runrev.com
Cc: Alejandro Tejada
Subject: PDF on Android

Hi Ralph,

Take a look at this forum thread:
"New approach for offline viewing PDF inside Android browser"
http://forums.livecode.com/viewtopic.php?f=53=28518=152687

MaxV uses the javascript library named pdf.js for this purpose.

Al
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


PDF on Android

2017-05-11 Thread Alejandro Tejada via use-livecode
Hi Ralph,

Take a look at this forum thread:
"New approach for offline viewing PDF inside Android browser"
http://forums.livecode.com/viewtopic.php?f=53=28518=152687

MaxV uses the javascript library named pdf.js for this purpose.

Al
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


PDF on Android

2017-05-10 Thread Ralph DiMola via use-livecode
The mobile browser on Android will not render a PDF. I've been trying the
both the Browser Widget and old school control creation to display a PDF.
Both ways yield the same results. Is there a way to display a PDF on Android
inside of LC?

IDE Windows==>PDF renders OK. 
Android==>Only a white screen. 
iOS==>PDF renders OK. 
IDE Mac==>Only a white screen. This surprised me. Only tried the Browser
Widget.

Thanks

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode