Showing posts with label Develop. Show all posts
Showing posts with label Develop. Show all posts

Saturday, October 27, 2018

Tuning Your Apps In Addition To Games For Long Concealment Devices

Posted past times Fred Chung, Developer Advocate

In recent months, there's a growing tendency for handset makers to shipping novel devices amongst long concealment expression ratio (stretching beyond 16:9), many of which also sport rounded corners. This attests to the Android ecosystem's breadth as well as choice. Pixel 2 XL as well as Huawei Mate 10 Pro are but 2 of many examples. These concealment characteristics could convey a really immersive sense to users as well as they get got observe of apps as well as games that don't get got payoff of the long expression ratio concealment on these novel devices. Therefore it is of import for developers to optimize for these concealment designs. Let's get got a expect at related back upward provided past times the Android OS.

Optimize for long expression ratio screens

Most apps using measure UI widgets volition probable travel out-of-the-box on these devices. Android documentation details techniques for flexibly working on multiple concealment sizes. However, some games as well as apps amongst custom UIs may encounter issues due to wrong assumptions on sure enough expression ratios. We're sharing a few typical issues faced past times developers, as well as hence y'all tin pay attending to those relevant to you:

  • Certain sides of the concealment are cropped. This makes whatever graphic or UI elements inwards the affected regions expect incomplete.
  • Touch targets are commencement from UI elements (e.g. buttons). Users may last confused on UI elements that are seemingly interactive.
  • For total concealment vogue on rounded corners devices, any UI elements really but about the corners may last exterior of the curved corner viewable area. Imagine if a commerce app's "Purchase" push was partially obstructed? We recommend referencing Material Design guidelines past times leaving 16dp side margins inwards layouts.

If responsive UI is actually non suitable for your situation, as a final resort declare an explicit maximum supported expression ratio equally follows. On devices amongst a wider expression ratio, the app volition last shown inwards a compatibility vogue padded amongst letterbox. Keep inwards postulate heed that sure enough device models render an override for users to strength the app into full-screen compatibility mode, as well as hence last sure enough to essay out nether these scenarios too!

Targets API score 26 or higher: Use android:maxAspectRatio attributes.

Targets API score 25 or lower: Use android.max_aspect meta-data. Note that maximum expression ratio values volition last respected alone if your activities don't back upward resizableActivity. See documentation for detail.

System letterboxes an app when the declared maximum expression ratio is smaller than the device's screen.

Consider using side-by-side activities

Long expression ratio devices enable fifty-fifty to a greater extent than multi-window role cases that could growth user productivity. Beginning inwards Android 7.0, the platform offers a measure means for developers to implement multi-window on supported devices equally good equally perform information drag as well as drib betwixt activities. Refer to documentation for details.

Testing is crucial. If y'all don't get got access to 1 of these long concealment devices, last sure enough to essay out on the emulator amongst adequate concealment size as well as resolution hardware properties, which are explained inwards the emulator documentation.

We know y'all desire to please your users amongst long concealment devices. With a few steps, y'all tin ensure your apps as well as games taking total payoff of these devices!

Welcoming Android 8.1 Oreo In Addition To Android Oreo (Go Edition)

Posted past times Dave Burke, VP of Engineering

At Google for India this Monday, nosotros announced the in conclusion loose of Android 8.1 Oreo. Android 8.1 Oreo is some other exciting measuring toward bringing to life our vision of an AI-first mobile platform, for everyone, everywhere.

Android 8.1 introduces back upward for our novel Android Oreo (Go edition) software experience for entry-level devices. Android Oreo (Go edition) brings the best of Android to the speedily growing marketplace position for low-memory devices around the world, including your apps in addition to games.

Android 8.1 also introduces the Neural Networks API, a hardware accelerated automobile learning runtime to back upward ML capabilities inwards your apps. On supported devices, the Neural Networks API enables fast in addition to efficient inference for a hit of fundamental move cases, starting amongst vision-based object classification.

You tin acquire started amongst Android 8.1 Oreo (API grade 27) today. We're pushing sources to Android Open Source Project now, in addition to rolling out the update to supported Pixel in addition to Nexus devices over the adjacent week. We're also working amongst our device maker partners to convey Android 8.1 to to a greater extent than devices, including Android Oreo (Go edition) devices, inwards the months ahead.

Android Oreo (Go edition)

As announced at Google I/O 2017, the "Android Go" projection is our first to optimize the Android experience for billions of people coming online around the world. Starting amongst Android 8.1, we're making Android a corking platform for entry-level devices inwards the Android Oreo (Go edition) configuration:

  • Memory optimizations -- Improved retention usage across the platform to ensure that apps tin run efficiently on devices amongst 1GB or less RAM.
  • Flexible targeting options -- New hardware characteristic constants to permit y'all target the distribution of your apps to normal or low-RAM devices through Google Play.
  • Optimized Google apps: Rebuilt in addition to optimized versions of Google apps, using less memory, storage space, in addition to mobile data.
  • Google Play: While all apps volition hold upward available on Android Oreo (Go edition) devices, Google Play volition give visibility to apps specifically optimized past times developers to render a corking experience for billions of people amongst the building for billions guidelines.

We've updated the building for billions guidelines amongst additional guidance on how to optimize your app for Android Oreo (Go edition) devices. For most developers, optimizing your existing APK or using Google Play's Multiple APK feature to target a version of your APK to low-RAM devices is the best means to prepare for Android Oreo (Go edition) devices. Remember that making your app lighter in addition to to a greater extent than efficient benefits your whole audience, regardless of device.

Neural Networks API

The Neural Networks API provides accelerated computation in addition to inference for on-device automobile learning frameworks similar TensorFlow Lite -- Google's cross-platform ML library for mobile -- equally good equally Caffe2 in addition to others. TensorFlow Lite is now available to developers, hence see the TensorFlow Lite opened upward source repo for downloads in addition to docs. TensorFlow Lite industrial plant amongst the Neural Networks API to run models similar MobileNets, Inception v3, in addition to Smart Reply efficiently on your mobile device.

Autofill enhancements in addition to more

