Will Verduzco · Sep 28, 2013 at 04:00 pm

Quickly Optimize APK and Classes.dex with GOptimize

If you’re trying to minimize your load times by lowering I/O time, optimizing your applications’ resources may be worth looking into. Naturally, loading smaller APKs leads to less time spent reading the application data. With any form of compressed data, there eventually becomes a tradeoff in compute versus read time in higher levels of compression, but for the most part application loads and general device performance seems to be limited by I/O rather than compute performance.

For this reason, XDA Senior Member gu5t3r created a simple BASH script to help you quickly optimize your applications. It mainly works by compressing your PNGs more efficiently. However, it skips the pesky NinePatch files in order to prevent potential force closes. For PNG compression, the tool uses a combination of TruePNG, pngout, and DeflOpt, and gu5t3r claims that it will result in a net halving of storage space compared to the more standard OptiPNG compression.

The script comes in the form of a Cygwin-based BASH script, and it comes with all of the executables you need to get started easily. Users in the thread have reported significant decreases in file size with no loss in functionality. Will it make any actual noticeable difference in performance? That depends on a number of variable such as your device’s I/O speed, CPU power, and application size. That said, it can’t hurt to try.

Make your way over to the utility thread to get in on the action.

[Thanks to Senior Member ct_moi for the tip!]


_________
Want something on the XDA Portal? Send us a tip!
Emil Kako · Jan 31, 2015 at 02:59 pm · 2 comments

Do You Prefer Physical or on Screen Buttons?

More and more smartphone manufacturers have been moving towards on-screen buttons, with Google really pushing for it over the physical button alternative. However, there are still a few OEMs (we're looking at you, Samsung) that have preferred to keep things a bit more traditional. Tell us which way you prefer and why.

DISCUSS
Pulser_G2 · Jan 31, 2015 at 02:08 pm · no comments

New AOSP Branch Details Potential Build System Upgrades?

While there are frequent unexplained changes and pushes to Google's AOSP repositories, an interesting-looking new branch has been pushed out recently, called "master-soong". Taking a look at the changes made to the manifest repository (which is used to specify the repositories to be downloaded when building Android), it appears there are some new repositories making an appearance. Of note here are new prebuilt repositories for Go, and Ninja. Go is a programming language, created by Google, which compiles to produce...

XDA NEWS
GermainZ · Jan 30, 2015 at 09:29 pm · 1 comment

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of your devices -- but what if you wanted to do it quickly without having to install any software or logging in to a website on the recipient end? Most apps require you to do either or both, which can be a hassle (or even a security risk) in some cases. Luckily, XDA Forum Member wyemun has developed CaastMe. Inspired by...

XDA NEWS