• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Mods Control android phone from PC with custom scripts

storm3012

Lurker
Hi everyone.

This is my first time here on these forums and I was looking for some help with something.

I am looking to control an android phone with custom scripts. More so than macros, I am looking for something code-heavy (I can code in Java, among other languages).

For example, I imagine it would look something like this:

1. var i = 40px;
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++ }

The above is fake/made-up code, but that is what I am looking to do. In essence, something of a "Robot."

I think that maybe this would work by connecting your droid to your PC and then doing it that way. Unless it is possible with using only the droid? Just wondering but either way is fine as long as it gets the job done.

Thank you for your help =)
 
Back
Top Bottom