Android Question Cross-platform drag by RIGHT (second) mouse button

peacemaker

Expert
Licensed User
Longtime User
Hi, All

If to inherit the post https://www.b4x.com/android/forum/t...ving-dragging-by-_touch-event.160800/#content, next questions:

If on PC we can:
  1. select objects by LMB (left mouse button)
  2. or drag objects by LMB
  3. move whole objects area by RMB
  4. zoom objects area by MW (mouse wheel), maybe with some key pressed\hold (SHIFT, CTRL)
, but how can work these actions at mobile screen ?
  1. select objects by short tap (LMB)
  2. or drag objects - but it looks like by RMB (long tap) ?
  3. move whole objects area - impossible ?
  4. zoom objects area - 2 point pinch: what mouse action(-s) does this correspond ?
Did you try such development ? Did you see any realization ?
 

peacemaker

Expert
Licensed User
Longtime User
CTRL + Mouse Wheel
What is this info from ?

What about p.3 ?

I mean in my questions: is it impossible to have all 4 functions together in the mobile app like on desktop ?
 
Last edited:
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
In mobile
touch=left click
touch and hold = left click+hold
drag finger = drag mouse
double tap = right click
.. same way ..
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User

Here the CAD desktop software that can use all these 4 functions by mouse and CTRL+MouseWheel for zoom.
Is it really to make in Android ?


I've almost done all this in B4J now (will be shared soon), but ... i'm not able to do it cross-platformly, too complex for me.
 
Upvote 0

AnandGupta

Expert
Licensed User
Longtime User
i'm not able to do it cross-platformly, too complex for me.
I don't think it will be simple due to limitation of screen and finger touch.
check if there are any similar type of app in store, then you can get idea how it is done.
then you can ask for specific event etc. and members here will help out.
 
Upvote 0
Top