I want to release my native web app using webview with local HTML files but before i publish it to public i want to know how can i encrypt my asset files in B4a.
Because even we export our program to apk we can still see the asset files in android rooted, i want to protect my html codes and files to hacker any suggestion please?
If you don't use the designer you can also use some subs (e.g. CreateEdittext, CreateLabel, etc.) to create the layout. The data for the views like top, left, width and height can then also be encrypted. Store the info in the asset folder, too. A bit of work but if someone wants to copy parts of your app, the layout isn't usable or it is hard to "hack".
There's a point that eludes me: to decrypt all that stuff you need to provide your code the password. If you store it in code, well, it's there. If you download it at runtime from a server, decompiling your code gives hints on how to download it anyway. So, how secret it's the secret?
You could adopt a steganography-like method to hide it, but will it suffice?