Using LC IDE to control an Android Device

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Using LC IDE to control an Android Device

Post by simon.schvartzman » Sun May 07, 2023 8:06 pm

Hi all, I wonder if it would be possible to control an Android Device, connected via USB to my Mac, from the LC IDE.

If the LC IDE is able to install/run APPs in the device (using just the Test button) I guess it should be possible to control it as well by sending keyboard presses and/or mouse positions.

Just to make myself clear what I want to achieve is a way to automate setting up several AndroidTVs involving downloading some APPs from Google Play and configuring the OS (time zone, language, etc).

One easy way would be to clone a master into several devices but till now I wasn't able to find any APP that would clone the whole environment...

So my idea is to use a Mac to run a script from the LC IDE that would send the proper commands one after the other (some timing in between should be needed but this is easy to be done) as if I were sitting in front of the Android device typing and clicking the mouse

Would it be possible? How?

Many thanks in advance for any suggestions...

Regards
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”