Android Question Can I encrypt layout file?

Binary01

Active Member
Licensed User
Longtime User
Hello,

Someone reused my layout files in his b4a project.
My APK is unziped and he got these layout files from assets folder.
How can i encrypt these layout files in my b4a project?

Thanks.
 

DonManfred

Expert
Licensed User
Longtime User
You can not encrypt them.
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Hello,

Someone reused my layout files in his b4a project.
My APK is unziped and he got these layout files from assets folder.
How can i encrypt these layout files in my b4a project?

Thanks.
It seems too cumbersome, perhaps they have simply made it over again.

You can build views from code or even find a way to encrypt files used for layouts, but a layout can always rebuild, just look at it and recreate an equal one
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Now I have to change layout script to source code.
I wouldn´t pay attention on this! You only make your work much harder. Using Layouts is much easier (and in some cases the only and correct way to implement Objects into a Layout).
Layouts can easily rebuild...
 
Upvote 0

udg

Expert
Licensed User
Longtime User
Someone reused my layout files in his b4a project.
Publish them under a copyright notice. This will give you ample rights, even to suit them or to receive some royalties.
I'm not a fan of lawyers and courts, but unfortunatley this is the world we live in.

ps: any tech measure could be hacked..
 
Upvote 0
Top