I've obfuscated my application using ProGuard 4.7. After that I unpacked my application using Dex2Jar. And I was not happy with the result of obfuscation. And I have the following questions:
1.. How to mask a string constant?
(May be using this option: a string constant is loaded from the server. I know that this will affect performance, but the defense primarily)
2.. How to rename the standard class names?
For example: after obfuscation standart class names remain unchanged. (can make copies of all standard classes and then ProGuard will rename them)
import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.media.MediaRecorder; import android.telephony.TelephonyManager;
3.. ProGuard has created many new packages, but all the working classes are in one of them. How to place them in different packages?
a.a b.a my.package.name // here all working classes of my app b.b c.c
4.. Why are some names of my classes have not changed?