multitouch buttons on Android

scott at elementarysoftware.com scott at elementarysoftware.com
Mon Jan 27 20:10:55 EST 2020


You can also script things like

on mouseUp
   if the environment is "Development" then
        touchEnd 1
   end if
end mouseUp

and put the script for both in touchEnd… or wherever

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web       https://elementarysoftware.com/
email     scott at elementarysoftware.com
booth    1-800-615-0867
------------------------------------------------------

> On Jan 27, 2020, at 1:58 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I think you get both, touchStart first followed by mouseDown, and touchEnd followed by mouseUp.
> 
> On 1/27/20 3:04 PM, JJS via use-livecode wrote:
>> yes touchStart and touchEnd is what i need.
>> Do you Jacque or anyone else knows if these functions conflict with mouseUp or mouseDown in the same control on mobile?
>> Op 27-1-2020 om 20:06 schreef JJS via use-livecode:
>>> one button is a drumpad which has multiple functions. if tap it, then you hear a sound like a snare or a bassdrum.
>>> 
>>> But when you tap and hold another button then this same drumpad-button opens another group from which you can select another color or another sound for that same drumpad.
>>> 
>>> Now in the ide this works, saying first i click the option button and then the drumpad-btn. (impossible of course with a mouse to do 2 clicks on 2 buttons)
>>> 
>>> On mobile you have to hold it and then push any drumpad to open a color or sound select group, that's the idea.
>>> 
>>> While having several touch points on Android, you can check via the developersmode, this seems not to work for buttons.
>>> 
>>> an image with script and a button does not work.
>>> 
>>> 2 images instead of buttons does also not work.
>>> 
>>> So perhaps 2 simultaneous mouseclick(fingertaps) is not possible.
>>> 
>>> Maybe i use the wrong commands, will try some with touchstart and touchend instead of mouseDown/mouseUp.
>>> 
>>> 
>>> Regards,
>>> 
>>> Sphere
>>> 
>>> 
>>> 
>>> Op 27-1-2020 om 18:34 schreef J. Landman Gay via use-livecode:
>>>> I've never seen an interface like that on Android. Can you use checkboxes instead? What does the app need to do if two buttons are down?
>>>> 
>>>> -- 
>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>>>> HyperActive Software | http://www.hyperactivesw.com
>>>> On January 26, 2020 3:36:51 PM JJS via use-livecode <use-livecode at lists.runrev.com> wrote:
>>>> 
>>>>> Hello,
>>>>> 
>>>>> 
>>>>> can 2 buttons be pressed simultanously on Android?
>>>>> 
>>>>> Or do i need to change them to an Image?
>>>>> 
>>>>> 
>>>>> Although i use buttons, it seems not to be able to hold one button down
>>>>> and press another.
>>>>> 
>>>>> They are in the same group, and the option only one button is off in the
>>>>> group settings
>>>>> 
>>>>> 
>>>>> Thanks for any insight.
>>>>> 
>>>>> 
>>>>> Cheers,
>>>>> 
>>>>> Sphere
>>>>> 
>> 
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list