Archive

Posts Tagged ‘oreo’

Android Play Store Tidbits – Blocking Unlocked/Uncertified/Rooted Devices, Graphics Drivers as an App

May 20th, 2017 4 comments

There’s been at least two or three notable stories about the Play Store this week. It started with Netflix not installing from the Google Play Store anymore on rooted device, with unclocked bootloader, or uncertified devices, and showing as “incompatible”. AndroidPolice contacted Netflix which answered:

With our latest 5.0 release, we now fully rely on the Widevine DRM provided by Google; therefore, many devices that are not Google-certified or have been altered will no longer work with our latest app and those users will no longer see the Netflix app in the Play Store.

So that means you need to  Google Widevine DRM in your device, which mean many Android TV boxes may stop to work with Netflix. You can check whether you device is certified by opening Google Play and click on settings, Scroll to the bottom and check Device Certification to see if it is Certified or Uncertified (H/T jon for the tip).

I tried this in my Chinese phone, and unsurprisingly it is “Uncertified”. AndroidPolice however successfully tested both Netflix 4.16 and Netflix 5.0.4 on an unlocked Galaxy S tab with Level 3 DRM and both worked. So the only drawback right now is that you can’t install Netflix from the Play Store, but it still works normally. Some boxes do not come with any DRM at all, which you can check with DRM info, and they may not work at all (TBC).

We’ve know learned this will not only affect Netflix, as developers will now be able to block installation of apps that fail “SafetyNet” as explained at Google I/O 2017:

Developers will be able to choose from 3 states shown in the top image:

  • not excluding devices based on SafetyNet
  • excluding those that don’t pass integrity
  • excluding the latter plus those that aren’t certified by Google.

That means any dev could potentially block their apps from showing and being directly installable in the Play Store on devices that are rooted and/or running a custom ROM, as well as on emulators and uncertified devices ….. This is exactly what many of you were afraid would happen after the Play Store app started surfacing a Device certification status.

This would mean it might become more complicated to install apps from the Google Play store on some devices, and we may have to start to side-load apps again, or use other app store. That’s provided they don’t start to stop apps running all together. The latter has been possible for year, as for example many mobile banking apps refuse to run on rooted phones.

I’ll end up with a better news, as starting with Android O it will be possible to update Graphics Drivers from the Play Store, just like you would update an app. Usually, a graphics driver update would require an OTA firmware update, or flash a new firmware image manually, and it’s quite possible this new feature has been made possible thanks to Project Treble.

Categories: Android Tags: Android, app, driver, drm, google, gpu, netflix, oreo

Android Studio 3.0 Preview Release with Support for Kotlin Programming Language, Android O Preview Images

May 18th, 2017 No comments

Most Android apps used to be programmed in Java with the Eclipse IDE, then Google introduced Android Studio in 2013 which has now replaced the latter, and with the release of Android Studio 3.0 Canary 1 preview, the company is now offering developers to program apps using Kotlin language instead of Java.

Click to Enlarge

Kotlin programming language is 100% compatible with Java language, and you can even mix Kotlin and Java in your code. Kotlin can make your code much more simple while declaring classes, and it has a few other improvements over Java. Android Studio also include a Java to Kotlin converter. The language has already been used by Expedia, Flipboard, Pinterest, Square, and others.

Android Studio 3.0 also brings many other improvement, such as performance profiling tools for the CPU, memory, and networks showing your app performance in real-time, and faster Gradle builds for large sized app projects.

Android Studio 3.0 also brings changes specific to the Android platform development such as:

  • Support for Instant App development
  • Inclusion of the Google Play Store in the Android O emulator system images
  • Font resources management
  • New wizards for Android O development, etc..

The video below gives a good overview of the many changes done in Android Studio 3.0.

You can download Android Studio 3.0 Canary 1 for Linux, Windows, or Mac to give it a try. It’s also a good way to try Android O, if you don’t own a recent Nexus or Pixel device, or don’t want to flash a beta image to your phone.

Google Releases Android O Developer Preview 2, Announces Android Go for Low-End Devices, TensorFlow Lite

May 18th, 2017 No comments

After the first Android O developer preview released in March, Google has just released the second developer preview during Google I/O 2017, which on top of features like PiP (picture-in-picture), notifications channels, autofill, and others found in the first preview, adds notifications dots, a new Android TV home screen, smart text selection, and soon TensorFlow Lite. Google also introduced Android Go project optimized for devices with 512 to 1GB RAM.

Notifications dots (aka Notification Badges) are small dots that show on the top right of app icons – in supported launchers – in case a notification is available. You can then long press the icon to check out the notifications for the app, and dismiss or act on notifications. The feature can be disabled in the settings.

Android TV “O” also gets a new launcher that allegedly “makes it easy to find, preview, and watch content provided by apps”. The launcher is customizable as users can control the channels that appear on the homescreen. Developers will be able to create channels using the new TvProvider support library APIs.

I found text selection in Android to be awkward and frustrating most of the big time, but Android O brings improvements on that front with “Smart Text Selection” leveraging on-device machine learning to copy/paste, to let Android recognize entities like addresses, URLs, telephone numbers, and email addresses.

TensorFlow is an open source machine learning library that for example allows image recognition. Android O will now support TensorFlow Lite specifically designed to be fast and lightweight for embedded use cases. The company is also working on a new Neural Network API to accelerate computation, and both plan for release in a future maintenance update of Android O later this year.

Finally, Android Go project targets devices with 1GB or less of memory, and including optimization to the operating system itself, as well as optimization to apps such as YouTube, Chrome, and Gboard to make them use less memory, storage space, and mobile data. The Play Store will also highlight apps with low resources requirements on such devices, but still provide access to the full catalog. “Android Go” will ship in 2018 for all Android devices with 1GB or less of memory.

You can test Android O developer preview 2 by joining the Android O beta program if you own a Nexus 5X, 6P, Nexus Player, Pixel, Pixel XL, or Pixel C device.

Google Releases Android O Developer Preview with UI & Audio Improvements, Better Performance, etc…

March 22nd, 2017 No comments

Nearly exactly one year after Android N developer preview release, Google has now announced the release of Android O developer preview in order to get feedback from the developer community before the official release of Android 8.0? Oreo? in Q3 2017.

So what’s new so far in Android O? Here are some of the changes:

  • Background activity limits –  Automatic limits on what apps can do in the background for implicit broadcasts, background services, and location updates.
  • Notification channels –  New app-defined categories for notification content for better control from the use, as user may only block or change the behavior from one channel, instead of applying the same behavior to all notifications from a given app. For example, a News app may have notifications for Technology, Sports, Politics, International, etc…
  • Autofill APIs – Platform support for autofill, where users can select an autofill app, similar to the way they select a keyboard app, with the app securely storing  addresses, user names, and even passwords.
  • PIP for handsets and new windowing features – Picture in Picture (PIP) display is now working on phones and tablets, so users can continue watching a video while they’re answering a chat or hailing a car. Other window features include overlay window and multi-display support.
  • Font resources in XML – 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  Icons that can be displayed in different shapes, e.g. round or rounded square based on a mask selected by the device. Animated interactions with the icons are also supported.
  • 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.
  • Connectivity 
    • Support for high-quality Bluetooth audio codecs such as LDAC codec.
    • Wi-Fi Aware support, aka Neighbor Awareness Networking (NAN), allowing to discover and communicate over WiFi without an Internet access point
    • Extension of ConnectionService APIs to enable third party calling apps integrate with System UI and operate seamlessly with other audio apps.
  • Keyboard navigation –  Better use of “arrow” and “tab” navigation key for systems connected to keyboard such as Chrome OS with Google Play.
  • AAudio API for Pro Audio –  Native API designed for high-performance, low-latency audio.
  • WebView enhancements –  Multiprocess mode enabled by default, and new API for errors and crashes handling.
  • Java 8 Language APIs and runtime optimizations  – New Java Language APIs, such as java.time API. Android Runtime is up to 2x faster on some application benchmarks. 

Google has provided system images for Nexus 5X, Nexus 6P, Nexus Player, Pixel, Pixel C, and Pixel XL devices. You’ll find more details about the preview on Android Developer website.

Categories: Android, Chrome OS Tags: Android, audio, battery, google, oreo, sdk