Android 8.1 includes pick out new features in addition to developer APIs (API grade 27), along amongst the latest optimizations, põrnikas fixes, in addition to safety patches. Extend your app amongst Autofill enhancements, a SharedMemory API, in addition to more. You tin also add together established Android Oreo features equally well, encounter the Android Oreo site for details.

Test your apps on Android 8.1

If haven't already, accept a few moments today to exam your apps in addition to brand certain they offering the experience y'all desire for users upgrading to Android 8.1 Oreo.

Just install your electrical flow app from Google Play onto a device or emulator running Android Oreo in addition to exam the user flows. The app should run in addition to expect great, in addition to handgrip the Android Oreo behavior changes properly. In particular, pay attending to background location limits, notification channels, in addition to changes inwards networking, security, in addition to identifiers.

Speed your evolution amongst Android Studio

To create amongst Android 8.1, nosotros recommend updating to Android Studio 3.0, which is at in ane lawsuit available from the stable channel. On happen of the novel app performance profiling tools, back upward for the Kotlin programming language, in addition to Gradle create optimizations, Android Studio 3.0 makes it easier to railroad train for Android Oreo features similar Instant Apps, XML Fonts, downloadable fonts, in addition to adaptive icons.

With the in conclusion platform we're updating the SDK in addition to create tools inwards Android Studio, equally good equally the API Level 27 emulator arrangement images. We recommend updating to the Android Support Library 27.0.2, which is available from Google's Maven repository. See the version notes for details on what's new.

As always, we're providing downloadable manufacturing flora in addition to OTA images on the Nexus Images page to handle y'all do in conclusion testing on your Pixel in addition to Nexus devices.

Publish your updates to Google Play

When you're ready, y'all tin break your APK updates targeting API grade 27 inwards your alpha, beta, or production channels. Make certain that your updated app runs good on Android Oreo equally good equally older versions. We recommend using beta testing to acquire early on feedback from a pocket-sized grouping of users in addition to a pre-launch report to handle y'all position whatever issues, hence do a staged rollout. Head over to the Android Developers site to abide by to a greater extent than information on launch best practices. We're looking frontwards to seeing your app updates!

What's adjacent for Android Oreo?

We'll shortly hold upward closing the Developer Preview resultant tracker, but delight maintain the feedback coming! If y'all nevertheless encounter an resultant that y'all filed inwards the preview tracker, simply file a novel issue against Android 8.1 inwards the AOSP resultant tracker. You tin also move along to give us feedback or enquire questions inwards the developer community.

Friday, October 26, 2018

Improving App Safety Together With Functioning On Google Play For Years To Come

Improving App Safety Together With Functioning On Google Play For Years To Come

Posted yesteryear Edward Cunningham, Product Manager, Android

[Edit: Updated ship service on December 21 to clarify that when the 64-bit requirement is introduced inward August 2019, 32-bit back upwards is non going away. Apps that include a 32-bit library merely take away to guide hold a 64-bit version too.]

Google Play powers billions of app installs in addition to updates annually. We relentlessly focus on safety in addition to functioning to ensure everyone has a positive sense discovering in addition to installing apps in addition to games they love. Today we're giving Android developers a heads-up near 3 changes designed to back upwards these goals, equally good equally explaining the reasons for each change, in addition to how they volition assistance brand Android devices fifty-fifty to a greater extent than secure in addition to performant for the long term.

  • In the minute one-half of 2018, Play volition require that novel apps in addition to app updates target a recent Android API level. This volition last required for novel apps inward August 2018, in addition to for updates to existing apps inward November 2018. This is to ensure apps are built on the latest APIs optimized for safety in addition to performance.
  • In August 2019, Play volition require that novel apps in addition to app updates alongside native libraries supply 64-bit versions inward add-on to their 32-bit versions.
  • Additionally, inward early on 2018, Play volition starting fourth dimension adding a small-scale total of safety metadata on pinnacle of each APK to farther verify app authenticity. You create non take away to accept whatever activity for this change.

We deeply appreciate our developer ecosystem, in addition to thence promise this long advance notice is helpful inward planning your app releases. We volition proceed to supply reminders in addition to portion developer resources equally cardinal dates approach to assistance y'all prepare.

Target API score requirement from belatedly 2018

API deportment changes advance the safety in addition to privacy protections of Android – helping developers secure their apps in addition to protecting people from malware. Here are a few such changes from recent platform versions:

  • Implicit intents for bindService() no longer supported (Android 5.0)
  • Runtime permissions (Android 6.0)
  • User-added CAs non trusted yesteryear default for secure connections (Android 7.0)
  • Apps can't access user accounts without explicit user blessing (Android 8.0)

Many of these changes exclusively apply to apps that explicitly declare their back upwards for novel API behaviors, through the targetSdkVersion manifest attribute. For example, exclusively apps alongside a targetSdkVersion of 23 (the API score of Android 6.0) or higher plow over the user total command over what someone information – such equally contacts or place – the app tin plow over the axe access via runtime permissions. Similarly, recent releases include user sense improvements that foreclose apps from accidentally overusing resources similar battery in addition to memory; background execution limits is a practiced instance of this type of improvement.

In guild to supply users alongside the best Android sense possible, the Google Play Console volition require that apps target a recent API level:

  • August 2018: New apps required to target API score 26 (Android 8.0) or higher.
  • November 2018: Updates to existing apps required to target API score 26 or higher.
  • 2019 onwards: Each twelvemonth the targetSdkVersion requirement volition advance. Within ane twelvemonth next each Android dessert release, novel apps in addition to app updates volition take away to target the corresponding API score or higher.

Existing apps that are non receiving updates are unaffected. Developers rest gratis to usage a minSdkVersion of their choice, thence at that spot is no alter to your mightiness to cook apps for older Android versions. We encourage developers to supply backwards compatibility equally far equally reasonably possible. Future Android versions volition also trammel apps that don't target a recent API score in addition to adversely impact functioning or security. We desire to proactively cut back fragmentation inward the app ecosystem in addition to ensure apps are secure in addition to performant acre providing developers alongside a long window in addition to enough of notice inward guild to computer programme ahead.

