• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

O-MG, It's time for Android O (Dev Preview)

Status
Not open for further replies.

Majine

Banned
Android Developer Blog said:
O-MG, the Developer Preview of Android O is here!
Posted by Dave Burke, VP of Engineering

Since the first launch in 2008, the Android project has thrived on the incredible feedback from our vibrant ecosystems of app developers and device makers, as well as of course our users. More recently, we've been pushing hard on improving our engineering processes so we can share our work earlier and more openly with our partners.

So, today, I'm excited to share a first developer preview of the next version of the OS: Android O. The usual caveats apply: it's early days, there are more features coming, and there's still plenty of stabilization and performance work ahead of us. But it's booting :).

Over the course of the next several months, we'll be releasing updated developer previews, and we'll be doing a deep dive on all things Android at Google I/O in May. In the meantime, we'd love your feedback on trying out new features, and of course testing your apps on the new OS.

What's new in O?
Android O introduces a number of new features and APIs to use in your apps. Here's are just a few new things for you to start trying in this first Developer Preview:

Background limits: Building on the work we began in Nougat, Android O puts a big priority on improving a user's battery life and the device's interactive performance. To make this possible, we've put additional automatic limits on what apps can do in the background, in three main areas: implicit broadcasts, background services, and location updates. These changes will make it easier to create apps that have minimal impact on a user's device and battery. Background limits represent a significant change in Android, so we want every developer to get familiar with them. Check out the documentation on background execution limits and background location limits for details.

Notification channels: Android O also introduces notification channels, which are new app-defined categories for notification content. Channels let developers give users fine-grained control over different kinds of notifications — users can block or change the behavior of each channel individually, rather than managing all of the app's notifications together.

Notification channels let users control your app's notification categories

Android O also adds new visuals and grouping to notifications that make it easier for users to see what's going on when they have an incoming message or are glancing at the notification shade.

Autofill APIs: Android users already depend on a range of password managers to autofill login details and repetitive information, which makes setting up new apps or placing transactions easier. Now we are making this work more easily across the ecosystem by adding platform support for autofill. Users can select an autofill app, similar to the way they select a keyboard app. The autofill app stores and secures user data, such as addresses, user names, and even passwords. For apps that want to handle autofill, we're adding new APIs to implement an Autofill service.

PIP for handsets and new windowing features: Picture in Picture (PIP) display is now available on phones and tablets, so users can continue watching a video while they're answering a chat or hailing a car. Apps can put themselves in PiP mode from the resumed or a pausing state where the system supports it - and you can specify the aspect ratio and a set of custom interactions (such as play/pause). Other new windowing features include a new app overlay window for apps to use instead of system alert window, and multi-display support for launching an activity on a remote display.

Font resources in XML: Fonts are now a fully supported resource type in Android O. Apps can now use fonts in XML layouts as well as define font families in XML — declaring the font style and weight along with the font files.

Adaptive icons: To help you integrate better with the device UI, you can now create adaptive icons that the system displays in different shapes, based on a mask selected by the device. The system also animates interactions with the icons, and them in the launcher, shortcuts, Settings, sharing dialogs, and in the overview screen.

Adaptive icons display in a variety of shapes across different device models.

Wide-gamut color for apps: Android developers of imaging apps can now take advantage of new devices that have a wide-gamut color capable display. To display wide gamut images, apps will need to enable a flag in their manifest (per activity) and load bitmaps with an embedded wide color profile (AdobeRGB, Pro Photo RGB, DCI-P3, etc.).

Connectivity: For the ultimate in audio fidelity, Android O now also supports high-quality Bluetooth audio codecs such as the LDAC codec. We're also adding new Wi-Fi features as well, like Wi-Fi Aware, previously known as Neighbor Awareness Networking (NAN). On devices with the appropriate hardware, apps and nearby devices can discover and communicate over Wi-Fi without an Internet access point. We're working with our hardware partners to bring Wi-Fi Aware technology to devices as soon as possible.

The Telecom framework is extending ConnectionService APIs to enable third party calling apps integrate with System UI and operate seamlessly with other audio apps. For instance, apps can have their calls displayed and controlled in different kinds of UIs such as car head units.

Keyboard navigation: With the advent of Google Play apps on Chrome OS and other large form factors, we're seeing a resurgence of keyboard navigation use within these apps. In Android O we focused on building a more reliable, predictable model for "arrow" and "tab" navigation that aids both developers and end users.

AAudio API for Pro Audio: AAudio is a new native API that's designed specifically for apps that require high-performance, low-latency audio. Apps using AAudio read and write data via streams. In the Developer Preview we're releasing an early version of this new API to get your feedback.

WebView enhancements: In Android Nougat we introduced an optional multiprocess mode for WebView that moved the handling of web content into an isolated process. In Android O, we're enabling multiprocess mode by default and adding an API to let your app handle errors and crashes, for enhanced security and improved app stability. As a further security measure, you can now opt in your app's WebView objects to verify URLs through Google Safe Browsing.

