multitouch buttons on Android
J. Landman Gay
jacque at hyperactivesw.com
Mon Jan 27 16:58:54 EST 2020
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
More information about the use-livecode
mailing list