Geeky bean
Geeky bean

Reputation: 525

how can I create java library where it's implementation is hidden?

I'm developing an android app and I want to make one of the app's classes (Java class) a library. I've managed to create a library from that class, but when I use it in another project I can see the all the class's implementation (I'm not able to change it, but I can see all the code).

If I want to distribute this library, what is the best way to hide the implementation?

Upvotes: 2

Views: 209

Answers (1)

You can't, and trying will only annoy your users and provide a false sense of security. If your library is only secure if its implementation is secret, you designed it wrong and need to redo it.

Upvotes: 1

Related Questions