Search found 97 matches

by link76
Thu Feb 15, 2024 3:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Upload file Livecode PHP
Replies: 2
Views: 2391

Upload file Livecode PHP

I would like to upload a pdf file to my server using php as a step.
I created this script in livecode but I can't complete the step in php:


on mouseUp
put empty into tFilePath
answer file "Scegli un file pdf" with type "PDF|pdf"
if it is not empty then
put it into tFileToUpload
set the ...
by link76
Thu Oct 24, 2019 3:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Push notification on Android 9
Replies: 1
Views: 3473

Push notification on Android 9

The FCM push notifications with Android 9 do not work!, while on previous versions the same device works.

I use using LC 9.0.5 indy is there any limitation? are not supported?

thanks
by link76
Fri Oct 04, 2019 2:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get contents file
Replies: 1
Views: 2744

get contents file

I save my map file (map.html) in the special folder to be displayed in the mobile device browser and works perfectly!

I would like to retrieve the contents of the map.html file in my device mobile, so that it can modify it.

Trying this motion I recover only the url of the route.


set the ...
by link76
Fri May 03, 2019 9:36 am
Forum: Bug Triage
Topic: Map markers delete
Replies: 0
Views: 3192

Map markers delete

In a mobile environment using the Map widget (LC 9.0.4 rc3) when a marker point is created and then deleted, it cannot be entered with the same name. In desktop environment it works correctly.



button "set marker"
on mouseUp pButtonNumber
local tMarkers
put "45.4200191,9.4040401" into tMarkers ...
by link76
Tue Apr 30, 2019 7:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mobileBusyIndicatorStart freezes
Replies: 2
Views: 3191

Re: mobileBusyIndicatorStart freezes


Try a line wait 0 milliseconds with messages inside the repeat loop. I had thought mobile interrupts and rendering were handled slightly differently but it could be you need this (as with desktop) to give the engine a moment of almost zero duration to think of things like keypoll and screen ...
by link76
Mon Apr 29, 2019 11:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mobileBusyIndicatorStart freezes
Replies: 2
Views: 3191

mobileBusyIndicatorStart freezes

Hello,

I activate the command mobileBusyIndicatorStart to complete the insertion of data in the db, the animation displayed stops (freezes) until the end.

why ?

thank you


mobileBusyIndicatorStart "square", "message"

put "cmd=mycommand" & "&token=" & urlencode(ISY_TOKEN_USER) into tArgList ...
by link76
Mon Apr 22, 2019 7:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget map custom icon marker
Replies: 0
Views: 2524

Widget map custom icon marker

Hello,

Is it possible to insert a custom icon marker using the map widget? currently only a default icon is inserted.
by link76
Tue Apr 16, 2019 10:23 pm
Forum: Android Deployment
Topic: customize sound push notification
Replies: 1
Views: 3668

customize sound push notification

Is there a solution to make a custom sound when a push notification is received?

Thx
by link76
Sun Apr 14, 2019 3:59 pm
Forum: Bug Triage
Topic: Widget Map crash APP
Replies: 3
Views: 5627

Re: Widget Map crash APP

I think it is the same problem!
by link76
Sun Apr 14, 2019 10:50 am
Forum: Bug Triage
Topic: Widget Map crash APP
Replies: 3
Views: 5627

Widget Map crash APP

The widget in object when it has been set in the inclusions with relative API works correctly. BUT if LC is closed and then opened after some time, when a TEST is started for example, the app crashes.

To restore it is necessary:
1. Turn off Map widget inclusions
2. Start the TEST without Map widget ...
by link76
Fri Apr 12, 2019 3:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: locationChanged on mouseUp
Replies: 14
Views: 43084

Re: locationChanged on mouseUp



So only the CARD (or stack) will receive this message, but none of your buttons or other objects.

Could you not do something like this in the button/whatevers script :

on mouseUp
send locationChanged(pLat,pLong,pAlt) to card "xyz"
end mouseUp

:?:

Alternately, you could roll your own ...
by link76
Fri Apr 12, 2019 2:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: locationChanged on mouseUp
Replies: 14
Views: 43084

locationChanged on mouseUp

Is it possible to activate the locationChanged function when the user presses a button, for example?

Currently I have inserted this function in OpenCard but in this way it is always active.

Thank you
by link76
Mon Apr 08, 2019 2:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: post string encrypt
Replies: 1
Views: 2803

post string encrypt

I would like to use these functions to encrypt the string and send it with the post method.

https://livecode.fandom.com/wiki/Encrypt

The string received in the PHP file when it is decrypted contains spaces.



put EncryptIt_LC(tLogin) into tLogin
put EncryptIt_LC(tPassword) into tPassword
put ...
by link76
Wed Mar 13, 2019 5:51 pm
Forum: Android Deployment
Topic: Splash format
Replies: 7
Views: 8540

Re: Splash format

maybe I was not precise ...

I would like to insert a splash screen, an intro screen, for my app.

in the Basic Application Settings of Android there is the splash field, I inserted a 480x800px image but it does not work :|
by link76
Wed Mar 13, 2019 4:15 pm
Forum: Android Deployment
Topic: Splash format
Replies: 7
Views: 8540

Re: Splash format


I don't think there are specifications for this!
Just create a one-card stack and group all object on that card, then script this for the splash stack:
on preopenstack
## So no need to know this in advance! Take what is there! :-)
set the rect of this stack to the screenrect

## Place content ...