APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Electrical Cost
版本号:6.0.5
包名称:it.Ettore.spesaelettrica

MD5 校验值:facd8e3913e14e36e7daf9e69fbd45cb

反编译源代码说明

a.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package H1;

import B2.o;
import E1.j;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.view.Menu;
import android.view.View;
import androidx.appcompat.widget.PopupMenu;
import com.google.ai.client.generativeai.common.util.KtorKt;
import e2.C0204a;
import e2.C0206c;
import it.Ettore.spesaelettrica.R;
import it.ettoregallina.debugutils.ActivityInfoDevice;
import java.util.Arrays;
import java.util.Locale;
import kotlin.jvm.internal.k;

public final class a implements View.OnClickListener {

    public final int f343a;

    public final Context f344b;

    public final Object f345c;

    public final Object f346d;

    public a(Context context, Object obj, Object obj2, int i) {
        this.f343a = i;
        this.f344b = context;
        this.f345c = obj;
        this.f346d = obj2;
    }

    @Override
    public final void onClick(View view) {
        Object obj = this.f346d;
        Object obj2 = this.f345c;
        Context context = this.f344b;
        int i = 0;
        switch (this.f343a) {
            case 0:
                f this$0 = (f) obj2;
                k.e(this$0, "this$0");
                j abitazione = (j) obj;
                k.e(abitazione, "$abitazione");
                PopupMenu popupMenu = new PopupMenu(context, view);
                Menu menu = popupMenu.getMenu();
                k.d(menu, "getMenu(...)");
                menu.add(0, 1, 1, context.getString(R.string.lista_bollette));
                menu.add(0, 2, 1, context.getString(R.string.rinomina));
                menu.add(0, 3, 1, context.getString(R.string.delete));
                popupMenu.setOnMenuItemClickListener(new b(i, this$0, abitazione));
                popupMenu.show();
                return;
            default:
                C0204a c0204a = ActivityInfoDevice.Companion;
                ActivityInfoDevice this$02 = (ActivityInfoDevice) context;
                k.e(this$02, "this$0");
                e2.f deviceInfo = (e2.f) obj2;
                k.e(deviceInfo, "$deviceInfo");
                C0206c appInfo = (C0206c) obj;
                k.e(appInfo, "$appInfo");
                e2.g[] gVarArr = {deviceInfo, appInfo};
                StringBuilder sb = new StringBuilder();
                for (int i4 = 0; i4 < 2; i4++) {
                    e2.g gVar = gVarArr[i4];
                    sb.append(gVar.a());
                    sb.append(KtorKt.SSE_SEPARATOR);
                    sb.append(gVar.b());
                    sb.append("\r\n\r\n\r\n");
                }
                String sb2 = sb.toString();
                k.d(sb2, "toString(...)");
                Intent intent = new Intent("android.intent.action.SENDTO");
                intent.setData(Uri.parse(String.format(Locale.ENGLISH, "mailto:%s?subject=%s&body=%s", Arrays.copyOf(new Object[]{"info@egalnetsoftwares.com", Uri.encode("Device info"), Uri.encode(sb2)}, 3))));
                try {
                    this$02.startActivity(Intent.createChooser(intent, "Send mail to developer"));
                    return;
                } catch (ActivityNotFoundException e) {
                    o.a0(this$02, 1, "E-mail app not found!").show();
                    e.printStackTrace();
                    return;
                }
        }
    }
}