When Facebook strike a reduction in Android’s practical machine, Dalvik, that would hindrance a app development, Google and Facebook worked together to emanate a patch for Gingerbread. “We’re a poignant app to them, and they’re a poignant height for us,” Facebook’s Director of Mobile Engineer Mike Shaver explains. It’s another instance of Facebook’s hardcore mobile engineering training entrance to fruition.
Today during a “whiteboard session” on Android during Facebook domicile in Menlo Park, Shaver talked to a organisation of reporters about a Dalvik fix, Facebook’s attribute with Google, and how it’s branch not usually module engineers though plan managers, designers, and even patron support staffers into mobile developers.
The branch indicate was when Facebook hired mobile training residence Big Nerd Ranch to put employees by an intensive, 40-hour iOS and Android expansion pile-up course. Shaver pronounced “it’s 8 hours a day, 5 days a week. If we have a guest come, they’re sent away. Zuck can leave a message. This is what we do. People come out with their heads a small melty though they can write prolongation formula that Monday.” Big Nerd Ranch is a same patrol that’s taught iOS expansion during Apple and Android expansion during Google. Facebook has lerned 450 mobile engineers with a module given July.
Staffers incited mobile marines recently unclosed a outrageous stumbling retard in Android Gingerbread, that runs on about half of all phones using Android, that on about half a phones in a world. Android’s practical appurtenance Dalvik, that indeed runs a apps we install, had a 3 million process limit. Facebook had already strike that limit, definition it couldn’t build any some-more facilities into a local Android app.
Shaver laid out Facebook’s 3 options: Stop building a Android app, stop charity a Android app for Gingerbread users, or repair Dalvik. Luckily, “we could demeanour underneath a hood and see because we were attack this limit. Not common to be means to do this in a mobile handling system,” Shaver says, complementing Android’s openness.
So a garland of Facebook mobile engineers spent a few weeks examining a problem and came adult with a patch that was usually about 6 lines of code. Shaver happily admits, “We were means to send a patch over to Google to get their opinion. They were really helpful.” Google looked during a patch for a day and gave Facebook a go-ahead. Then Facebook began testing. Shaver says a amicable network was means to collaborate with Google to use their exam labs.
“We went from Defcon 1 and sirens, where we could no longer rise Facebook for half a Android world, to people staying adult to repair it, to being means to extend a height a bit and work with Google on it.” Without a patch, Facebook says it would have had to cruise stripping out features, such as a ability to send SMS messages from Facebook For Android. Later today, Facebook will tell an engineering blog post that sum a patch so other developers can use it and equivocate wasting weeks butting their heads adult opposite Gingerbread Dalvik limits.
The whiteboard event altogether conveyed a thought that after being an iOS-first association for so long, Facebook is removing critical about utilizing Android’s strech to pull a goal of joining a world. While many of a employees competence still cite iPhones, Android’s low-cost and accessibility is creation it a favorite in a nascent general markets Facebook is relying on for growth. Having devs prepared to build Android, as good as carrying Google’s support, means it can edging amicable into a DNA of a open handling system.