Google Showcases Android Best Practices by Open-sourcing Google I/O App

Google IO 2014 App Source Code Now Available

Google has recently made available the source code of the 2014 version of the Google I/O app. The primary goal of this is to provide a practical example of best practices for Android apps development, including essential features to most Android apps, and a customizable template for apps with similar features.

The Google I/O app was designed to help navigating the Google I/O conference, both for people attending in-person or remotely and, besides exploring the full conference agenda, allows to build a personalized schedule.

A wide variety of features that are useful for most Android apps, such as:

  • Fragments and Loaders.
  • Services.
  • Broadcast Receivers.
  • Alarms and notifications.
  • SQLite databases.
  • Content Providers.
  • Action Bar and the Navigation Drawer.

In addition to this, the I/O app source code shows how to integrate with several Google products and services, including Google Drive API to Google Cloud Messaging. The app provides an example of new technologies that Google presented at the 2014 Google I/O conference, such as the material design approach, the Android L Preview APIs and Android Wear the app is meant to be useful to the developer community as a learning tool, a source of reusable snippets, and a template for similar apps. Indeed, says Oliveira, in an effort to simplify the process of reusing and customizing the source code to build apps for other conferences, the 2014 Google I/O app uses a sync adapter based on plain JSON files that can be hosted on any web server and does not require a server with a specific API.

The source code also shows how user data can be stored in the Application Data folder of the user’s own Google Drive account and kept in sync across multiple devices, and how to use Google Cloud Messaging to trigger syncs when necessary to ensure the data is always fresh.

Google Explains How Knox Improves Android L Security

android-l-design

 

At Google I/O 2014 the company unveiled Android L, the next major update for its mobile platform. At the event Google announced that it will be incorporating parts of Samsung’s Knox enterprise security suite to improve the security of the Android platform. The end game here is to make it easier for organizations to allow employees to bring their own Android devices to work and use them on corporate networks, thus eliminating the need to carry separate devices for work and personal content. Google has now explained some of the improvements that are possible due to Knox integration.
One major improvement is the ability to keep personal and corporate data completely separate on a single Android device.

The feature builds upon existing multi-user support in Android so personal and corporate apps run as separate users on one device. Data is kept safe by using verified boot technology and block-level disk encryption.

To enable enterprise grade security services Google and Samsung have developed new APIs or application programming interfaces which will only be available as part of Google services and will not be built into AOSP or Android Open Source Project. In corporate environments the APIs would allow IT admins to enforce wide set of policies that range from system settings and certificate provisioning to app specific restrictions.

Both companies have made sure to include backward compatibility so developers who have already created apps for Samsung Knox won’t have to build them again for Android L.
It was recently reported that after helping Google integrate Knox, Samsung would stop development on Knox. But the company has since confirmed that it doesn’t intend on doing that and has also detailed all of the hardware-based Knox features that will remain exclusive to Samsung devices even after Android L is released.