iapp判断是否加群代码java
String dz="/storage/emulated/0/tencent/msflogs/com/tencent/mobileqq/";
//截取开头
String t="com.tencent.mobileqq.";
//获取当前时间
String b1="0";
String b2 = i.time(b1);
//替换格式
String b3 = "-";
String c = ".";
String b4 = i.sr(b2, b3, c);
//将提示:567
//syso(b4);
//获取需要的
String b5 = "20";
String c = ":";
String b6 = i.sj(b4,b5,c);
//syso(b6);
//最终结果
String b8 = " ";
String c = ".";
String b7 = i.sr(b6, b8, c);
//将提示:567
//syso(b7);
String jg=dz+t+b7+".log";
syso(jg);
//读取
String a =i.fr(jg);
//聊天群
String b = "聊天群";
//全网首发魔神制作
int cc = 0;
int d = i.siof(a, b, cc);
syso(d);
//判断
if(d!=-1){
tw("已经加入官方群");
}
评论