![]() |
AW: How draw password on remote smartphone with mouse?
Hi,
its hard to tell, if this could work on android... You could reduce the number of pixels (path segements) by just adding another position if it differes from the last one by a reasonable amount. But thinking about this I must admit that I'm not sure if this will ever work. Adding all the mouse movement will end up in a drawing (like using Paint and moving the mouse around). What you are trying would need another set of functions where you could emulate touching the screen and let android do all the work (in Windows you could send WM_MOUSEDOWN/WM_MOUSEMOVE/... messages yourself and letting the application beneath the mouse do, what ever it would do). If that's not possible you might need to go back to my example and implement something like that... |
AW: How draw password on remote smartphone with mouse?
@Wookie,
thank you very much by help and code example, i concluded that: My approach above is right and unfortunately until this moment was saw that, not is possible achieve this goal using ![]() ![]() ![]()
Code:
And also, until now (in this case) AccessibilityService not is able to perform a gesture of touch "only press and not loose" in some point (of 9 points that compose the password screen) when 2 fast mouse clicks are perform and sent on:
addStroke(new GestureDescription.StrokeDescription(path, 0, time));
Delphi-Quellcode:
before start and during drawing the password (dragging mouse), and release only when password be drawn completely and:
procedure TForm2.Image1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
Delphi-Quellcode:
be sent to remote device.
procedure TForm2.Image1MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer); --------------------------------------------------------------------------------------------------------------------------------------- Note: ![]() ![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:02 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz