I am developing an Android app which has hundreds of .jpg files (over 300) each one of around 40kB. I would like to know if there is a way of reducing the size of my app. I looked at a similar question here Reducing Android App Size, but the problem still exists. Is there perhaps a way to compress the images and decompress them in real time when needed, or any other way to make my app more space efficient while not sacrificing speed?
How to reduce Android app size by compressing images?
175 views Asked by James Ele At
1
There are 1 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in FILESIZE
- In Linux, why lseek(1.txt, 0 , SEEK_END) = 1.txt's size +1?
- Why does the size of any HTML page become 6 bytes greater after saving it to a file?
- Angular build warning "Bundle initial exceeded maximum budget." I know how to remove the warning, but how big is too big?
- git repo size due to commit binary file to multiple branches
- how to get size of file bigger than LONG_MAX in c?
- How can we use a command to get exact size of files or folders in CMD?
- C# Fastest Way to Get Total Directory Size With 75,00 Files
- A file with actual size 1 byte uses 8 blocks of 4096 bytes on the filesystem
- MySQL Binlog increases beyond normal specified
- How do I reduce iTextSharp PDF Document Overhead size?
- How to fail Ansible playbook if filesize is zero (0)
- How do I update a WPF progress bar which is fluid? Checking the size of a file in a loop does not update in a fluid manner
- Convert API: What is the maximum file size we can upload through HTTP Request
- Move a given volume (size) of files
- What is the most efficient way to store a binary terra raster, in terms of file size?
Related Questions in SPACE-EFFICIENCY
- What would be the most efficient way to store multiple sets of fixed arrays (std::vector)?
- Is it considered efficient to pass functions as arguments over passing variables?
- Efficiency of Arrays vs Ranges in Ruby
- Question about how SQL and NoSQL manage storage
- Why does MySQL prefer ENUM('N','Y') over BOOL?
- Do the tail-recursive version of the length function saves stack space at run-time?
- why does python's array uses 2 bytes for unsigned ints, whereas C expects 4 bytes in general?
- Bubble sort algorithm efficiency
- How to reduce a pandas Series by performing an operation on every set of N sequential elements
- How can I store an image file in the utf-8 HTML source with the fewest bytes as possible?
- How to reduce Android app size by compressing images?
- When reassigning a Python reference to itself, does it un-assign and re-assign, or do nothing?
- How do I go through an array of numbers efficiently in Python?
- Onclick with Ctrl hold duplicate one li element to another list
- Does assigning same value to datatype decrease efficiency?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you have used tinypng for every resource you did your best with this kind of solution. In general, it's better to use vector graphics where the general icon will be <1kb. Also, a vector resource can be animated. If it's quite simply bitmaps, you can generate them in code on demand. Also, you can divide your app by dynamic features and each will be downloaded on demand with their part of the resources.
There is no standard Android solution out of the box. Probably, you can write something on your own. But this looks like too much effort.
Still, the most practical solution: use vector graphics as max as possible, generate in code what you can generate, compress with tinypng the others. That should be enough or you should have a very good reason for making some extra work.
For more info about vector graphics in android. For standard vector graphic import right in the android studio. Web-site where you can download icons and insert them into the project.