Java 8 Language APIs and runtime optimizations: Android now supports several new Java Language APIs, including the new java.time API. In addition, the Android Runtime is faster than ever before, with improvements of up to 2x on some application benchmarks.

Partner platform contributions: Hardware manufacturers and silicon partners have accelerated fixes and enhancements to the Android platform in the O release. For example, Sony has contributed more than 30 feature enhancements including the LDAC codec and 250 bug fixes to Android O.

Get started in a few simple steps
First, make your app compatible to give your users a seamless transition to Android O. Just download a device system image or emulator system image, install your current app, and test -- the app should run and look great, and handle behavior changes properly. After you've made any necessary updates, we recommend publishing to Google Play right away without changing the app's platform targeting.

Building with Android O
When you're ready, dive in to O in depth to learn about everything you can take advantage of for your app. Visit the O Developer Preview site for details on the preview timeline, behavior changes, new APIs, and support resources.

Plan how your app will support background limits and other changes. Try out some of the great new features in your app -- notification channels, PIP, adaptive icons, font resources in XML, autosizing TextView, and many others. To make it easier to explore the new APIs in Android O, we've brought the API diff report online, along with the Android O API reference.

Coming later today, the latest canary version of Android Studio 2.4 includes new features to help you get started with Android O. When this update is available, you can download and set up the O preview SDK from inside Android Studio, then use Android O's XML font resources and autosizing TextView in the Layout Editor. Watch for more Android O support coming in the weeks ahead.

We're also releasing an alpha version of the 26.0.0 support library for you to try. Besides adding support for a number of Android O APIs, it also raises the minSdkVersion to Android 4.0 (API 14) for all of the support libraries.

Preview updates
The O Developer Preview includes an updated SDK with system images for testing on the official Android Emulator and on Nexus 5X, Nexus 6P, Nexus Player, Pixel, Pixel XL and Pixel C devices. If you're building for wearables, there's also an emulator for testing Android Wear 2.0 on Android O.

We plan to update the preview system images and SDK regularly throughout the O Developer Preview. This initial preview release is for developers only and not intended for daily or consumer use, so we're making it available by manual download and flash only. Downloads and instructions are here.

As we get closer to a final product, we'll be inviting consumers to try it out as well, and we'll open up enrollments through Android Beta at that time. Stay tuned for details, but for now please note that Android Beta is not currently available for Android O.

Source
 

Aeana

Member
The autofill thing sounds great. The way 1password works on Android right now with the custom keyboard is very clunky.
Automatic background limits sounds concerning. One of the things I prefer about Android over iOS is how much and for how long an app can behave in the background if it needs to.
 

Mugsy

Member
Maybe new line of android smartwatches that summon Megadeus?
200_s.gif
 

Jigolo

Member
Another year another slew of "battery improvements"

Background limits: Building on the work we began in Nougat, Android O puts a big priority on improving a user's battery life and the device's interactive performance. To make this possible, we've put additional automatic limits on what apps can do in the background, in three main areas: implicit broadcasts, background services, and location updates. These changes will make it easier to create apps that have minimal impact on a user's device and battery. Background limits represent a significant change in Android, so we want every developer to get familiar with them. Check out the documentation on background execution limits and background location limits for details.

ha ha ha ha
 

Bboy AJ

My dog was murdered by a 3.5mm audio port and I will not rest until the standard is dead
LOL!

Only 2.8% of phone owners are on N and they are moving to O? Android cracks me up.
Why does it crack you up? If you want an Android phone with the latest OS, get a Nexus or Pixel. There's only one choice, just like there's only one choice with an iPhone.
 
The autofill thing sounds great. The way 1password works on Android right now with the custom keyboard is very clunky.
Automatic background limits sounds concerning. One of the things I prefer about Android over iOS is how much and for how long an app can behave in the background if it needs to.

Hopefully they let you modify the limits the same way you can go to App Info and change permissions. I can see how some apps don't need to be pulling gps updates all the time, but a dating app like Happn needs to since the whole point of it is to see who you unknowingly crossed paths with, even if not actively on your phone.
 

alternade

Member
hahahahahahaha I'm still on Lollipop 5.1.1 Galaxy Note 4. I don't think they will ever get fragmentation under control since they decided to let the carriers and manufacturers run amok since day one. Hope the Note 8 atleast has Android N when I upgrade.
 

gamz

Member
Why does it crack you up? If you want an Android phone with the latest OS, get a Nexus or Pixel. There's only one choice, just like there's only one choice with an iPhone.

Which is still sad as hell. I know it's the carrier's fault, but Apple somehow bypassed that. Don't know why google doesn't?
 
Another year another slew of "battery improvements"



ha ha ha ha

