Mike Szczys · Jun 19, 2013 at 04:30 pm

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when supporting devices with older versions of Android. Sometimes Android adds in support for a few previous versions, like when the ActionBar was added. But other times, you’re just going to have to do it yourself. That’s what XDA Senior Member icechen1 did to make the slick looking TimePicker from Android 4.2 work with devices as old as 2.1 (Eclair).

He’s calling it MicrowaveTimePicker, which is a great descriptor. These screenshots show that the button layout and time display is exactly what you’d expect to see on the control panel of a microwave oven. That familiar look is what great interfaces are made of, as most users will immediately feel at home typing in the the time setting.

The library is available from his GitHub repository. The readme file documents how easy it is to start using it. Add the Class as an item in your preference menu xml, and it’ll launch like an Activity. There is also the option of displaying the interface programmatically as a dialog.

You can find links to other 4.2-like pickers in the comments of the Reddit thread. Icechen1 many have duplicated some work by building up his own library, but it can’t hurt for the rest of us to have several to choose from.


_________
Want something on the XDA Portal? Send us a tip!

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Mathew Brack · May 28, 2015 at 09:59 pm · 3 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:26 pm · 3 comments

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to help “the next billion” come online. More and more people are getting their first smartphone, and for many people this first phone will be their first computer.   The majority of the next billion will be Android users and they “want to remove the barriers of smartphone adoption”. While there are huge displays of phones on sale, not all are able to run the latest and greatest...

XDA NEWS
Share This