Android Version
4.1
Released 09 Oct 2012
(13 years ago)
SoftwareAndroid OS
Version4.1
Release date09 Jul 2012
(14 years ago)
CodenameJelly Bean
API level16
Security supportNo
Source codehttps://android.googlesource.com/platform/frameworks/base/+/android-4.1.2_r1
Documentationhttps://developer.android.com/about/versions/4.1
Android OS 4.1 ReleasesView full list

What Is New in Android 4.1

Category Key Changes
Performance Project Butter, VSync timing, triple buffering, CPU input boost
User Interface Expandable and actionable notifications, resizable app widgets
Accessibility Gesture Mode for blind users, enhanced accessibility APIs
Connectivity & Media Android Beam for transferring media, USB audio output
Platform & APIs Fragments loader, new animation and view utilities

How did Android 4.1 improve performance?

Android 4.1 introduced Project Butter to tackle UI lag. This was a major engineering effort focused on making the entire interface feel smoother and more responsive to touch.

It implemented VSync timing across the rendering system to synchronize frame cycles. Triple buffering in the graphics pipeline was added to reduce jank. The CPU also gets an immediate boost when you touch the screen, ensuring apps react instantly.

What changed with notifications?

Notifications became significantly more powerful and interactive. They were redesigned to be expandable, allowing you to see more content or actions directly from the notification shade.

You could now perform actions like replying to a message or retweeting without opening the app. This was a huge step forward for user convenience and set the standard for how notifications work on the platform.

Were there new features for app widgets?

Yes, app widgets became automatically resizable. Users could place a widget on their home screen and then resize it, and the widget would adjust its layout accordingly.

This meant developers had to design their widgets to be more flexible, adapting to different cell sizes. It gave users much more control over their home screen customization.

What accessibility improvements were made?

A new Gesture Mode was introduced to enable navigation for users who are blind. This allowed them to explore the screen with touch gestures and perform actions without needing to see it.

The accessibility APIs were also enhanced, making it easier for developers to build apps that work well with services like TalkBack. This was a critical update for inclusivity.

Did Android 4.1 add any new connectivity features?

Android Beam was upgraded to support the transfer of large payloads like photos and videos between devices using NFC and Bluetooth. It made sharing media with another device as simple as tapping them together.

USB audio output was also formally supported, allowing apps to send digital audio to external DACs and other hardware. This was a big deal for audio enthusiasts and app developers in that space.

FAQ

What exactly is Project Butter and how does it work?
Project Butter is the umbrella term for a set of performance enhancements. It uses VSync to synchronize touch, vsync, and rendering events, triple buffering for graphics, and a CPU input boost to immediately ramp up processing power upon touch. The result is a dramatically smoother UI.

How do I make my app's notifications expandable?
You use the new notification styles like Notification.BigTextStyle or Notification.BigPictureStyle. You define the expanded layout and content, and the system handles the expansion when the user performs a gesture on the notification.

Do I need to do anything to support resizable widgets?
Yes. You need to specify that your widget is resizable in its AppWidgetProviderInfo XML file using the android:resizeMode attribute. You should also test your widget's layout at different sizes to ensure it looks correct.

What API level does Android 4.1 correspond to?
Android 4.1, Jelly Bean, is API level 16. This is the value you use in your app's build.gradle file for the targetSdkVersion or minSdkVersion to target this release.

Can I use the new animation APIs on older platforms?
Many of the new animation utilities are only available in the API level 16 SDK. However, you can often use the Support Library (now AndroidX) to backport some of this functionality to older versions of Android.

Releases In Branch 4.1

VersionRelease date
4.1.2_r109 Oct 2012
(13 years ago)
4.1.1_r109 Jul 2012
(14 years ago)