B4J Question how do I protect the assets within the .jar from theft or changes?

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
is there any way to encrypt the images, load them into memory and import into X2 or ImageView effectively preventing any user from stealing files easily?
 

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
have some code example ?
just so I have a sense of how to transform encrypted files into objects or the like?
 
Upvote 0

xulihang

Active Member
Licensed User
Longtime User
B4XEncryption uses password. I think if we write the password in the code, the code may be easily decompiled and the password will be revealed. But I don't know any way to avoid this.

The jarsigner can be used to avoid modification but I didn't find it can protect files from being copied.
 
Upvote 0
Top