I want to make my application protective using obfuscation or any good technique as I show. I reviewed a number of questions about SO.
When decompiling, I see two good techniques.
- The application is hiding
Androidmanifest.xmlbecause I decompiled the code and Manifest.xml is missing or not. And another code that I saw after decompilation, as shown below.
private static void \u02ca(final Context context, String s, final String s2)
{
if (s == null || s.equals(""))
{
return;
}
final long currentTimeMillis = System.currentTimeMillis();
final boolean \u02cf = \u0632.\u02cf(context);
if (!\u02cf || (\u02cf && !\u0632.\u02ce(context)))
{
if (s == null)
{
s = null;
}
\u02ca(context, s);
}
while (true)
{
if (s2 == null || s2.equals(""))
{
break Label_0076;
}
try
{
Toast.makeText(context, (CharSequence)s2, 1).show();
\u0632.\u02ca(context, "letang_last_time", currentTimeMillis);
}
catch (Exception ex) {
continue;
}
break;
}
}
Can someone understand what this example uses to protect apk from decompilation.
How to make my UniCode code look like a symbol after decompilation? And how to hide the manifest from decompilation.
Edit
I tested three different decompilers. But the code remains the same. None of Procyon,CFR,FernFlowerthis helps to see the code.