This twelvemonth nosotros released Android Oreo, the most secure in addition to best performing version of Android yet, in addition to nosotros introduced Project Treble to assistance the latest releases range devices faster. Get started edifice apps that target Android 8.1 Oreo today.

64-bit back upwards requirement inward 2019

Platform back upwards for 64-bit architectures was introduced inward Android 5.0. Today, over 40% of Android devices coming online guide hold 64-bit support, acre all the same maintaining 32-bit compatibility. For apps that usage native libraries, 64-bit code typically offers significantly ameliorate performance, alongside additional registers in addition to novel instructions.

In anticipation of hereafter Android devices that back upwards 64-bit code only, the Play Console volition require that novel apps in addition to app updates alongside native libraries supply 64-bit versions inward add-on to their 32-bit versions. This tin plow over the axe last inside a unmarried APK or equally ane of the multiple APKs published.

We are non removing 32-bit support. Google Play volition proceed to back upwards 32-bit apps in addition to devices. Apps that create non include native code are unaffected.

This alter volition come upwards into number inward August 2019. We're providing advance notice today to let enough of fourth dimension for developers who don't yet back upwards 64-bit to computer programme the transition. Stay tuned for a hereafter ship service inward which we'll accept an in-depth await at the functioning benefits of 64-bit native libraries on Android, in addition to cheque out the CPUs in addition to Architectures guide of the NDK for to a greater extent than info.

Security metadata inward early on 2018

Next twelvemonth we'll laid about adding a small-scale total of safety metadata on pinnacle of each APK to verify that it was officially distributed yesteryear Google Play. Often when y'all purchase a physical product, you'll discovery an official label or a badge which signifies the product's authenticity. The metadata we're adding to APKs is similar a Play badge of authenticity for your Android app.

No activity is needed yesteryear developers or users. We'll accommodate Play's maximum APK size to accept into concern human relationship the small-scale metadata addition, which is inserted into the APK Signing Block in addition to does non alter the functionality of your app. In add-on to enhancing the integrity of Play's mobile app ecosystem, this metadata volition enable novel distribution opportunities for developers inward the hereafter in addition to assistance to a greater extent than people maintain their apps upwards to date.

Looking ahead

2017 has been a fantastic twelvemonth for developers who guide hold seen increase in addition to success on Google Play. We've been difficult at piece of occupation on features (including those announced at I/O 2017 in addition to at Playtime) to assistance y'all improve your app character in addition to concern performance. With these features in addition to the upcoming updates, nosotros promise to encounter the Android in addition to Play ecosystem proceed to thrive inward 2018 in addition to beyond.

How useful did y'all discovery this blogpost?

★ ★ ★ ★ ★
Double Stuffed Safety Inwards Android Oreo

Double Stuffed Safety Inwards Android Oreo

Posted past times Gian G Spicuzza, Android Security team

Android Oreo is stuffed total of safety enhancements. Over the past times few months, we've covered how we've improved the safety of the Android platform together with its applications: from making it safer to larn apps, dropping insecure network protocols, providing to a greater extent than user command over identifiers, hardening the kernel, making Android easier to update, all the mode to doubling the Android Security Rewards payouts. Now that Oreo is out the door, let's conduct maintain a await at all the goodness inside.

Expanding back upwards for hardware security

Android already supports Verified Boot, which is designed to foreclose devices from booting upwards alongside software that has been tampered with. In Android Oreo, nosotros added a reference implementation for Verified Boot running alongside Project Treble, called Android Verified Boot 2.0 (AVB). AVB has a brace of cool features to brand updates easier together with to a greater extent than secure, such equally a mutual footer format together with rollback protection. Rollback protection is designed to foreclose a device to kick if downgraded to an older OS version, which could survive vulnerable to an exploit. To exercise this, the devices salvage the OS version using either special hardware or past times having the Trusted Execution Environment (TEE) sign the data. Pixel 2 together with Pixel 2 XL come upwards alongside this protection together with nosotros recommend all device manufacturers add together this characteristic to their novel devices.

Oreo also includes the novel OEM Lock Hardware Abstraction Layer (HAL) that gives device manufacturers to a greater extent than flexibility for how they protect whether a device is locked, unlocked, or unlockable. For example, the novel Pixel phones work this HAL to travel past times commands to the bootloader. The bootloader analyzes these commands the side past times side fourth dimension the device boots together with determines if changes to the locks, which are securely stored inward Replay Protected Memory Block (RPMB), should happen. If your device is stolen, these safeguards are designed to foreclose your device from beingness reset together with to perish along your information secure. This novel HAL fifty-fifty supports moving the lock dry soil to dedicated hardware.

Speaking of hardware, we've invested back upwards inward tamper-resistant hardware, such equally the security module works life inward every Pixel 2 together with Pixel 2 XL. This physical chip prevents many software together with hardware attacks together with is also resistant to physical penetration attacks. The safety module prevents deriving the encryption fundamental without the device's passcode together with limits the charge per unit of measurement of unlock attempts, which makes many attacks infeasible due to fourth dimension restrictions.

While the novel Pixel devices conduct maintain the special safety module, all novel GMS devices transportation alongside Android Oreo are required to implement key attestation. This provides a machinery for strongly attesting IDs such equally hardware identifiers.

We added novel features for enterprise-managed devices equally well. In piece of work profiles, encryption keys are straightaway ejected from RAM when the profile is off or when your company's admin remotely locks the profile. This helps secure enterprise information at rest.

Platform hardening together with procedure isolation

As constituent of Project Treble, the Android framework was re-architected to brand updates easier together with less costly for device manufacturers. This separation of platform together with vendor-code was also designed to improve security. Following the principle of to the lowest degree privilege, these HALs run inward their own sandbox together with solely conduct maintain access to the drivers together with permissions that are absolutely necessary.

Continuing alongside the media stack hardening inward Android Nougat, nearly direct hardware access has been removed from the media frameworks inward Oreo resulting inward improve isolation. Furthermore, we've enabled Control Flow Integrity (CFI) across all media components. Most vulnerabilities today are exploited past times subverting the normal command catamenia of an application, instead changing them to perform arbitrary malicious activities alongside all the privileges of the exploited application. CFI is a robust safety machinery that disallows arbitrary changes to the master copy command catamenia graph of a compiled binary, making it significantly harder to perform such attacks.

