Stick hero 外掛軟體 android 代碼編寫與分析(完善中)

來源:互聯網
上載者:User

標籤:

  論文寫完,感覺頭腦好久沒被靈感刺激了,前些天室友介紹了個小遊戲,我突然來了靈感可以寫的簡單的android 程式實現自動運行。主要的過會為三步:

1,Android 螢幕的擷取。因為安全的原因,過程比較麻煩,我目前採用的是開啟使用者偵錯模式,利用adb指令碼反覆迴圈。

2,映像分析。這部分代碼中有體現,過程比較簡單。

3,類比Click。代碼中已經體,,我採用了一種最簡單的方法,代碼將在下面做詳細分析。

先上個圖,一口氣跑到101分:

 完善中。。。下面將進行程式碼分析。。。。

 

 

 

參考:

http://w3facility.org/question/how-to-simulate-touch-from-background-service-with-sendevent-or-other-way/

http://stackoverflow.com/questions/11142843/how-can-i-use-adb-to-send-a-longpress-key-event

https://grymoire.wordpress.com/2014/09/17/remote-input-shell-scripts-for-your-android-device/

Stick hero 外掛軟體 android 代碼編寫與分析(完善中)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.