QR Scanner v2.8.7版本的 MD5 值为:9dcdcf654454b02f97d5fcd68f9f4629
以下内容为反编译后的 n.java 源代码,内容仅作参考
package ea;
import android.content.Context;
import android.database.Cursor;
import android.database.MatrixCursor;
import com.github.appintro.BuildConfig;
import com.github.appintro.R;
import java.util.Calendar;
import java.util.Date;
public final class n {
public static class a extends j0.a<net.qrbot.ui.detail.c> {
private final int f9635p;
a(androidx.fragment.app.e eVar) {
super(eVar);
this.f9635p = eVar.getIntent().getIntExtra("intent.extra.CURSOR_OFFSET", 0);
}
@Override
public net.qrbot.ui.detail.c F() {
return net.qrbot.ui.detail.g.H(n.d(i(), this.f9635p), new b());
}
@Override
public void r() {
super.r();
h();
}
}
public static class b implements net.qrbot.ui.detail.y {
private b() {
}
@Override
public Cursor a(a9.d dVar) {
return new MatrixCursor(new String[]{"_id", "marked_for_delete", "label", "url", "format", "execute_automatically"});
}
@Override
public void b(Cursor cursor) {
g.a(cursor);
}
}
private static Date b(Date date, int i10, int i11) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
calendar.add(i10, i11);
return calendar.getTime();
}
public static Cursor c(Context context) {
return d(context, 0);
}
public static Cursor d(Context context, int i10) {
int i11;
int i12;
MatrixCursor matrixCursor = new MatrixCursor(new String[]{"_id", "created_at", "format", "text", "metadata", "notes", "favorite_marked_at"});
Date date = new Date();
if (i10 <= 0) {
matrixCursor.addRow(new Object[]{1, m.a(date), Integer.valueOf(a9.h.B.ordinal()), "MECARD:N:" + context.getString(R.string.demo_business_card_name) + ";TEL:01234–567890;EMAIL:bart@example.com;URL:http\\://example.com/simpsons;ADR:" + context.getString(R.string.demo_business_card_street) + ", " + context.getString(R.string.demo_business_card_city) + ";", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
i11 = 1;
} else {
i11 = 0;
}
if (i10 <= 1) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 10, -1)), Integer.valueOf(a9.h.B.ordinal()), "WIFI:S:" + context.getString(R.string.demo_wifi_ssid) + ";T:WPA;P:s3cr3t;;", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 2) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 10, -3)), Integer.valueOf(a9.h.B.ordinal()), context.getString(R.string.demo_url), BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 3) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -1)), Integer.valueOf(a9.h.f89x.ordinal()), "5901234123457", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 4) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -7)), Integer.valueOf(a9.h.B.ordinal()), "BEGIN:VEVENT\nSUMMARY:" + context.getString(R.string.demo_important_event) + "\nLOCATION:Paris\nURL:http://www.paris.example.com\nDTSTART:20150508T200000\nDTEND:20150508T210000\nEND:VEVENT", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 5) {
i11++;
i12 = 6;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -30)), Integer.valueOf(a9.h.B.ordinal()), context.getString(R.string.demo_i_love, context.getString(R.string.app_name)), BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
} else {
i12 = 6;
}
if (i10 <= i12) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -90)), Integer.valueOf(a9.h.B.ordinal()), "geo:49.287437,83.2345,400", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 7) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -365)), Integer.valueOf(a9.h.B.ordinal()), "SMSTO:0123412345698765:Bart Simpson likes QRbot.", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 8) {
i11++;
matrixCursor.addRow(new Object[]{Integer.valueOf(i11), m.a(b(date, 5, -730)), Integer.valueOf(a9.h.B.ordinal()), "tel:0234502345123452345", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
if (i10 <= 9) {
matrixCursor.addRow(new Object[]{Integer.valueOf(i11 + 1), m.a(b(date, 5, -1825)), Integer.valueOf(a9.h.B.ordinal()), "MATMSG:TO:bart@example.com;SUB:QRbot;BODY::D;;", BuildConfig.FLAVOR, BuildConfig.FLAVOR, m.a(m.f9629a)});
}
return matrixCursor;
}
public static j0.c<net.qrbot.ui.detail.c> e(androidx.fragment.app.e eVar) {
return new a(eVar);
}
public static net.qrbot.ui.encode.g f(Context context) {
net.qrbot.ui.detail.c H = net.qrbot.ui.detail.g.H(c(context), new b());
return net.qrbot.ui.encode.g.a(H.i(), H.c(), H.e(), H.h(context));
}
}