In add-on to these architecture changes together with CFI, Android Oreo comes alongside a feast of other tasty platform safety enhancements:

  • Seccomp filtering: makes some unused syscalls unavailable to apps together with so that they can't survive exploited past times potentially harmful apps.
  • Hardened usercopy: Influenza A virus subtype H5N1 recent survey of safety bugs on Android revealed that invalid or missing bounds checking was seen inward unopen to 45% of substance vulnerabilities. We've backported a bounds checking characteristic to Android kernels 3.18 together with above, which makes exploitation harder piece also helping developers location issues together with laid upwards bugs inward their code.
  • Privileged Access Never (PAN) emulation: Also backported to 3.18 kernels together with above, this characteristic prohibits the substance from accessing user infinite direct together with ensures developers utilize the hardened functions to access user space.
  • Kernel Address Space Layout Randomization (KASLR): Although Android has supported userspace Address Space Layout Randomization (ASLR) for years, we've backported KASLR to assistance mitigate vulnerabilities on Android kernels 4.4 together with newer. KASLR works past times randomizing the location where substance code is loaded on each boot, making code reuse attacks probabilistic together with thence to a greater extent than hard to deport out, particularly remotely.

App safety together with device identifier changes

Android Instant Apps run inward a restricted sandbox which limits permissions together with capabilities such equally reading the on-device app listing or transmitting cleartext traffic. Although introduced during the Android Oreo release, Instant Apps supports devices running Android Lollipop together with later.

In society to grip untrusted content to a greater extent than safely, we've isolated WebView past times splitting the rendering engine into a form procedure together with running it within an isolated sandbox that restricts its resources. WebView also supports Safe Browsing to protect against potentially unsafe sites.

Lastly, we've made significant changes to device identifiers to give users to a greater extent than control, including:

  • Moving the static Android ID together with Widevine values to an app-specific value, which helps boundary the work of device-scoped non-resettable IDs.
  • In accordance alongside IETF RFC 7844 anonymity profile, net.hostname is straightaway empty together with the DHCP customer no longer sends a hostname.
  • For apps that postulate a device ID, we've built a Build.getSerial() API together with protected it behind a permission.
  • Alongside safety researchers1, nosotros designed a robust MAC address randomization for Wi-Fi scan traffic inward diverse chipsets firmware.

Android Oreo brings inward all of these improvements, together with many more. As always, nosotros appreciate feedback together with welcome suggestions for how nosotros tin improve Android. Contact us at security@android.com.

_____________________________________________________________________

1: Glenn Wilkinson together with squad at Sensepost, UK, Célestin Matte, Mathieu Cunche: University of Lyon, INSA-Lyon, CITI Lab, Inria Privatics, Mathy Vanhoef, KU Leuven

Phasing Out Legacy Recommendations On Android Tv

Posted past times Bejamin Baxter, Developer Programs Engineer

At Google I/O 2017, nosotros announced a redesign of the Android TV's domicile screen. We expanded the recommendation row concept as well as therefore that each app tin induce got its ain row (or multiple rows) of content on the domicile screen. Since the unloose of the novel domicile screen, nosotros induce got seen increased adoption of the novel recommendation channels for Android Oreo inward a broad diverseness of apps.

With to a greater extent than as well as to a greater extent than apps surfacing high-quality recommendations using the novel channels, the legacy recommendation row inward the novel domicile covert on Android O volition last phased out over the side past times side year.

Currently, when an app creates recommendations amongst the legacy notification based API the content is added to a channel for that app. The channel may already be if at that spot was recommended content for it when you lot upgraded from Android northward (or below). If the at that spot is no channel for the app, it volition last automatically generated for you. In either case, the user can't add together or take programs from the channel, only they tin move, hide, as well as present the channel. When an app starts to purpose the novel API to add together its ain channels, the arrangement removes the auto-generated channel as well as the app takes over command of the display of their content.

Over the side past times side year, nosotros volition stage out the automatic generation of channels. Instead of generating multiple channels, i for each app's legacy recommendations, nosotros volition insert i channel for all legacy recommendations. This channel volition seem at the bottom of the channel list. Users tin deed or take it. When a user upgrades to Android O, the previous recommendation row from Android northward (and below) becomes a channel at the bottom of the domicile screen.

If you lot induce got non updated your app to post service content to the novel channels on the domicile screen, accept a await at our documentation, codelab, as well as sample to instruct started.

We await forwards to to a greater extent than as well as to a greater extent than apps taking wages of the novel changes inward the domicile screen. We dear to necessitate heed your feedback, as well as therefore delight watch the Android TV Developer Community on G+ to percentage your thoughts as well as ideas.

Thursday, October 25, 2018

Android Excellence: Congratulations To The Newly Added Apps Too Games

Posted yesteryear Kacey Fahey, Developer Marketing, Google Play

Kicking off the novel year, we're excited to welcome our latest grouping of Android Excellence apps together with games. These awardees stand upwardly for roughly of the best experiences together with piece of occupation yesteryear performing apps together with games on the Play Store together with tin give notice hold out constitute amongst other peachy selections on the Editors' Choice page.

If you're looking for roughly novel apps, below are a few highlights.

  • EyeEm: Influenza A virus subtype H5N1 peachy photograph editor app amongst a sum suite of filters together with tools to brand your pictures shine. Learn vogue tips from their community together with fifty-fifty sell your images through the EyeEm marketplace.
  • Musixmatch: Check out Musixmatch's updated app piece learning the lyrics to all your favorite songs. The app is compatible amongst many of the piece of occupation yesteryear music streaming services together with yous tin give notice fifty-fifty follow along amongst your Android Wear device or on the big covert amongst Chromecast support.
  • ViewRanger: Plan your side yesteryear side hiking opportunity yesteryear discovering novel routes together with trail guides amongst ViewRanger. Check out the Skyline characteristic using your phone's photographic television receiver camera to position over ix ane K k sites across the public through augmented reality.