When I first bought my Note 4 I would turn off data and wifi at night and go to bed with 100% battery but wake up with usually around 85% battery. That was a brand new phone with a brand new battery - what the fuck was it doing to drain 15% overnight without having access to the internet or anything?

Now I'm back to iPhones and i'll go to bed with my 7+ at 100% and i'll wake up to it at 100% and I don't even turn off anything. Stuff like that (among many, many other things) is what makes me think I'm going to stick with iPhone for awhile. It's not perfect - not even close - but its better (for me).

edit: also, look at this shit:

MPZK1dH.png


Embarrassing.
 

Bboy AJ

My dog was murdered by a 3.5mm audio port and I will not rest until the standard is dead
Which is still sad as hell. I know it's the carrier's fault, but Apple somehow bypassed that. Don't know why google doesn't?
I just told you they did with the Nexus and Pixel phones.
 
When I first bought my Note 4 I would turn off data and wifi at night and go to bed with 100% battery but wake up with usually around 85% battery. That was a brand new phone with a brand new battery - what the fuck was it doing to drain 15% overnight without having access to the internet or anything?

Now I'm back to iPhones and i'll go to bed with my 7+ at 100% and i'll wake up to it at 100% and I don't even turn off anything. Stuff like that (among many, many other things) is what makes me think I'm going to stick with iPhone for awhile. It's not perfect - not even close - but its better (for me).

edit: also, look at this shit:

MPZK1dH.png


Embarrassing.


I switched over to iPhone as well but you can't blame google for the fragmentation. Blame OEM's who go kicking and screaming into updating perfectly capable handsets because it's no longer profitable to update. Apple is the gatekeeper of the iPhone and is solely responsible for pushing updates. Two different business models at play here.
 

Starviper

Member
Dang that is a laundry list of new features. Sounds pretty awesome. My OnePlus 3 got an update to Nougat not too long ago. Has a couple *minor* bugs but i'm unsure if that's Nougat itself or the OP3 package.
 

Futureman

Member
lol, my phone just got Nougat TODAY, and I consider myself lucky. Android fragmentation is a complete mess.

I say who cares? I got Nougat 2 weeks ago or so and it's great. It's not mind blowing or anything, so I don't really care that I didn't get it RIGHT AWAY. As far as I know, there's nothing I couldn't actually do on M that I'm doing on N now. It's just a more refined, user friendly experience.

I feel like fragmentation was a bigger deal when each subsequent OS release was a huge deal.
 

Ambient80

Member
Android O-shit we're gonna run out of letters soon!

Will be interesting to see how it goes, though. Battery improvements are always welcome (if they actually, you know, improve the battery).
 
Android O-shit we're gonna run out of letters soon!

Will be interesting to see how it goes, though. Battery improvements are always welcome (if they actually, you know, improve the battery).

I'm skeptical of said "improvements" because Google has touted this since forever and it never works.
 

Nightbird

Member
My phone is still running Kit Kat, we're not going down!


For the love of God, i just wanna jump on Marshmellow at least
 

catmincer

Member
The S7 I have to my mother still is on marshmallow. My Xperia XZ has had nougat since November. It all depends on the manufacturer how fast they do it.
 
They keep promising better battery performance but I have yet to see newer version of Android draining less power. It's always the opposite. Their Doze feature never did anything in Marshmallow or Nougat.
 

Bboy AJ

My dog was murdered by a 3.5mm audio port and I will not rest until the standard is dead
Why is the roll out of new Android OS' so slow on most networks? (In the UK anyway...)
You can get it right now. Google announced the new OS and released a preview in an hour. That's faster than any other mobile OS release.

If you have a Nexus or Pixel. If you care about a new Android OS, you only have one choice. Just like you only have one iPhone choice.
 
You can get it right now. Google announced the new OS and released a preview in an hour. That's faster than any other mobile OS release.

If you have a Nexus or Pixel. If you care about a new Android OS, you only have one choice. Just like you only have one iPhone choice.

I have a Galaxy S7 on EE.

I don't particularly care, I've just never understood why the roll-out takes so long. You didn't really answer the question, just seem to be overly focused on 'defending' Google despite the fact I was merely asking a question... That's three times now!

Why does it crack you up? If you want an Android phone with the latest OS, get a Nexus or Pixel. There's only one choice, just like there's only one choice with an iPhone.

I just told you they did with the Nexus and Pixel phones.
 

Bboy AJ

My dog was murdered by a 3.5mm audio port and I will not rest until the standard is dead
I have a Galaxy S7 on EE.

I don't particularly care, I've just never understood why the roll-out takes so long. You didn't really answer the question, just seem to be overly focused on 'defending' Google despite the fact I was merely asking a question... That's three times now!
I don't even own an Android phone.
 
That makes your posts even more confusing then.

Anyway, does anyone know why a new OS doesn't roll out quickly for Android?
 
Status
Not open for further replies.
Top Bottom