Popular social-networking site
Facebook has launched three new open source tools for Android developers namely
Year Class, Network Connection Class and Fresco.
The Year Class is aimed to help
developers quickly figure out what kind of device a user is running. With this,
a developer can quickly tune an app for an older device by turning on some
advanced animations, or enable fancier features for more modern
phones.
For the most part of its
operations, the tools use CPU speed as well as the number of available cores
and RAM to determine the "year class" of a given device.
The Network Connection Class has
a similar task like the Year Class but here it deals with the network
connections. Using this new tool, developers can get a better idea of the kind
of speeds their users are getting on their networks and tune their apps
accordingly.
The third tool, Fresco, is a new
image library for Android apps. It is aimed to ensure that apps don't run out
of memory when they load multiple images by being smarter about memory
management and streaming images when possible.
The system also handles basic
functions like displaying placeholders and image caching.
Post a Comment