Internet library?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
cannix
Posts: 17
Joined: Mon Jul 07, 2014 12:26 am

Internet library?

Post by cannix » Thu Sep 04, 2014 4:42 pm

Hi,
Why can not use libURLDownloadToFile / libURLxxxxx .... and so on command?
How do I get or install Internet library?
can someone explain how to do?
thanx!

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Internet library?

Post by Klaus » Thu Sep 04, 2014 5:47 pm

Hi cannix,
cannix wrote:Why can not use libURLDownloadToFile / libURLxxxxx .... and so on command?
what version of Livecode and what platform (Desktop or Mobile) are you using?
What exactly does not work? Do you get any errors? If yes which ones?
Can you show us the script that does not work?
cannix wrote:How do I get or install Internet library?
The internet library is always available in the IDE and for standalones you need to select
the library in the standalone builder settings.


Best

Klaus

cannix
Posts: 17
Joined: Mon Jul 07, 2014 12:26 am

Re: Internet library?

Post by cannix » Thu Sep 04, 2014 10:19 pm

Klaus wrote:Hi cannix,
cannix wrote:Why can not use libURLDownloadToFile / libURLxxxxx .... and so on command?
what version of Livecode and what platform (Desktop or Mobile) are you using?
What exactly does not work? Do you get any errors? If yes which ones?
Can you show us the script that does not work?
cannix wrote:How do I get or install Internet library?
The internet library is always available in the IDE and for standalones you need to select
the library in the standalone builder settings.


Best

Klaus
-------

1. 7.0.0 rc1
2. you need to select the library --> library name is???
3. Can you teach me how to set it?

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Internet library?

Post by sefrojones » Thu Sep 04, 2014 10:35 pm

It will be under File>standalone application settings

In my experience, for desktop apps I leave "search for required inclusions when saving standalone applications" checked and it does the job of including the correct libraries/externals. For android, you have to specifically check the internet permission under File>standalone application settings>android
like this:
Standalone Application Settings for ArrayExperiment - Android_003.png
I'm not sure about iOS, but I imagine it's something similar. Hope this was helpful.

--Sefro

cannix
Posts: 17
Joined: Mon Jul 07, 2014 12:26 am

Re: Internet library?

Post by cannix » Thu Sep 04, 2014 11:23 pm

sefrojones wrote:It will be under File>standalone application settings

In my experience, for desktop apps I leave "search for required inclusions when saving standalone applications" checked and it does the job of including the correct libraries/externals. For android, you have to specifically check the internet permission under File>standalone application settings>android
like this:
Standalone Application Settings for ArrayExperiment - Android_003.png
I'm not sure about iOS, but I imagine it's something similar. Hope this was helpful.

--Sefro
Resolved!
Thank you very much for your help...

FireWorx
Posts: 362
Joined: Wed Sep 07, 2011 9:39 pm

Re: Internet library?

Post by FireWorx » Fri Jan 02, 2015 10:04 pm

The problem with libURLDownloadToFile on LC 7.0 is that it doesn't work AT ALL in the IOS standalone builder. It works in 6.7 though and it now works in LC 7.0.1 RC3 and RC4. The revZipExtractItemToFile tArchive command does not work in LC 7.0.1 RC3 and RC4 on IOS however. Bug report filed.

Post Reply