Google Updates Action Bar For Android Apps

Google has updated its Android Action Bar so that it will now be usable in more Android applications.

The new release is a backward-compatible version of the code that surfaced at the Google I/O developers conference this past May. The code was used in the conference’s official event app and is now being released for free use by Google.

Backwards Compatible

Developers can now integrate the free open-source code into their new and older applications, according to an 7 August post by Chris Banes, of the Android developer relations team, on the Android Developers Blog. The Action Bar code is backward-compatible so it can be added to existing Android apps.

Android © Palto Shutterstock 2012“Following on the Android 4.3 and Nexus 7 announcements, we recently released two important tools to help you build beautiful apps that follow Android Design best practices,” including the Action Bar and the full source code for the feature-filled I/O 2013 app, wrote Banes. “The ActionBarCompat APIs let you build the essential Action Bar design pattern into your app, with broad compatibility back to Android 2.1,” while the I/O 2013 source code “gives you working examples of ActionBarCompat, responsive design for phones and tablets, Google+ sign-in, synchronised data kept fresh through Google Cloud Messaging, livestreaming using the YouTube Android Player API, Google Maps API v2, and much more.”

The code for both offerings is licensed under Apache License 2.0/Creative Commons 3.0 BY to make it freely usable by developers in their apps. The source code can be downloaded from Google’s iosched Web page.

Developers can still download this May’s I/O 2013 app from Google Play so they can see the new tools in action, wrote Banes. “The app’s Action Bar is built using the ActionBarCompat and served as our main test environment for making sure the APIs work properly, with full compatibility across platform versions.”

User Actions

The Action Bar is a “window feature that identifies the user location, and provides user actions and navigation modes,” according to Google’s Action Bar design guide. “Using the action bar offers your users a familiar interface across applications that the system gracefully adapts for different screen configurations.”

Developers are being encouraged to upgrade to the new code from old Action Bar implementations, wrote Banes. “ActionBarCompat is a new API in the Android Support Library that allows you to add an Action Bar to applications targeting minSdkVersion 7 or greater. The API and integration have been designed to closely mirror the existing framework APIs, giving you an easy migration path for your existing apps.”

Banes’ post provides in-depth details on how to use the code and directs developers to an Action Bar API Guide that provides more information.

Android Updates

Google released a new version of Android, Version 4.3, in July, featuring a wide range of new developer features, including restricted profiles, Bluetooth Smart Support and improved 3D graphics.

Also in July, Google began a push to encourage Android developers to create more games for tablets to attract game players to the popular devices. To help grow that market more, Google  released its new Google Play Games app, which lets games players link up with friends online so they can see what they are playing and play together.

Are you an Android master? Take our quiz!

Originally published on eWeek.

Todd R. Weiss

Freelance Technology Reporter for TechWeekEurope and eWeek

Recent Posts

TSMC Denies Talks With Intel Over Chipmaking Joint Venture

Denial from TSMC, after multiple reports it was in talks with Intel over a joint…

2 days ago

Apple iPhone Shipments In China Slide, As Cook Talks With Trump Official

CEO Tim Cook talks to Trump official, as IDC notes China's smartphone market growth, and…

2 days ago

AMD Warns Of $800m Charge From US Chip Restrictions On China

Another big name chip maker expects a hefty financial charge, after the US tightened rules…

2 days ago

Google Digital Ad Network Ruled Illegal Monopoly By Judge

More bad news for Google. Second time in less than a year that some part…

3 days ago

US State Dept Closes Office Flagging Russia, China Disinformation

Federal office that tackled misinformation and disinformation from hostile nations is closed down, after criticism…

3 days ago

Nvidia CEO Jensen Huang Makes Surprise Visit To China

After Nvidia admits it will take $5.5 billion charge as Trump export limits of slower…

3 days ago