dimanche 26 février 2017

Get hashcode of signature with reflection android java [on hold]

hi i want to get hashcode of my signature via reflection so that the Signature API is not shown in decompiler instead called by the reflection

Now we get this by this

try {
    PackageInfo v1 = getPackageManager().getPackageInfo(
                        getPackageName(), PackageManager.GET_SIGNATURES);
    for (Signature v0 : v1.signatures) {
        String v12 = v0.toString();
        int v13 = v0.hashCode(); // this is what i need via reflection of Signature API
    }
} catch (PackageManager.NameNotFoundException e) {
}





Aucun commentaire:

Enregistrer un commentaire