Here are a few of our favorite novel games joining the collection.

  • Fire Emblem Heroes: Nintendo's pop strategy-RPG franchise is directly reimagined for mobile. Fight battles, prepare your heroes' skills, together with sweat diverse gameplay modes for hours of exciting gameplay.
  • Lumino City: Explore the charming papercraft vogue public inwards this award-winning puzzle opportunity game. The beautiful scenery is all handcrafted.
  • Old Man's Journey: Gorgeous scenery, an immersive soundtrack, together with deep emotion assistance yous uncover the former man's life stories piece yous solve puzzles together with shape the landscape to produce upwardly one's hear his future.

Congratulations to the newly added Android Excellence apps together with games.

New Android Excellence apps New Android Excellence games
1tap

Acorns

Airbnb

Blink Health

Blinkist

Clue

Ditty

EyeEm

Fabulous

IFTTT

iReader

Journey

KKBOX

LinkedIn

Mobills: Budget Planner

Musixmatch

Shpock

Stocard

Video Editor

ViewRanger

YAZIO

YOP

Agent A

Bit Heroes

Bloons Supermonkey 2

Dancing Line

DEAD WARFARE: Zombie

Dragon Project

Fire Emblem Heroes

Futurama: Worlds of Tomorrow

Idle Heroes

Last Day on Earth: Survival

Lords Mobile

Lumino City

Modern Combat Versus

Old Man's Journey

The Walking Dead No Man's Land

War Wings

Explore other peachy apps together with games inwards the Editors' Choice department on Google Play together with discover best practices to assistance yous construct character apps together with games for people to love.

How useful did yous notice this blogpost?

★ ★ ★ ★ ★

Tuesday, October 23, 2018

Android Developer Story: Big Fish Games Uses Opened Upwards Beta Testing To De-Risk Their Game Launch

Posted past times Kacey Fahey, Developer Marketing, Google Play

Based inwards Seattle, Big Fish Games was founded inwards 2002. Starting equally a game studio, they chop-chop turned into a major publisher too distributor of casual games. Leading upwards to the launch of their hitting fourth dimension management game, Cooking Craze, the squad ran an opened upwards beta on Google Play.

Big Fish Games establish that using opened upwards beta provided to a greater extent than than 10x the sum of user feedback from unopen to the world, too too gave them access to cardinal metrics too Android Vitals inwards the Play Console. The mightiness to monitor game functioning metrics pre-launch allowed the squad to focus on areas of improvement, which atomic number 82 to a 21% reduction inwards crash rate. The larger sample size of beta testers too provided to a greater extent than insights on thespian behaviour too helped arrive at a +7% improvement inwards twenty-four hr menses 1, twenty-four hr menses 7, too twenty-four hr menses xxx retentiveness rates.

You tin forcefulness out too larn to a greater extent than pre-launch best practices too strategies to better functioning post-launch at our Google Developer Day on Monday, March 19th at GDC. Sign up to remain informed.

How useful did you lot uncovering this blogpost?

★ ★ ★ ★ ★

Sunday, October 21, 2018

Previewing Android P

Posted past times Dave Burke, VP of Engineering

Last calendar week at Mobile World Congress nosotros saw that Android's ecosystem of developers, device makers, together with silicon partners continues to convey amazing experiences to users worldwide.

Looking ahead, today we're sharing the offset developer preview of Android P, the newest version of Android. It's an early on baseline create for developers alone -- you're our most trusted reviewers together with testers ;-) Early feedback from our developer community is crucial inward helping us evolve the platform to encounter your needs. We'd dear to acquire you lot started exercising the novel features together with APIs inward P, together with every bit always, nosotros depend on your early on feedback together with ideas, thus delight give us your input!

This offset developer preview of Android P is merely the start - we'll receive got lots to a greater extent than to portion at Google I/O inward May, remain tuned!

New features to seek inward your apps

Here's a human face at some of the cool features inward this offset preview of Android P that nosotros desire you lot to seek together with give feedback on.

Indoor positioning alongside Wi-Fi RTT

Accurate indoor positioning has been a long-standing challenge that opens novel opportunities for location-based services. Android P adds platform back upwardly for the IEEE 802.11mc WiFi protocol -- also known every bit WiFi Round-Trip-Time (RTT) -- to allow you lot accept wages of indoor positioning inward your apps.

On Android P devices alongside hardware support, location permission, together with location enabled, your apps tin move role RTT APIs to mensurate the distance to nearby WiFi Access Points (APs). The device doesn't demand to connect to the APs to role RTT, together with to maintain privacy, alone the telephone is able to decide the distance, non the APs.

Knowing the distance to three or to a greater extent than APs, you lot tin move calculate the device seat alongside an accuracy of 1 to 2 meters. With this accuracy, you lot tin move create novel experiences similar in-building navigation; fine-grained location-based services such every bit disambiguated vocalization command (e.g.,'Turn on this light'); together with location-based information (e.g., 'Are at that topographic point special offers for this product?').

Display cutout support

Now apps tin move accept total wages of the latest device screens alongside fullscreen content. We've added display cutout into the platform, along alongside APIs that you lot tin move role to acquire by how your content is displayed.

Cutout back upwardly industrial plant seamlessly for apps, alongside the organisation managing condition bar meridian to dissever your content from the cutout. If you lot receive got critical, immersive content, you lot tin move also role new APIs to banking enterprise gibe the cutout shape together with asking full-screen layout around it. You tin move banking enterprise gibe whether the electrical flow device has a cutout past times calling getDisplayCutout(), together with and thus decide the location together with shape of the cutout expanse using DisplayCutout. Influenza A virus subtype H5N1 novel window layout attribute, layoutInDisplayCutoutMode, lets you lot tell the organisation how together with when lay out your content relative to the cutout area. Details are here.

To brand it easier to create together with seek cutout back upwardly inward your app, we've added a Developer Option that simulates a cutout on whatever device. We recommend testing your existing apps alongside display cutout enabled to ensure that your content displays properly.

