You can...
But already if you put your password / user / etc. in Process_Global and compile in obfuscated mode also if you have ( reverse ) source in java you have this result:
B4X:public class main extends Activity implements B4AActivity { public static boolean _v7 = false; public static String _vv2; public static String _vv3; public static String _vv4; public static String _vv5; static boolean afterFirstLayout = false; public static final boolean fullScreen = false; public static final boolean includeTitle = true; static boolean isFirst = true; public static main mostCurrent; public static WeakReference<Activity> previousOne; public static BA processBA; private static boolean processGlobalsRun = false; public Common __c = null; ActivityWrapper _activity; public ButtonWrapper _button1 = null; public Map _v0 = null; public UltimateListViewWrapper _v6 = null; public MySQL _vv1 = null; BA activityBA; BALayout layout; ArrayList<B4AMenuItem> menuItems; private Boolean onKeySubExist = null; private Boolean onKeyUpSubExist = null; static { _vv2 = ""; _vv5 = ""; _vv4 = ""; _vv3 = ""; } public static String _activity_create(boolean paramBoolean) throws Exception { mostCurrent._activity.LoadLayout("Main", mostCurrent.activityBA); _v5(); if (paramBoolean) { mostCurrent._v6.Initialize(mostCurrent.activityBA, (byte)0, 0, "", "ULV"); UltimateListViewWrapper localUltimateListViewWrapper1 = mostCurrent._v6; BA localBA = mostCurrent.activityBA; UltimateListViewWrapper localUltimateListViewWrapper2 = mostCurrent._v6; localUltimateListViewWrapper1.SetStyle(localBA, (byte)3); _v7 = true; mostCurrent._v0.Initialize(); } mostCurrent._vv1.Initialize(processBA, "MySQL", _vv2, _vv3, _vv4, _vv5); return ""; } .....
Hi MarcoRome,
So if I define the server, database, username and password in Process_Global and obfuscate the details are hidden if they decompile??
Thanks
Aidy