View Single Post
Old 03-08-2018, 04:47 PM   #418
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
You don't need that, just use that "-T1" as I mentioned above
Ah, I see. Thanks for the persistence

On a side note, it seems silly that there's both a -T <count> and a -T '<time>'

Quote:
should you wish to accept your mission, the script should, at the begnning, check the screen resolution. Because those hardcoded values in
Code:
				x = int(m.group("x"))*2104/2200
				y = int(m.group("y"))*1560/1650
Should go into variables.
The local version does this. Any thoughts on what to do for non-mirroring arrangements?

Quote:
The other two values, the tablet resolution, could be taken with another adb command (maybe an `adb shell getprop [...]`

EDIT: more exactly,
`adb shell getprop ro.product.board` returns 'Max2'.
You can use a switch on that output to impose that tablet_res_w = 2200 and tablet_res_h = 1650.
Thanks for the pointers -- intend to try this out.
sogaiu is offline   Reply With Quote