Search found 43 matches

by jihem
Thu Jun 11, 2015 6:00 pm
Forum: iOS Deployment
Topic: revBrowserOpenCEF ?
Replies: 6
Views: 1180

Re: revBrowserOpenCEF ?

Hi, Thanks for this answer. I build apps for Desktop and Mobile. I don't want to manage two applications for the same thing (even if they share a good part of the code). So my code contains a lot of : - if environment() is "mobile" then... - if envitonment() is "desktop" then... Why not offer the sa...
by jihem
Tue Jun 09, 2015 9:16 pm
Forum: Android Deployment
Topic: mobileControlGet browserid,"url" crashes... ???
Replies: 8
Views: 1254

Re: mobileControlGet browserid,"url" crashes... ???

Thanks. I tried.

I have made the following change in the first version of the stack (on browserStart) :

mobileControlSet sBrowserID,"url","http://www.google.fr"
--mobileControlDo sBrowserID, "load", "", getHTML()

with the same result :-(
by jihem
Tue Jun 09, 2015 7:07 pm
Forum: Android Deployment
Topic: mobileControlGet browserid,"url" crashes... ???
Replies: 8
Views: 1254

Re: mobileControlGet browserid,"url" crashes... ???

Thanks for the answer. > Please don't use local variables, but custom properties. sBrowserID isn't a local but a script local. > Why do you think that sBrowserID could not be an integer? When the browser can't be created it isn't an integer. > Instead of lock screen I'd put all in PreOpenCard messag...
by jihem
Mon Jun 08, 2015 10:04 pm
Forum: iOS Deployment
Topic: revBrowserOpenCEF ?
Replies: 6
Views: 1180

revBrowserOpenCEF ?

Will revBrowserOpenCEF be available on iOS?
by jihem
Mon Jun 08, 2015 8:04 pm
Forum: Android Deployment
Topic: mobileControlGet browserid,"url" crashes... ???
Replies: 8
Views: 1254

mobileControlGet browserid,"url" crashes... ???

Hi,
My app crashes when I try to use mobileControlGet (to get the current URL in the browser).
See the following stack (press GO then URL).
Regards,
jihem
by jihem
Sun Jun 07, 2015 9:19 pm
Forum: Internet
Topic: load url with post method?
Replies: 0
Views: 860

load url with post method?

Hi,
I would like to load data from an url in a background task (on iOS). I know I can do this with "load url "http://..." with message callback".
But I need to request the server with the http POST method (not GET like it is done). How can I specify the method?
Regards,
jihem
by jihem
Fri Jun 05, 2015 5:59 am
Forum: iOS Deployment
Topic: How to animate while posting to an URL?
Replies: 2
Views: 657

Re: How to animate while posting to an URL?

Thanks. I was scratching my head.
I would like to congratulate you and urge you to keep up the good work.
LiveCode rocks!
by jihem
Fri May 29, 2015 9:25 pm
Forum: Community Projects
Topic: libDate
Replies: 1
Views: 1514

Re: libDate

Hi, I made a calendar group to select a date. You can copy/resize it (on your own card). The following stack shows how to use it to set a date and to get the chosen date. Any comment are welcome. I will adapt this project for localization. http://www.codyssea.com/downloads/libCalendar.zip I hope thi...
by jihem
Tue May 26, 2015 9:21 pm
Forum: iOS Deployment
Topic: How to animate while posting to an URL?
Replies: 2
Views: 657

How to animate while posting to an URL?

libURLSetStatusCallback is not available on iOS nor Android.
How can I do a background task (update a progress bar, display messages) while getting/posting data to an URL (on a mobile device) ?

get url("http://....")
post tData to url("http://...")
with callback on a mobile device ?
by jihem
Tue Mar 31, 2015 9:14 pm
Forum: Internet
Topic: @#! daylight saving time…
Replies: 1
Views: 1036

@#! daylight saving time…

I use the date in seconds to compute the number of days between two dates. And got this problem on a system in Washington DC (03/08/2015, 03/09/2015) and on another in France (03/29/2015, 03/30/2015)… #! /bin/lc local tDay local tFst -- put the long date into tDay -- put "03/29/2015" into tDay put "...
by jihem
Wed Mar 18, 2015 7:33 pm
Forum: Internet
Topic: mobile App and web server
Replies: 1
Views: 834

Re: mobile App and web server

> if is better to make blob or to store the path for the photo? If you use Apache and LC Server, the performance would be better if you store the path of the file. Apache is very good to serve static contents (cache, http keep alive,...). You will have to create folders and subfolders because OS don...
by jihem
Sun Mar 15, 2015 10:27 am
Forum: Internet
Topic: Fetching data from Bus Website
Replies: 6
Views: 1938

Re: Fetching data from Bus Website

I'm agree with Newbie4 and Simon if you have only to build the client part (and you don't have access to the server scripts). The link provided by Newbie4 describes the JSON parts as previously reported. The best way is to manage both parts (server and client). So you don"t have to fear about a chan...
by jihem
Sat Mar 14, 2015 10:56 am
Forum: Internet
Topic: Fetching data from Bus Website
Replies: 6
Views: 1938

Re: Fetching data from Bus Website

If the data are in a SQL server (MySQL, PostgreSQL, …) you need to install a web server (Apache) and add LiveCode server as CGI interpreter. You can follow the general guideline: http://lessons.runrev.com/m/4070/l/36652-how-do-i-install-livecode-server-on-linux-with-apache . If you want to try witho...
by jihem
Fri Mar 13, 2015 11:58 am
Forum: Internet
Topic: I like Twitter... Enjoy ;-)
Replies: 8
Views: 3848

Re: I like Twitter... Enjoy ;-)

Sorry I'm late but this is the answer. function twitter.post pUrl local tUrlParts put pUrl into tUrlParts split tUrlParts by "?" -- tUrlParts[1] : path, tUrlParts[2]: query local tUrlArguments put tUrlParts[2] into tUrlArguments split tUrlArguments by "&" and "=" local tFullUrl put sTwitter["base_ur...
by jihem
Sat Feb 28, 2015 3:54 pm
Forum: Internet
Topic: XBOX Live avatar... in 1 line ;)
Replies: 0
Views: 772

XBOX Live avatar... in 1 line ;)

Create a card, put an image ("imgName"), a field ("fldName") and a button on it. Edit the button script and insert the mouseUp handler code : on mouseUp put url("http://avatar.xboxlive.com/avatar/"& (field "fldName") & "/avatar-body.png") into image "imgName" end mouseUp Enjoy... If you haven't a xb...

Go to advanced search