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