Apps alongside immersive content tin move display content fullscreen on devices alongside a display cutout.

Improved messaging notifications

In Android P we've pose a priority on improving visibility together with business office inward notifications. Try the novel MessagingStyle notification trend -- it highlights who is messaging together with how you lot tin move reply. You tin move demo conversations, attach photos together with stickers, together with fifty-fifty advise smart replies. See the details here.

In MessagingStyle notifications you lot tin move at nowadays demo conversations together with smart replies [left] together with fifty-fifty attach images together with stickers [right].

Multi-camera API

You tin move at nowadays access streams simultaneously from two or to a greater extent than physical cameras on devices running Android P. On devices alongside either dual-front or dual-back cameras, you lot tin move create innovative features non possible alongside merely a unmarried camera, such every bit seamless zoom, bokeh, together with stereo vision. The API also lets you lot telephone proper name upwardly a logical or fused photographic boob tube camera flow that automatically switches betwixt 2 or to a greater extent than cameras. We're looking frontward to seeing your novel together with exciting creations every bit Android P devices supporting multiple cameras accomplish the marketplace inward the twelvemonth ahead.

Other improvements inward photographic boob tube camera include novel Session parameters that assist to cut back delays during initial capture, together with Surface sharing that lets photographic boob tube camera clients lead hold diverse use-cases without the demand to halt together with start photographic boob tube camera streaming. We've also added APIs for display-based flash support together with access to OIS timestamps for app-level picture stabilization together with special effects.

ImageDecoder for bitmaps together with drawables

Android P gives you lot an easier agency to decode images to bitmaps or drawables -- ImageDecoder, which deprecates BitmapFactory. ImageDecoder lets you lot create a bitmap or drawable from a byte buffer, file, or URI. It offers several advantages over BitmapFactory, including back upwardly for exact scaling, single-step decoding to hardware memory, back upwardly for post-processing inward decode, together with decoding of animated images.

You tin move decode together with scale to an exact size merely past times calling setResize() alongside the target dimensions. You tin move also telephone proper name upwardly getSampledSize() to acquire the picture dimensions at a specific sample rate, together with thus scale to those dimensions. If you lot desire post-process an picture -- such every bit applying rounded corners for circle masks or to a greater extent than complicated effects -- you lot tin move transcend ImageDecoder whatever android.graphics.PostProcessor. You tin move also create Drawables directly, alongside ImageDecoder.decodeDrawable(). If the encoded picture is an animated GIF or WebP, the Drawable volition live an instance of the novel AnimatedImageDrawable.

HDR VP9 Video, HEIF picture compression, together with Media APIs

Android P adds built-in back upwardly for HDR VP9 Profile 2, thus you lot tin move at nowadays deliver HDR-enabled movies to your users from YouTube, Play Movies, together with other sources on HDR-capable devices.

We're excited to add together HEIF (heic) picture encoding to the platform. HEIF is a pop format for photos that improves compression to salve on storage together with network data. With platform back upwardly on Android P devices, it's slow to ship together with utilize HEIF images from your backend server. Once you've made certain that your app is compatible alongside this information format for sharing together with display, give HEIF a seek every bit an picture storage format inward your app. You tin move do a jpeg-to-heic conversion using ImageDecoder or BitmapFactory to obtain a bitmap from jpeg, together with you lot tin move role HeifWriter inward the novel Support Library alpha to write HEIF withal images from YUV byte buffer, Surface, or Bitmap.

We're also inward the physical care for of enhancing together with refactoring the media APIs to brand them easier to develop together with integrate alongside -- sentry for details coming afterwards this year.

Data damage sensitivity inward JobScheduler

JobScheduler is Android's key service to assist you lot acquire by scheduled tasks or operate across Doze, App Standby, together with Background Limits changes. In Android P, JobScheduler handles network-related jobs amend for the user, coordinating alongside network condition signals provided separately past times carriers.

Jobs tin move at nowadays declare their estimated information size, betoken prefetching, together with specify detailed network requirements—carriers tin move written report networks every bit existence congested or unmetered. JobScheduler together with thus manages operate according to the network status. For example, when a network is congested, JobScheduler powerfulness defer large network requests. When unmetered, it tin move run prefetch jobs to improve the user experience, such every bit past times prefetching headlines.

When you lot are adding jobs, seek using setEstimatedNetworkBytes(), setIsPrefetch() together with setRequiredNetwork() to allow JobScheduler lead hold the operate properly. When your project executes, live certain to role the Network object returned past times JobParameters.getNetwork(), otherwise you'll implicitly role the device's default network which may non encounter your requirements, causing unintended information usage.

Neural Networks API 1.1

We introduced the Neural Networks API inward Android 8.1 to accelerate on-device machine learning on Android. In Android P we're expanding together with improving this API, adding back upwardly for ix novel ops -- Pad, BatchToSpaceND, SpaceToBatchND, Transpose, Strided Slice, Mean, Div, Sub, together with Squeeze. If you lot receive got a Pixel 2 device, the DP1 create at nowadays includes an Qualcomm Hexagon HVX driver alongside acceleration for quantized models.

Autofill improvements

In Android P we're continuing to improve the Autofill Framework based on feedback from users together with developers. Along alongside key bugfixes, this unloose includes novel APIs that allow password managers to improve the Autofill user experience, such every bit amend dataset filtering, input sanitization, together with compatibility mode. Compatibility fashion inward particular has a high impact on terminate users because it lets password managers accept the accessibility-based approach inward apps that don't yet receive got total Autofill support, but without impacts on surgical physical care for or security. See all the details on what's novel here.

Open Mobile API for NFC payments together with secure transactions

Android P adds an implementation of the GlobalPlatform Open Mobile API to Android. On supported devices, apps tin move role the OMAPI API to access secure elements (SE) to enable smart-card payments together with other secure services. Influenza A virus subtype H5N1 hardware abstraction layer (HAL) provides the underlying API for enumerating a diversity of Secure Elements (eSE, UICC, together with others) available.

Strengthening Android's foundations

In Android P we're continuing our long-term investment to brand Android the best platform for developers.

Security for apps

