Skip to main content

Jetpack Compose will breathe new life into tablet and big-screen apps

Google's Jetpack Compose is a new concept in designing how an app looks and works, and it's pretty cool!

Google's developer team loves to make tools to use with Android Studio and show off how they work. The development of Kotlin and Android Jetpack libraries has changed the way a lot of developers who write the non-Google apps we love work. But its newest tool might be one of the best yet, specifically when it comes to apps for "big screens".

A big screen can mean a lot of things, but in this case, we're talking about tablets and Chromebooks. It's no secret that even the best Android tablets or the best Chromebooks all suffer from one of Android's biggest flaws: plenty of apps look really bad or just don't work as they should once you move past a phone screen.

A big part of the reason for that is that Android apps are usually resizable to infinity — really, you can sideload apps onto a huge television with the right Android TV box, and most work. They just look very ugly, and oftentimes the controls either aren't available or aren't where they should be. You would think that this would be a good thing, but it means that apps developed on a phone really only work well on phones. The extra real estate offered by a tablet or a Chromebook or even a foldable like the Galaxy Z Fold 2 is wasted space.

Many Android apps can resize and work, just not very well.

Jetpack Compose, Android Developers' latest tool, just might be able to fix that. Jetpack libraries are like plugins for Android Studio that provide a quick and easier way to do mundane, repetitive tasks that have to be done if you want to build an Android app. They allow you to incorporate new code into existing APIs, as well as provide new APIs that a developer can use without writing a ton of code from scratch. But Jetpack Compose is a little bit different.

Anyone interested in writing apps for Android should definitely watch the whole video as well as check out The Android Show website for more information. Most of us won't be designing Android apps, but it's still a good watch if you're interested in Android's future.

Jetpack Compose was designed to do only one thing — make building an app's interface a lot easier.

Nerdy things aside, Jetpack Compose is pretty simple to explain: it makes building great-looking apps for every Android device easier and simpler. It's a design tool used to lay out the look and feel of an app that is still extendable to any screen size. It's a completely new framework and way of building the interface of an app.

Instead of writing a ton of code to design your app for phones, more code for when users rotate or unfold their phone, and even more heaps of code for apps on larger screens, Compose writes and incorporates that code for developers. It's fully interoperable with all existing Android code, so updating an app to use it won't be a lot of extra work.

How it works is the coolest part. Karen Ng, director of product management at Google describes it like this:

With a fully declarative approach, you just describe your UI, and Compose takes care of the rest. As an app's state changes, the UI automatically updates making it a lot simpler to build the new UI quickly. From the demo we've seen so far from developers like Lyft, it looks like Compose lives up to the promises. Alex Lockwood, an Android developer for Lyft said it was easy and fun. How often does a developer say redesigning an app is fun?

I think most of us are really excited when we are given something that makes our job easier. That's what Jetpack Compose does for Android app developers. It's the kind of automation that can help fill the app gap on Chromebooks using Android as well as make apps more fluid and responsive on tablets — something Google hasn't been thinking about for a long time. And near the very end of the Compose live stream, Google VP of engineering Dav Burke said foldables are a focus for 2021 and that he thinks about Android on tablets and Chromebooks "a lot".

Compose is in a "stable beta" right now and ready for any developer to try.

Right now Jetpack Compose is in what Kari Byron (yes, that Kari Byron) calls a very stable beta with everything working. You can use it today if you're a developer who isn't worried about trying beta development tools. Besides, if it's as stable as Google thinks, it shouldn't be too long before it's out of beta.

As cool as it is to see Kari from Mythbusters working with Google, seeing a tool that can help developers build great app layouts for phones, foldable, tablets, and Chromebooks simultaneously is even cooler.



Source: androidcentral

Popular posts from this blog

How to watch England vs New Zealand: Live stream 2nd Test series cricket on

With the first Test ending in a draw, the series is on a knife edge at Edgbaston, as Joe Root's side look to put off the field controversies to one side and claim a much needed win against the Kiwis. Don't miss a single ball of the 2nd Test with our England vs New Zealand live stream guide below. The series has been somewhat overshadowed by the emergence of offensive historic tweets posted by Ollie Robinson who made his debut in the opening Test but has since been suspended. With the controversy still brewing amid interventions from politicians and accusations leveled at other members of the team, Root has a battle on his hands to keep his side focused on the game ahead. One positive for Root coming into the game is that they'll be playing in front of a near capacity crowd at Egbaston, with the overwhelming majority of the expected 18,000 spectators set to be cheering on the home side. The tourists have been delivered a huge blow coming intot his final match, with s

6 things Apple stole from Android at WWDC— and one that Google should steal

Every year, Apple and Google trade ideas for their newest versions of iOS and Android, respectively. But this year, during Apple's WWDC 2021, it seems like Apple purloined more than a few ideas that Google's integrated into Android over the last few years. Millions of iOS users won't get their hands on iOS 15 and iPadOS 15 until later this year, so until then, we don't know until then how the new features will fare in the real world. For now, here's a tongue-in-cheek look at six features Apple, um, borrowed from Android with its latest software releases. Jump to: iPad widgets and app drawer Live Text Apple Maps AR navigation iOS notifications New Siri capabilities Apple Photos Bonus: What Google needs to steal iPad widgets and app drawer iPad OS 15 introduced two big new updates for the iPad home screen today: widgets and the App Library. If you think this sounds awfully familiar, there's a good reason for that. 2020's iOS 14 introduced both

Every armor set in Ratchet and Clank: Rift Apart

Armor up Ratchet and Rivet before taking down their enemies. Ratchet and Clank: Rift Apart features several armor sets that both Ratchet and Rivet can wear throughout the game, giving them damage buffs and other benefits. Each armor set is comprised of three pieces; the helmet, chest, and boots. Without all three pieces of a complete set, you won't get their collection bonus buffs. Thankfully, each map tells you exactly where to find the armor you need. It's then all about exploring the area and picking it up. You'll find most pieces within optional dimensional rifts that feature platforming puzzles of some kind, and there are eight total sets to be found. Here's every armor set in Ratchet and Clank: Rift Apart and the buffs that they offer: Galactic Ranger Description: The classic helmet of the Solana Galactic Rangers. The Galactic Rangers' chest armor is forged with justice and Raritarium. The Galactic Rangers' pants protect the galaxy... and your legs

Best Roku Stick deals May 2021: $30 off Roku Ultra, Streambar and more

Transforming nearly any TV into a smart TV is affordable and easy with a Roku streaming stick. These tiny devices plug into your TV's HDMI port to unlock access to a world of streaming services, live TV channels, and other apps that will never leave you without entertainment. While prices are rather comparable to its main competition, the Amazon Fire TV Stick , Roku's devices have a few interesting features you won't find on a Fire stick. Roku Ultra - HD/4K/HDR/Dolby Vision with Dolby Atmos | $31 off at Amazon The Roku Ultra is the fastest, most powerful Roku streaming device so far, and it's even compatible with Dolby Vision and Dolby Atmos for a more cinematic experience. It has a better wireless range than other models as well. Today's deal saves you over $30 off its regular price. $69 at Amazon Once you've plugged in your new Roku streaming device, you can download the Roku app and use it as a remote or even plug headphones into your phone and listen to