Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6950489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:05:54+00:00 2026-05-27T14:05:54+00:00

I made a program on Android. But this is my thesis and I have

  • 0

I made a program on Android. But this is my thesis and I have to give my project to my lecturer. Well I dont want to show some of the code that I wrote. Then I want to encrypt something. If I give him the completed project then he can look at every part of the codes. I don’t know Java that well. I was thinking that I can create something like a dll file in Java (I dont know what it is in Java?) and do some obfuscation. And then I can use this dll file in my project then the lecturer can’t see all the code.

I hope I explained it. It’s not an apk file. It’s a project and I want to hide some code as dll or whatever.

Edit: How do I create a JAR from an Android project?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:05:55+00:00Added an answer on May 27, 2026 at 2:05 pm

    You can export your class(es) to JAR file(s), then add them to the build path of your project that will be given to the lecturer.

    However, when exporting, remember not to export the source of the classes. I don’t know which IDE you are using, but in Eclipse, just right click the project, choose Export, and check any files you want.

    EDIT: To answer your question in the comment below:

    For example, you have Operator class, which has Add, Subtract, Multiply, Divide static methods in it. Now, you want to call Add(1, 3) in your project (which you will give away), and don’t want people know how the Add method works. So now, when exporting the JAR file, just check the namespace that contains Operator class. Consider the JAR file name is Operator.JAR.

    Copy the Operator.JAR file into your project folder (anywhere will works, but I recommend \lib\Operator.jar). Right click the copied file, choose Build Path -> Add to build path.

    Now in the project, you type in the code Operator.Add(1, 3), Eclipse will tell you it doesn’t know what Operator is. Press Ctrl + Shift + O, it will automically import the needed namespace.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android app I made and everything works but I want to
I have made a program code for shared preference in android. But i am
I'm doing some Android development, and I much prefer Visual Studio, but I'll have
I have made a program in c and wanted to see, how much memory
I have made a registration program. Making use of mysql database. Can I still
I have made my own file type (.ddd) and I made a simple program
I have made a program that list all files and folders(f&f) locating on sd
I have a Android program which you type in equation and them program display
I made this little function: public String getDay() { String day = (String)android.text.format.DateFormat.format(E, new
I am programming on an android app, and I have a program with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.