Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve energy efficiency by applying Reduce Size Energy Pattern #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anasofiagribeiro
Copy link

This improves the energy efficiency of World-Weather by applying the Reduce Size Energy Pattern for mobile applications.
The energy pattern was applied in WeatherInformationDisplayer.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 connection variable, request for the data to be compressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant