Android Oreo and Developers:
Hi friends, as we know Google has introduced its latest version of Android that is Android Oreo. Here I am discussing with you some of its most significant features that will be useful while you target your app to this version.
What is Android Oreo?
It is the latest version of Android named Android 8.0 and API level 26 which makes your Android device smarter, faster and more powerful.
We can see Android Oreo as far as looking is concerned, is not much different from the previous version of Android 7.1.2 Nougat but there are some changes which we can notice.
First, we can notice, the status bar is clean and in an ordered manner. On the Pixel especially, it’s white with some icons moving underneath the tiles, which makes it easy to tap them. The Settings menu has been revised, too. If we compared to Nougat, there are now half the number of menu options. The new Setting screen layout has now grouping which makes it easier to use.
It gives many new ways and features for android developers to extend their apps and develop it in a more efficient way.
It introduces a variety of new features for users and developers. Following are some of the latest features or updates what a developer should know:
PIP (Picture-in-Picture mode): It is already available for android tv but from Android 8.0 it is available for other devices too. It is kind of using multi windows system which is mostly used for playing video. Generally, a developer pauses a video streaming in an activity when it is on its onPause state but if you want to implement PIP mode then the video content should be displayed even in the pause state, so that a developer has to pause the video on its onStop and resume playback on its onStart method. For this many XML tags and methods are introduced in Android 8.0.
- Notifications: From this version of android you can manage the notifications of any app according to your choice. As we know notifications are a bit irritable thing and now we can manage this.
For this many new features are introduced like:
Notification Channels: This allows you to create a user-customizable channel for any kind of notification you want to display.
Notification Dots: It now displays dots, or badges, on app launcher icons.
More: you can set background colours, snoozing, notification timeouts and messaging styles for notifications.
- Introduced Autofill Framework: Repetitive tasks such as Account creation, login, filling credit cards details are sometimes frustrating and prone to errors. Android 8.0 introduces Autofill framework for existing and new app that You can take some steps to optimize how your app works within the framework.
- Introduction of Support library 26 to support fonts in XML
- Autosizing TextView: Now, it is much easier to optimize the text size on different screens with dynamic content. So, the size of the text automatically expands or contract.
- Enhanced supports for Adaptive launcher icons and color management of app.
- New WebView APIs: Introduction of some APIs for improvement of your app's stability and security.
- It offers enhanced support for multiple windows displays.
- Now it is easy to give margins and paddings in XML which are:
- layout marginVertical, which defines layout marginTop and layout marginBottom at the same time.
- layout_marginHorizontal, which defines layout_marginLeft and layout_marginRight at the same time.
- paddingVertical, which defines paddingTop and paddingBottom at the same time.
- paddingHorizontal, which defines paddingLeft and paddingRight at the same time.
- Now, You can define a category for your app by setting the android:appCategory attribute in your manifest tag.
- It introduces some system enhancements to rectify bugs and improvements. Which are:
- StrictMode Detectors: Which identifies bugs of your app like, it will detect when your app reads or writes data without buffering, detect when your app accidentally forgets to grant permissions to another app when starting an Activity outside your app and detect when your app performs network traffic.
- It gives better performance and allocation of Cached Data for each app with the help of new APIs.
- Enhanced support for Content Provider which include supports for large dataset one page at a time.
- API level 26 introduces number of improvements to JOB Scheduler and hence now it has better implementations for background execution limits for improvements of intent services and implicit broadcast receivers. It introduced a new JobIntentService Class from API level 26 which is same as IntentService but uses Jobs instead of services. Now scheduled job supports some new constraints like job, which will not run if storage or battery is low in the device.
- Android 8.0 enhanced media and its features like: MediaPlayer can playback DRM-protected material and HLS sample-level encrypted media and MediaRecorder now supports the MPEG2_TS format which is useful for streaming.
- Introduces new emoji sets: If you’re a fan of emoji, you’ll like Android Oreo’s 50 redesigned emojis and support the entire catalogue of emoji in the Emoji 5.0 Unicode standard. You’ll see them in the keyboard, and in apps that support the latest Android API level.
- Updated Java Language Support: Android O includes java.time from OpenJDK 8 and java.nio.file and java.lang.invoke from OpenJDK 7. The runtime performance was improved upto 2x on some benchmarks.
- A new Settings menu and ringtone selector: In Android Oreo, a new Add ringtone button at the bottom of the list of ringtones (Settings > ) lets you manually add any sound file. Android’s build-in file manager has been slightly redesigned.
- A new Google camera app introduces for Nexus and Pixel devices.
- It improves battery life and performance. Android Oreo introduces a new battery settings menu that lets you exercise control over power hungry apps. It boosts your phone’s performance and battery life. It also introduces enhanced optimization to Android’s core code speed up boot time. Google says that on the pixel, Android Oreo starts up twice as fast as Android Nougat.
- Enhanced Bluetooth Audio: Now a day’s wireless speakers, headphones, earbuds are in fashion which are run by Bluetooth. So Android Oreo brings an improvement to audio. Android Oreo supports Sony’s LDAC wireless codec, which streams audio at about three times the speed of standard Bluetooth. AptX, another low-latency Bluetooth streaming is also supported in this API. It Support for the Bluetooth Low-Energy (BLE) 5.0 standard.
- Added support for Wi-Fi aware: Android Oreo added support for Wi-Fi Aware, which is based on the Neighbour Awareness Networking (NAN) specification. For devices with the appropriate Wi-Fi Aware hardware, apps and nearby devices can discover and communicate over Wi-Fi without an Internet access.
How to get Android Oreo Images:
If you have Pixel or Nexus Device Then Just follow this link and download factory images and install Android’s latest version Oreo into your device. Here is the link
If you don’t have a Nexus or Pixel devices? Not to worry. Google says it’s working with partners including Essential, General Mobile, HMD Global Home of Nokia Phones, Huawei, HTC, Kyocera, LG, Motorola, Samsung, Sharp and Sony to launch or upgrade devices to Android 8.0 Oreo by the end of this year.