[Q] Looking for a way to control android with (code-heavy) custom scripts


First time here. Glad to find a place with so many users and activity. I was hoping I could get some general information about a task I am trying to accomplish.

I am looking for a code-heavy way of controlling an android phone with scripts. For example, can you hook your android up to your PC and then control it virtually as if you were doing everything with your finger using scripts?

In my mind I imagine the code would look something like this (this is fake code):

1. var i = 30px;
2. Touch the screen at coordinates x, y;
3. Scroll to cords x, y minus i;
4. Touch the screen at cords x, y;
5. Swipe to cords x + 80, y;
6. Single click cords x, y;
7. if (cords x, y = rgb(0, 0-255,0) { //aka a shade of green
8. var count = count++ }

I can code in several languages including Java, and am just starting out in this so any help would greatly be appreciated.

Thank you

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by kuhic.blanca
3 hours ago
Last post by jones.muriel
3 hours ago
Last post by qwelch
1 hour ago
help me
Started by yjohnston
Last post by maynard90
4 hours ago
Last post by harvey.koss
4 hours ago
Last post by eriberto76
1 hour ago
Last post by therese.mclaughlin
2 hours ago
[Q] hero 2.3
Started by michel20
Last post by antonette03
4 hours ago
Last post by lisa.jerde
4 hours ago
Last post by smith.daphnee
36 minutes ago
Started by louie59
Last post by bednar.antwan
3 hours ago
Last post by gjast
2 hours ago
Started by jtremblay
Last post by gbraun
36 minutes ago
Last post by cierra.bartell
59 minutes ago
Last post by katelyn09
2 hours ago