Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    LinkedIn Open-Sources Tools for Android Developers

    Written by

    Darryl K. Taft
    Published August 4, 2016
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      LinkedIn continues to open-source core technologies to help developers and IT staff better build and manage applications, this week delivering two Android-based tools to the community.

      The first is Shaky, an Android shake-for-feedback library that enables Android device users to shake their phones to report bugs in features and applications.

      In the past year, LinkedIn employees used Shaky to report more than 5,000 internal features and bugs to the company’s developers. Now LinkedIn is making the technology available to the community at large so any developer can implement it for users to report bugs in their applications.

      Shaky was heavily inspired by the shake-to-send-feedback feature in Google Maps, Nick Aversano, a LinkedIn software engineer who worked on the project, wrote in a blog post. Shaky uses Square’s Seismic to detect device shakes and initiate feedback from users.

      “While there are more robust closed-source solutions, we wanted to create a simpler and extensible alternative,” he said.

      Aversano said LinkedIn releases new versions of its applications internally to employees before delivering them to the external user base of LinkedIn members. Some bugs are simply difficult to expose until an app is used by enough people, he said. And often it is the company’s employees that find bugs that the LinkedIn developers miss.

      However, prior to the release of Shaky, a LinkedIn employee that found a bug would have to create a ticket to report it. Because this process was awkward on a mobile phone, LinkedIn created Shaky to make it easier to report bugs, thus encouraging them to do so.

      “We needed a seamless way for employees to report their findings within our new mobile app,” Aversano said.

      Now, users don’t have to navigate away from the screen where things went wrong, he said.

      “When a user shakes their device, Shaky automatically captures relevant app information, including: a screenshot, a log, and the most recent pages the user visited,” Aversano said. “Shaky also provides an API that can be extended to capture even more app-specific information. With just a few lines of code, developers can get their own feedback reporting flow. This includes the initial dialog, the type of feedback, a screenshot of the app (which users can draw on to show what’s wrong), and a submission form that asks the user to describe the bug.”

      Aversano also noted that Shaky has two primary users: people who interact with the UI, and developers who implement the API.

      “With Shaky, implementing your own shake-for-feedback form is a breeze,” Aversano said.

      Meanwhile, LinkedIn also this week open-sourced Test Butler, a new suite of tools for doing large-scale UI testing for Android. It solves one of the biggest pain points in application development for Android and is something any mobile developer should use to test apps moving forward, Drew Hannay, a LinkedIn staff software engineer who created the project, said in a blog post.

      Hannay noted that automated testing is a key component of LinkedIn’s 3×3 strategy for releasing mobile applications. The 3×3 strategy is LinkedIn’s continuous integration/continuous delivery commitment to release code three times per day, with no more than three hours between when code is committed and when that code is available to employees.

      There are two primary reasons LinkedIn adheres to the three-hour schedule. One is that three hours is not enough time to conduct any manual testing steps, Hannay said. So automation is key. The other reason is that three hours is not enough time to test everything end-to-end.

      “We prefer an approach where product owners decide which production-critical paths require UI tests, and resolve some of the edge/negative cases with unit tests, which are much faster and easier to maintain,” Hannay said in a separate post on the 3×3 strategy. To achieve its goal, LinkedIn needed a complete automation pipeline for every step, from code commit to production release, he said.

      However, when LinkedIn began developing its new Android app, the company found that its testing environment was unreliable and the tests failed intermittently. “We needed a solution that would let us rely on our tests to inform us when there was a problem with the app, not the testing environment,” because UI testing on Android can be unstable for a variety of reasons, Hannay said.

      To get around the instability, LinkedIn created Test Butler, which includes a standard, stable Android library along with a companion Android app apk (Android Application Package) that developers can install on their Android emulator before running tests. This makes UI testing more reliable by providing signature-level permissions, disable crash and App Not Responding (ANR) dialogs, disabling animations and locking the screen, WiFi radio and CPU so they don’t go to sleep and cause test failures.

      Hannay said Test Butler has been released under the Apache 2.0 license and the code is available on GitHub.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.