13Poker by gametower unlimited gems v0.4版本的 MD5 值为:51324fc0f195c34821074948ab266846
以下内容为反编译后的 f.java 源代码,内容仅作参考
package com.vdopia.android.preroll;
import android.content.Context;
import android.util.Log;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.net.URLEncoder;
public final class f {
private static String f256a = "http://serve.vdopia.com/adserver/html5/inwapads?version=1.0&ak=[api_key]&adFormat=preappvideo&output=vast&di=[device_id]&ua=[user_agent]";
public static String a(Exception exc) {
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
exc.printStackTrace(printWriter);
printWriter.close();
return stringWriter.toString();
}
static String a(Object obj) {
if (obj == null) {
return "";
}
if (obj instanceof String) {
return (String) obj;
}
String name = obj.getClass().getName();
int lastIndexOf = name.lastIndexOf(46) + 1;
if (lastIndexOf > 0) {
name = name.substring(lastIndexOf);
}
return name;
}
public static String a(Context context, String str) {
return f256a.replace("[device_id]", g.a(context)).replace("[api_key]", str).replace("[user_agent]", URLEncoder.encode(VDO.f239a));
}
static class a {
static int f257a = 4;
public static void a(Object obj, String str) {
a(6, obj, str);
}
public static void b(Object obj, String str) {
a(5, obj, str);
}
public static void c(Object obj, String str) {
a(4, obj, str);
}
public static void d(Object obj, String str) {
a(3, obj, str);
}
public static void e(Object obj, String str) {
a(2, obj, str);
}
private static void a(int i, Object obj, String str) {
if (i >= f257a) {
Log.println(i, "VDO", String.valueOf(f.a(obj)) + ":" + str);
}
}
}
}