Search found 530 matches

by trevix
Thu Oct 29, 2020 12:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: RevProfile of segment widget
Replies: 4
Views: 174

Re: RevProfile of segment widget

So, the answer is that changing a profile of a segment widget cannot change its itemNames. Correct?
by trevix
Tue Oct 27, 2020 11:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: RevProfile of segment widget
Replies: 4
Views: 174

RevProfile of segment widget

Apparently i cannot change the itemLabels (or itemNames for that matter) of a segmented widget using a revprovile. Everything is set in the cREVgeneral of the widget: profileList: Master inglese I created a cREVDivergedinglese property in the widget but nothing changes when I use set the revprofile ...
by trevix
Mon Oct 26, 2020 5:30 pm
Forum: Android Deployment
Topic: Google Play Console reports native Crash for Huawei P8
Replies: 1
Views: 68

Google Play Console reports native Crash for Huawei P8

The pre-Launch report of the Google Play Console reports a "Native crash of com.trevix.it.segnapunto" (my App). This only for 2 cell phone: Huawei P8 and P8 Lite (both with Android 5). Very popular in Italy and this is why I am concerned: I cannot simply exclude these devices. The report is incompre...
by trevix
Tue Oct 20, 2020 10:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Same card for two size of controls: phone or tablet
Replies: 7
Views: 204

Re: Same card for two size of controls: phone or tablet

I’d vote for using the resizeStack handler to do what you want and dynamically size/position the controls. The reason for my choice is that my resizestack handles are already chock full and, as you know, debugging them is pretty hard. You see, my app is: X 2 OS (android and iOS), X 2 devices (phone...
by trevix
Mon Oct 19, 2020 5:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Same card for two size of controls: phone or tablet
Replies: 7
Views: 204

Re: Same card for two size of controls: phone or tablet

Is there a performance or easy of use difference between this two methods? local sScore --on Preopenstack put "ScoreTablet" into sScore ... ... --on a script put 5 into field "Score" of group sScore show group sScore then --on Preopenstack put "Tablet" into gMachine --a global ... ... --on a script ...
by trevix
Mon Oct 19, 2020 11:34 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Same card for two size of controls: phone or tablet
Replies: 7
Views: 204

Re: Same card for two size of controls: phone or tablet

I guess I did not explain myself correctly: I am not talking about resizing (I know how to do it) I am talking about referring to, for example, two buttons, that have the same name, but with different properties because of different screen size. I Know that I shouldn't name two controls with the sam...
by trevix
Mon Oct 19, 2020 9:40 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Same card for two size of controls: phone or tablet
Replies: 7
Views: 204

Same card for two size of controls: phone or tablet

Hi all. I am trying to find how the best way to handle the fact that my standalone will be used both on cellular and tablet screen size. In fact, for a better user experience, some buttons and controls are sized differently, may be with different size icons, image etc. First method In the beginning,...
by trevix
Tue Oct 13, 2020 9:52 pm
Forum: Android Deployment
Topic: Path to document folder
Replies: 16
Views: 2514

Re: Path to document folder

Yes completely uninstalling (dragging the icon to "Remove"). Ir's a Huaway.
Then installing again a new, I found still the pref file in "documents".
What is also strange is that this doesn't happen in another Android 5 device (ASUS).

It's a mystery
by trevix
Mon Oct 12, 2020 5:45 pm
Forum: Android Deployment
Topic: Path to document folder
Replies: 16
Views: 2514

Re: Path to document folder

I would like to mention this strange behaviour (LC 9.6.1RC2 on Android 7.0): I am saving my App preferences in specialFolderPath("documents") . On iOS, if I dis install the standalone, I loose my preferences document (as it should). On Android, somehow, when i reinstall, the standalone find the pref...
by trevix
Sat Sep 26, 2020 4:35 pm
Forum: MergEXT
Topic: mergPopActivity add attachment, not image
Replies: 0
Views: 762

mergPopActivity add attachment, not image

As I understand, sharing trough social is a big must.
I was wondering then if there is any way, with Monte mergPopActivity, to share a file, not just an image.
Thanks
by trevix
Thu Sep 17, 2020 12:14 pm
Forum: Android Deployment
Topic: BackKey: best way to use it
Replies: 2
Views: 313

Re: BackKey: best way to use it

Thinking of it, I may have to rewrite all navigation of my stacks. This one could be a better solution. card B script: On Backkey --the actual navigation put true into gSetting set the backcolor of rect "X" of card "A" to red go card "A" end Backkey The navigation "return" button script of card B: O...
by trevix
Thu Sep 17, 2020 10:27 am
Forum: Android Deployment
Topic: BackKey: best way to use it
Replies: 2
Views: 313

BackKey: best way to use it

In my standalone I have several "Return" buttons that navigate to the previous card, while holding a script that, for example, save new settings or else. For example, in card B there is a button "return" that go to card A after having saved something and set some stuff on card A before showing. Comi...
by trevix
Thu Sep 03, 2020 8:49 am
Forum: Raspberry Pi
Topic: RaspberryPi Stacks
Replies: 120
Views: 106667

Re: RaspberryPi Stacks

Hi. Really incredible all the stacks you created. That's why, may be, you can help me out with this: Like I wrote in another post, I have been using the graph widget, but I found it way too limited for my uses: I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in ...
by trevix
Mon Aug 24, 2020 9:14 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cubic Spline? Anyone?
Replies: 3
Views: 363

Re: Cubic Spline? Anyone?

Gasp!
Not very helpful to me.
I need some LC code
by trevix
Mon Aug 24, 2020 6:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cubic Spline? Anyone?
Replies: 3
Views: 363

Cubic Spline? Anyone?

Hi. I have been using the graph widget but I would like to convert a scattered set of points (X,Y) to a smooth curved line (like in the attachment). So, giving up the graph widget, I did some research and I realized that: - my math sucks - probably i need to do "cubic spline interpolation" (!?) Some...

Go to advanced search