In Android P we're moving to a to a greater extent than consistent UI for fingerprint authentication across apps together with devices. Android at nowadays provides a measure organisation dialog to prompt the user to touching the fingerprint sensor, managing text together with placement every bit appropriate for the device. Apps tin move trigger the organisation fingerprint dialog using a novel FingerprintDialog API. We recommend switching to the novel organisation dialog every bit presently every bit possible.

As portion of a larger endeavor to motility all network traffic away from cleartext (unencrypted HTTP) to TLS, we're also changing the defaults for Network Security Configuration to block all cleartext traffic. You'll at nowadays demand to brand connections over TLS, unless you lot explicitly opt-in to cleartext for specific domains.

Privacy for users

To amend ensure privacy, Android P restricts access to mic, camera, together with all SensorManager sensors from apps that are idle. While your app's UID is idle, the mic reports empty good together with sensors halt reporting events. Cameras used past times your app are disconnected together with volition generate an mistake if the app tries to role them. In most cases, these restrictions should non innovate novel issues for existing apps, but nosotros recommend removing these requests from your apps.

We volition also enable encryption of Android backups alongside a client-side secret. This characteristic is withal inward active evolution together with volition live launched inward a futurity Android P preview release.

Longer term we're working to convey back upwardly for per-network randomization of associated MAC addresses to the platform. On supported devices running Android P, you lot tin move enable this experimentally for testing every bit a novel developer option.

Android P also gives the user command over access to the platform's build.serial identifier past times putting it behind the READ_PHONE_STATE permission. Direct access to this identifier has been deprecated since Android 8.0. In guild to access the build.serial identifier, you lot should role the Build.getSerial() method.

ART performance

We're working to convey surgical physical care for together with efficiency improvements to all apps through the ART runtime. We've expanded ART's role of execution profiles to optimize apps together with cut back in-memory footprint of compiled app code. ART at nowadays uses profile information for on-device rewriting of DEX files, alongside reductions upwardly to 11% across a gain of pop apps. We human face these to correlate closely alongside reductions inward organisation DEX retention usage together with faster startup times for your apps.

Optimized Kotlin

Kotlin is a first-class linguistic communication on Android, together with if you lot haven't tried it yet, you lot should! We've made an enduring commitment to Kotlin inward Android together with proceed to expand back upwardly including optimizing the surgical physical care for of Kotlin code. In P you'll see the offset results of this operate -- we've improved several compiler optimizations, specially those that target loops, to extract amend performance. We're also continuing to operate inward partnership alongside JetBrains to optimize Kotlin's generated code. You tin move acquire all of the latest Kotlin surgical physical care for improvements merely past times keeping Android Studio's Kotlin plugin up-to-date.

Power efficiency

In Android P nosotros proceed to refine Doze, App Standby, together with Background Limits to farther improve battery life; delight live certain to seek your apps alongside these together with ship feedback.

Targeting modern Android

Android P is shaped past times our longer-term initiatives to modernize the foundations of Android together with the apps that run on it. As nosotros announced recently, Google Play volition require all app updates to target Android Oreo (targetSdkVersion 26 or higher) past times Nov 2018, alongside back upwardly for 64-bit hardware on the horizon for 2019.

In line alongside these changes, Android P volition warn users alongside a dialog when they install an app that targets a platform before than Android 4.2 (targetSdkVersion less than 17), together with futurity platform versions volition proceed to growth that lower bound. We're encouraging every Android developer to start planning the migration to target API 26 now, together with to start the migration operate every bit presently every bit possible. Here's a checklist of resources for assist together with back upwardly -- we're looking frontward to seeing your apps getting the most from modern Android.

Improving app compatibility through world APIs

Influenza A virus subtype H5N1 key number for users together with developers is app compatibility -- making certain that apps are ready for novel platform versions every bit they arrive, without gamble of crashes for users together with emergency rollouts for developers. Apps that role Android's world APIs from the SDK or NDK are inward a skillful seat to live compatible, but apps that role mortal Android interfaces together with libraries are not.

So alongside Android P we're starting a gradual process to bound access to selected non-SDK interfaces, asking developers -- including app teams within Google -- to role Earth equivalents instead. In cases where at that topographic point is no world equivalent for your use-case, delight let us know -- nosotros desire to brand certain that this physical care for is every bit smoothen every bit possible for developers, thus we'll role your feedback to ensure the initial rollout alone affects APIs where developers tin move easily migrate to world alternatives. More almost the restrictions is here.

Get started inward a few unproblematic steps

First, make your app compatible to give your users a seamless transition to Android P. Just download a device organisation image or emulator organisation image, install your electrical flow app, together with seek -- the app should run together with human face great, together with lead hold behavior changes properly. After you've made whatever necessary updates, nosotros recommend publishing to Google Play correct away without changing the app's platform targeting.

Remember, you lot don't demand a supported Pixel device to seek or develop on Android P. For most uses nosotros highly recommend setting upwardly an Android Virtual Device on the Android Emulator as a seek surroundings instead. If you lot haven't tried the emulator recently, you'll abide by that it's incredibly fast , boots inward nether vi seconds, convenient to use, together with you lot tin move fifty-fifty model next-gen screens -- such every bit long screens together with screens alongside photographic boob tube camera cutout.

Next, change your app's targeting to "P" together with run it alongside the total Android P experience. Set your app's targetSdkVersion to 'P' together with compileSdkVersion to android-P, build, together with test. Make certain to read the deportment changes for apps targeting P to abide by areas you lot volition desire to seek together with powerfulness demand to adjust.

When you're ready, dive into Android P together with acquire almost the many new features together with APIs you lot tin move accept wages of inward your app. To brand it easier to explore the novel APIs, accept a human face at the API diff report, along alongside the Android P API reference. Visit the P Developer Preview site for details on the preview timeline together with support resources. Also banking enterprise gibe out this video highlighting what's novel inward Android P for developers.

To acquire started edifice alongside Android P, download the P Developer Preview SDK together with tools into Android Studio 3.1 or role the latest Android Studio 3.2 canary version. We're also releasing an alpha version of the 28.0.0 back upwardly library for you lot to try.

