[kwlug-disc] Testing Android app on real phone
William Park
opengeometry at yahoo.ca
Fri Oct 17 17:26:01 EDT 2025
Yes, ScrCpy was what I was looking for. Thanks. I can do remote
control. I get image of phone screen, things I do are reflected on cell
phone and vice versa. I don't think ScrCpy itself can do scripting.
I'll look into ADB for that.
You *forgot* to mention the following:
- enable "developer mode"
- disable "Auto Blocker"
- enable "USB debug mode"
Only then, ADB sees the device! Grrgh...
On 2025-10-17 02:49, Ron wrote:
> William Park via kwlug-disc wrote on 2025-10-16 23:33:
>
>> So, how would you duplicate this user interaction, without actually
>> pressing the screen buttons? What *keywords* should I search online?
>
> Maybe `scrcpy` is something like what you're looking for?
>
>
>> On Windows, there is TeamViewer that you can click and type remotely.
>
> With `scrcpy` running on my PC, I can control the screen on my Android.
>
>> I did use it manually, but never via scripts or macros.
>
> Not sure if macros / scripting is supported though.
>
>
> https://scrcpy.org
>
>> SCRCPY is a free and open source application that allows users to
>> mirror their Android device’s screen on their computer. It is
>> available for Windows, macOS, and Linux. It is a very useful tool
>> for Android developers and testers. It can be used to mirror an
>> Android device’s screen on a computer, making it easier to debug and
>> test applications. It can also be used to show keystrokes and
>> touches on the device, making it easier to understand how an
>> application works. If you are an Android developer or tester, SCRCPY
>> is a great tool to add to your toolbox.
>
> ╰># nala search scrcpy
>
> scrcpy 1.25-1ubuntu1 [Ubuntu/noble universe]
> ├── is installed
> └── Display and control your Android device
>
> scrcpy-server 1.25-1ubuntu1 [Ubuntu/noble universe]
> ├── is installed
> └── Display and control your Android device - server binary
>
>
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20251017/39627561/attachment.htm>
More information about the kwlug-disc
mailing list