4‎ > ‎9‎ > ‎

d

Developer
  • CodeFights Scores $2.4 Million To Turn Coding Practice Into A Game

    CodeFights Scores $2.4 Million To Turn Coding Practice Into A Game

  • Chef Launches Chef Delivery DevOps Workflow Service For The Enterprise

    Chef Launches Chef Delivery DevOps Workflow Service For The Enterprise

  • Sinch Blasts To $60M Run Rate In 10 Months

    Sinch Blasts To $60M Run Rate In 10 Months

  • Browse more...

Facebook
  • Facebook’s New Photo “Scrapbook” Lets Parents Give Kids An Official Presence

    Facebook’s New Photo “Scrapbook” Lets Parents Give Kids An Official Presence

  • Facebook’s Messenger Platform Must Go Beyond Apps And Embrace The Web

    Facebook’s Messenger Platform Must Go Beyond Apps And Embrace The Web

  • The VR-Smartwatch Continuum

    The VR-Smartwatch Continuum

  • Browse more...

Android
  • 15 TechCrunch Stories You Don’t Want To Miss This Week

    15 TechCrunch Stories You Don’t Want To Miss This Week

  • An Ex-Googler Launches An In-Home Care Startup Called Honor And Raises $20 Million

    An Ex-Googler Launches An In-Home Care Startup Called Honor And Raises $20 Million

  • Google Bans China’s Website Certificate Authority After Security Breach

    Google Bans China’s Website Certificate Authority After Security Breach

  • Browse more...

F82015
  • The Biggest Challenges Left In Virtual Reality, According To Oculus

    The Biggest Challenges Left In Virtual Reality, According To Oculus

  • Facebook Open-Sources React Native

    Facebook Open-Sources React Native

  • Facebook’s Aquila Drone Will Beam Down Internet Access With Lasers

    Facebook’s Aquila Drone Will Beam Down Internet Access With Lasers

  • Browse more...

open source
  • Three 20-Somethings Sell College Project To Docker

    Three 20-Somethings Sell College Project To Docker

  • IBM Goes Deep With Comprehensive Cloud Initiative

    IBM Goes Deep With Comprehensive Cloud Initiative

  • Pivotal Open Sources Key Parts of Its Big Data Suite

    Pivotal Open Sources Key Parts of Its Big Data Suite

  • Browse more...

Facebook Launches 3 New Open-Source Tools For Android Developers

Posted Mar 26, 2015 by Frederic Lardinois (@fredericl)
  • 0

    SHARES
Next Story

Sources: Magic Is Raising $12M From Sequoia At A $40M Valuation

Most of Facebook’s 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.

popular_devices_by_year_class

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 doesn’t 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.

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. Unlike Year Class, though, this takes a little bit more coding to set up, and the tool obviously has to first gather some data before you can actually tune your app according to the actual network speeds the user is getting.

10333123_900423626670684_650257398_n

The third tool, Fresco, is a new image library for Android apps. The idea here is to ensure that apps don’t run out of memory when they load multiple images by being smarter about memory management (those GIFs can get huge, after all) and streaming images when possible.

The system also handles basic functions like displaying placeholders and image caching. You can find the technical details about how exactly this works here.

  • 0

    SHARES
  • 0 Share
  • 0 Tweet
  • 0 Share
  • 0
  • 0
  • 0
  • 0
Advertisement
    Advertisement

    CrunchBase

    • Facebook

      • Founded 2004
      •    
      • Overview Facebook is an online social networking service that allows its users to connect with friends and family as well as make new connections. It provides its users with the ability to create a profile, update information, add images, send friend requests, and accept requests from other users. Its features include status update, photo tagging and sharing, and more. Facebook’s profile structure includes …
      • Location Menlo Park, California
      • Categories Communities, Colleges, Identity, All Students, Facebook Applications, Social Media
      • Founders Mark Zuckerberg
      • Website http://www.facebook.com
      • Full profile for Facebook
    • Android

      • Description Android is a software platform for mobile devices based on the Linux operating system and developed by Google and the Open Handset Alliance. It allows developers to write managed code in Java that utilizes Google-developed software libraries, but does not support programs developed in native code. The unveiling of the Android platform on 5 November 2007 was announced with the founding of the Open …
      • Website http://code.google.com/android
      • Full profile for Android

    TechCrunch Newsletters

    Related Videos

    • Facebook Messenger's Content Push | Crunch Report Play Video

      Facebook Messenger’s Content Push | Crunch Report

      5:16
    • Facebook's Riff & Best April Fools' | Crunch Report Play Video

      Facebook’s Riff & Best April Fools’ | Crunch Report

    • Amazon's Dash Button Is Real | Crunch Report Play Video

      Amazon’s Dash Button Is Real | Crunch Report

    More Related Videos
    • F82015
    • Android
    • open source
    • Facebook
    • Developer
    • Popular Posts

      #auto

      Subpages (1): 9
      Comments