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 8250435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:53:20+00:00 2026-06-07T23:53:20+00:00

Background: In the process of creating an android application, I am messing around with

  • 0

Background: In the process of creating an android application, I am messing around with different hashing techniques and speeds. I was using the Android native stuff until I found SpongyCastle ( i.e. BouncyCastle ), which turned out to be a lot faster. The SpongyCastle .jar file is fairly large, and my .apk is over 800kb with just the jar and a couple of testing classes ( and all of the necessary android fluff).

Question pt 1: Is this normal for .jar files to do to an APK? Do they usually bloat out the file?

Question pt 2: Is there any way for me ( either via source or jar ) to cut down the file? I’m only using the SHA256 and SHA1 hash schemes, and I have not been able to figure out how to use just those two hash schemes without including the entire jar.

Thoughts?

Edited: ProGuard works wonders.

  • 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-06-07T23:53:22+00:00Added an answer on June 7, 2026 at 11:53 pm

    Use ProGuard. It excels at trimming down parts of dependencies that you don’t use. It’s specifically mentioned for use on Android applications here.

    (I contribute to Guava, which is a pretty big library, but a lot of people want to use it for Android. We point them to ProGuard.)

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

Sidebar

Related Questions

Background: I'm in the process of creating a web service using ASP.NET 2.0. This
I'm creating a bash script that will run a process in the background, which
Can I run a PHP CGI script as a background process using exec() ?
I am new to android development. I am creating an android application, in which
First, the background: I am creating a Flex application with a component that displays
I'm building an Android application that starts a process by calling su and sending
I am creating a WCF web service using wsHttpBinding and a corresponding application that
Background: I have a JSF 2.0 application using MyFaces. Using this application, the users
I'm developing an Android application that consists of: a lightweight background service that logs
I am creating a simple application in Android. When I compile and run it

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.