Most of Facebooks announcements at its F8 developer conference this week were iOS-centric, but today, the company also released three new open source tools for Android developers.
The first is a performance segmentation library called Year Class that is meant to help developers quickly figure out what kind of device a user is running. Thanks to this, a developer can quickly tune an app for an older device by turning on some advanced animations, for example, or enable fancier features for more modern phones. For the most part, 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 second new tool, Network Connection Class, does something similar, but for network connections. Turns out, just knowing that a user is on an HSPA connection doesnt actually tell you all that much about the actual network speed. According to Facebook, the speed of HSPA connection can vary by 5x between networks, for example.
See The Original Story click here