Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李雅为
/
wechat_click
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0ca3ca45
authored
Feb 26, 2018
by
jeffrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交下 不动了
parent
90076315
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
README.md
+4
-3
app/src/main/java/com/xf/weixinclick/NewService.java
+7
-2
key.jks
+0
-0
No files found.
README.md
View file @
0ca3ca45
1 需要在设置里面开通辅助功能 名字weixinclick
1 需要在设置里面开通辅助功能 名字weixinclick
2 需要root权限
1 需要root权限
3 我把间隔时间都调慢了 周一来优化下
1 需要把应用设置为无限制模式
\ No newline at end of file
1 我把间隔时间都调慢了 周一来优化下
\ No newline at end of file
app/src/main/java/com/xf/weixinclick/NewService.java
View file @
0ca3ca45
...
@@ -89,8 +89,13 @@ public class NewService extends AccessibilityService {
...
@@ -89,8 +89,13 @@ public class NewService extends AccessibilityService {
case
WeChatUi:
case
WeChatUi:
if
(
WeChatStatus
.
status
[
0
])
{
if
(
WeChatStatus
.
status
[
0
])
{
if
(
fill
())
{
if
(
fill
())
{
delayDeal
(
1000
,
new
IDelayMethord
()
{
@Override
public
void
delayMethord
()
{
send
();
send
();
delayDeal
(
3000
,
new
IDelayMethord
()
{
}
});
delayDeal
(
2000
,
new
IDelayMethord
()
{
@Override
@Override
public
void
delayMethord
()
{
public
void
delayMethord
()
{
Log
.
d
(
"maptrix"
,
"开始点击"
);
Log
.
d
(
"maptrix"
,
"开始点击"
);
...
@@ -188,7 +193,7 @@ public class NewService extends AccessibilityService {
...
@@ -188,7 +193,7 @@ public class NewService extends AccessibilityService {
*
*
*/
*/
private
void
longPress
()
{
private
void
longPress
()
{
delayDeal
(
2
000
,
new
IDelayMethord
()
{
delayDeal
(
4
000
,
new
IDelayMethord
()
{
@Override
@Override
public
void
delayMethord
()
{
public
void
delayMethord
()
{
execShellCmd
(
"input swipe 300 600 300 600 4000"
);
execShellCmd
(
"input swipe 300 600 300 600 4000"
);
...
...
key.jks
0 → 100644
View file @
0ca3ca45
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment