View Single Post
Old 03-07-2018, 06:03 AM   #398
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by mdp View Post
sending a few packets is sufficient
The funny thing is that it can already be done, but it's a hack...
In that modified APK I published, I forgot to remove one line where I log the taps.
It is sufficient (but not a full or clean job) to retrieve those lines through a `logcat` stream in some software on the desktop and act accordingly...

I would prefer to send packets to the adb server on the computer. It is not clear to me at the moment how to do it without any hassle to the user: the adb server creates a network on the localhost, I am not user how to access it from the Android device:

tcp 0 0 127.0.0.1:59294 127.0.0.1:5037 ESTABLISHED 4716/adb

Last edited by mdp; 03-07-2018 at 06:05 AM.
mdp is offline   Reply With Quote