This improves the energy efficiency of trekarta by applying the Reduce Size Energy Pattern for mobile applications.
The energy pattern was applied in MapSelection.java. The general idea is when receiving data from an URLConnection or subclasses, if possible, receive the data compressed by GZIP scheme. In this specific case, when receiving data from the urlConnection variable, request for the data to be compressed.
This improves the energy efficiency of trekarta by applying the Reduce Size Energy Pattern for mobile applications. The energy pattern was applied in MapSelection.java. The general idea is when receiving data from an URLConnection or subclasses, if possible, receive the data compressed by GZIP scheme. In this specific case, when receiving data from the urlConnection variable, request for the data to be compressed.