和通讯录 v3.9.6版本的 MD5 值为:669178e2ee1b2311daf378bd20c6bbe1
以下内容为反编译后的 l.java 源代码,内容仅作参考
package com.iflyvoice.vvmsdk.core;
import android.os.Handler;
import android.util.Xml;
import com.google.android.mms.pdu.EncodedStringValue;
import com.huawei.mcs.base.database.DatabaseInfo;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
class l extends Thread {
final String f4357a;
final Handler f4358b;
final i c;
public l(i iVar, String str, Handler handler) {
this.c = iVar;
this.f4357a = str;
this.f4358b = handler;
}
@Override
public void run() {
try {
ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(new p("http://120.198.250.195:90/sdkqueryactivate").a(this.c.a()).a("key", this.f4357a).a().a().getBytes(EncodedStringValue.StringEncoding.UTF_8));
XmlPullParser newPullParser = Xml.newPullParser();
newPullParser.setInput(byteArrayInputStream, EncodedStringValue.StringEncoding.UTF_8);
int i = -1;
String str = "";
String str2 = "";
for (int eventType = newPullParser.getEventType(); eventType != 1; eventType = newPullParser.next()) {
switch (eventType) {
case 2:
String name = newPullParser.getName();
if ("result".equals(name)) {
i = Integer.valueOf(newPullParser.nextText()).intValue();
break;
} else if (DatabaseInfo.GlobalDbVerColumn.DESC.equals(name)) {
newPullParser.nextText();
break;
} else if ("uid".equals(name)) {
str = newPullParser.nextText();
break;
} else if ("token".equals(name)) {
str2 = newPullParser.nextText();
break;
} else {
break;
}
}
}
byteArrayInputStream.close();
com.iflyvoice.vvmsdk.util.c.b("resultCode:%s,uid:%s,token:%s", Integer.valueOf(i), str, str2);
if (i == 0) {
this.f4358b.post(new m(this, str, str2));
return;
}
} catch (IOException e) {
e.printStackTrace();
} catch (XmlPullParserException e2) {
e2.printStackTrace();
}
this.f4358b.sendEmptyMessage(18);
}
}