What's ahead?

The Android P Developer Preview includes an updated SDK alongside organisation images for testing on the official Android Emulator together with on Pixel, Pixel XL Pixel 2, together with Pixel 2 XL devices.

We conception to update the preview organisation images together with SDK regularly throughout the preview. This initial unloose is for developers alone together with non intended for daily or consumer use, thus we're making it available past times manual download together with flash only. Downloads together with instructions are here.

As nosotros acquire closer to a lastly product, we'll live inviting consumers to seek it out every bit well, together with we'll opened upwardly up enrollments through Android Beta at that time. Stay tuned for details, but for at nowadays delight banknote that Android Beta is non currently available for Android P.

As always, your feedback is critical, thus delight let us know what you lot think — the sooner nosotros take away heed from you, the to a greater extent than of your feedback nosotros tin move integrate. When you lot abide by issues, delight report them here. We receive got dissever hotlists for filing platform issues, app compatibility issues, together with third-party SDK issues.

Cryptography Changes Inwards Android P

Cryptography Changes Inwards Android P

Posted past times Adam Vartanian, Software Engineer

We promise you're enjoying the foremost developer preview of Android P. We wanted to specifically telephone phone out about backward-incompatible changes nosotros innovation to brand to the cryptographic capabilities inwards Android P, which you lot tin run across inwards the developer preview.

Changes to providers

Starting inwards Android P, nosotros innovation to deprecate about functionality from the BC provider that's duplicated past times the AndroidOpenSSL (also known every bit Conscrypt) provider. This volition simply impact applications that specify the BC provider explicitly when calling getInstance() methods. To endure clear, nosotros aren't doing this because nosotros are concerned most the safety of the implementations from the BC provider, rather because having duplicated functionality imposes additional costs too risks piece non providing much benefit.

If you lot don't specify a provider inwards your getInstance() calls, no changes are required.

If you lot specify the provider past times mention or past times instance—for example, Cipher.getInstance("AES/CBC/PKCS7PADDING", "BC") or Cipher.getInstance("AES/CBC/PKCS7PADDING", Security.getProvider("BC"))—the take you lot arrive Android P volition depend on what API score your application targets. For apps targeting an API score earlier P, the telephone phone volition render the BC implementation too log a alert inwards the application log. For apps targeting Android P or later, the telephone phone volition throw NoSuchAlgorithmException.

To resolve this, you lot should halt specifying a provider too utilisation the default implementation.

In a after Android release, nosotros innovation to withdraw the deprecated functionality from the BC provider entirely. Once removed, whatever telephone phone that requests that functionality from the BC provider (whether past times mention or instance) volition throw NoSuchAlgorithmException.

Removal of the Crypto provider

In a previous post, nosotros announced that the Crypto provider was deprecated kickoff inwards Android Nougat. Since then, whatever asking for the Crypto provider past times an application targeting API 23 (Marshmallow) or earlier would succeed, but requests past times applications targeting API 24 (Nougat) or after would fail. In Android P, nosotros innovation to withdraw the Crypto provider entirely. Once removed, whatever telephone phone to SecureRandom.getInstance("SHA1PRNG", "Crypto") volition throw NoSuchProviderException. Please ensure your apps convey been updated.

Friday, October 19, 2018

Introducing Novel Android Excellence Apps Too Games On Google Play

Kacey Fahey, Developer Marketing, Google Play

Congratulations to the latest apps in addition to games featured inward the Android Excellence plan on Google Play. As a reminder, these collections are refreshed every iii months in addition to recognize apps in addition to games that laid upwards the bar for high quality, neat user experience, in addition to potent technical performance.

If you're looking for to a greater extent than or less novel apps, hither are a few highlights.

  • Adobe Photoshop Lightroom CC: Capture, edit, in addition to portion your photos amongst the ability of Lightroom on your mobile device. Use presets for quick in addition to tardily edits, or dive inward amongst the advanced editing tools.
  • Seven - 7 Minute Workout Training Challenge: Use this app to agree 7 infinitesimal workouts into your busy lifestyle. Grab your phone, or fifty-fifty your Wear OS device to operate out anywhere in addition to anytime. Keep it upwards to earn achievements in addition to bring together the 7 Club for fifty-fifty to a greater extent than support.
  • SoloLearn: Learn to Code for Free: Learn 1 of many novel coding languages past times joining a community of millions. Tap inward to the 24/7 peer support, or do your ain lessons to acquire a community influencer.

Here are a few of our favorite novel games joining the collection.

  • CodyCross: Crossword Puzzles: Try this game for a fun novel trend of crossword puzzles. Play for costless on risk manner or subscribe for particular themed packs, varying difficulty levels in addition to fresh content added weekly.
  • MARVEL Contest of Champions: Play amongst your favorite Marvel Super Heroes in addition to Super Villians inward iconic locations from the Marvel Universe. Assemble your squad of champions to play through the exciting storyline in addition to fifty-fifty get alliances amongst your friends.
  • Orbital 1: Test your skills inward this real-time multiplayer game amongst beautiful 3D graphics. Collect in addition to upgrade fighters in addition to weapons to care your perfect squad for quick battles in addition to novel daily quests.

See the sum listing of Android Excellence apps in addition to games.

New Android Excellence apps New Android Excellence games
Adobe Photoshop Lightroom CC

Dashlane

Holstelworld

iCook

Keeper Password Manager

Keepsafe Photo Vault

Mobisystems OfficeSuite

PhotoGrid

Runtastic Results

Seven - 7 Minute Workout Training Challenge

SoloLearn: Learn to Code for Free

Tube Map

WPS Office

Angry Birds 2

Azur Lane アズールレーン

CodyCross

Into the Dead 2

Little Panda Restaurant

MARVEL Contest of Champions

Orbital 1

Rooms of Doom

Sky Dancer Run

Sling Kong

Soul Knight

Explore other neat apps in addition to games inward the Editors' Choice department on Google Play in addition to discover best practices to help y'all get character apps in addition to games.

How useful did y'all uncovering this blogpost?
★ ★ ★ ★ ★