Browse Source

更新需求字段及说明

master
b504165808 3 years ago
parent
commit
a5fb473031
  1. 3
      README.md
  2. 14
      app/src/main/java/com/example/myapplication/MainActivity.java

3
README.md

@ -27,4 +27,7 @@ if (!autoTkScriptServer.isStart())
// 检查抖音APP在用户手机中是否安装 // 检查抖音APP在用户手机中是否安装
function checkAppInstalled checkAppInstalled(MainActivity.this, "com.ss.android.ugc.aweme"); function checkAppInstalled checkAppInstalled(MainActivity.this, "com.ss.android.ugc.aweme");
// 启动抖音目标页面后,进入脚本执行任务,返回是否完成任务,如返回为true,则标记此用户的此次涨粉任务或者私信任务已经完成,后台在数据库今天的涨粉或者私信任务完成数上+1
boolean isSuccessed = autoTkScriptServer.startFocusMission();

14
app/src/main/java/com/example/myapplication/MainActivity.java

@ -114,11 +114,15 @@ public class MainActivity extends Activity {
} }
} }
// if(autoPrivateMsgList.length>0){ if(autoPrivateMsgList.length>0){
// for(String userId:autoPrivateMsgList){ for(String userId:autoPrivateMsgList){
// break; intent.setData(Uri.parse("snssdk1128://user/profile/" + userId));
// } startActivity(intent);
// } Thread.sleep(5000);
boolean isSuccessed = autoTkScriptServer.startPrivateMsgMission();
}
}
} else { } else {
Toast.makeText(MainActivity.this, "您未安装最新版抖音,请安装后再启动噢!", Toast.LENGTH_SHORT).show(); Toast.makeText(MainActivity.this, "您未安装最新版抖音,请安装后再启动噢!", Toast.LENGTH_SHORT).show();

Loading…
Cancel
Save