[FREE | PAID] ClickZ - An extension to add click, long click and more actions to components!

Thanks for reporting ! I will check it out and let you know asap.

A post was merged into an existing topic: RE: MIT app inventor just stopped working on all projects when any extension added

why is it merged??

Hello,
I tried this extention alone and it works well.
but when i try to use it in my project, (just slidind it in designer) without usinfg any bloks I have a compile error:


Looks like something called Mp3Tags is causing the problem, did you remove this, then add the clickz extension without refreshing your project, stuff can get leftover.

New paid version V12 released !

Check out the first post for details !
This version is one of the major updates.

:star2:  Stable on Android versions >= 10.
:star2:  New and advanced features !

Dear friend, I have 38 labels that I need to click on. Just to confirm that I understand correctly, I must add the extension 38 times and register the 38 times with different names, for each component. Right?

No, just one instance of the extension, but register each component, and handle each components click event. See the example in the first post of the topic.

I think you're wrong, friend, because in the first example he uses "clicked and longclicked". I will just use "clicked", doing it this way presents an error due to repeating the command.

Well, why not try it and see if it works

but that's exactly what I did, he accuses that the command is repeated. The only way that worked was by adding an extension for each click.

The example blocks clearly show two components being registered for a click event:

Yes, but in the example he uses one in "Cliked" and the other in "LongClicked". This way it is possible, but I will just use "Clicked" and in this case the error will occur if the same command is repeated. I will use the "when ClickZ1.Clicked" command 38 times

For both components!

see the error.

Because you cannot have two of the same event

EXAMPLE !!

clickz.aia (10.0 KB)

and for when you have a lot of clickable components:

1 Like

Beautiful example with the lists, now I can understand it perfectly. I had done it the way I mentioned at the beginning, adding an extension for each click, but I was worried about the performance/compilation issue.
Surely adding just one extension and using the list system should be much faster than adding a bunch of extensions? thank you for your attention.

Hi, can you help me with this error please?

Set your app icon to a square png file of a size no greater than 512x512

1 Like