Showing posts with label Android Developer. Show all posts
Showing posts with label Android Developer. Show all posts

Friday, October 26, 2018

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

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?
★ ★ ★ ★ ★

Wednesday, October 17, 2018

Time To Celebrate The 2018 Google Play Abide By Nominees

Posted past times Purnima Kochikar, Director, Apps together with Games Business Development, Google Play

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

This year's Google Play Awards volition arrive at got house on Monday, May 7th, kicking off the calendar week of Google I/O. Celebrating our 3rd year, we're excited to highlight nine categories; some you lot may recognize from previous years, along amongst novel additions highlighting increment areas together with trends we're focused on, such equally edifice for emerging markets.

Each year, the Google Play Awards recognize move past times apps together with games on Google Play. They correspond some of the best experiences available on Android, amongst an emphasis on overall quality, potent design, technical performance, together with innovation. The nominees were selected past times diverse teams across Google, together with all run across criteria thresholds roofing high star rating, Android vitals, together with arrive at got had a launch or major update since Apr 2017.

Congratulations to this year's nominees below together with don't forget to banking concern jibe them out on the Google Play shop at g.co/play/gpa2018.

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Standout Well-Being App

Apps empowering people to alive the best version of their lives, spell demonstrating responsible pattern together with engagement strategies

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Best Accessibility Experience

Apps or games enabling device interaction inwards an innovative agency that serves people amongst disabilities or exceptional needs

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Best Social Impact

Apps or games that arrive at a positive deportment on inwards communities some the public (focused on health, education, crisis response, refugees, fiscal wellness & fundraising functions)

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Standout Indie

Games from indie developers that focus on artistic design, gameplay mechanics, together with overall smooth

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Best Community Building Game

Games built to connect gamers, encouraging social interaction together with community edifice

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Best AR or VR Experience

Apps or games offering highly engaging together with immersive experiences amongst optimal utilisation of ARCore or Daydream UI

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Standout Build for Billions Experience

Apps or games amongst optimized performance, localization, together with culturalization for emerging markets

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Standout Startup

Apps from novel developers that offering a unique sense spell achieving potent organic install growth.

  • Astro past times Astro Technology
  • Canva past times Canva
  • Drops past times Language Drops
  • Kredivo past times FinAccel Pte Ltd
  • N26 past times N26

s Google Play Awards volition arrive at got house on Mon Time to celebrate the 2018 Google Play Award nominees

Best Breakthrough Hit

New apps or games amongst fantabulous overall design, user experience, engagement together with retention, together with potent organic install increment

Check out the winners, together with brand certain to endeavor out some of these corking apps together with games on Google Play at g.co/play/gpa2018.

How useful did you lot notice this blogpost? ★ ★ ★ ★ ★

Friday, October 12, 2018

#Imakeapps - Celebrating App Makers Worldwide

Posted yesteryear Patricia Correa, Director, Developer Marketing, Platforms & Ecosystems

The Android developer ecosystem is made upwardly of special individuals amongst unlike backgrounds, interests, too dreams. To celebrate the people who brand upwardly our community, starting today, too over the coming months, we'll last coming together amongst developers, founders, production managers, designers, too others from closed to the basis to postulate heed to a greater extent than nearly their passions too uncovering what they exercise when they footstep away from their computers.

Watch stories featuring adventurer Niek Bokkers from Polarsteps (Netherlands), creative mortal Faith Ringgold from Quiltuduko (USA) too chair restorer Hans Jørgen Wiberg from Be My Eyes (Denmark). You tin give the axe also read to a greater extent than nearly them too their apps on g.co/play/imakeapps.

Share your story

We'd honey to postulate heed from yous too. Use the hashtag #IMakeApps on your social channels, sharing the app or game yous locomote on, your constituent inwards its creation, too an ikon that best depicts who yous are exterior of work. We volition regularly choose too percentage some of our favorites on our channels.

If yous also desire to larn featured inwards an upcoming #IMakeApps film, state us to a greater extent than nearly yourself too your app or game, yesteryear completing this self-nomination form.

Stay tuned for to a greater extent than #IMakeApps stories yesteryear next us on Twitter, YouTube too LinkedIn.

How useful did yous detect this blogpost?

★ ★ ★ ★ ★

Google Play Safety Metadata Together With Offline App Distribution

Posted yesteryear James Bender, Product Manager, Google Play

In Dec final twelvemonth nosotros announced that nosotros would endure making updates to app security to assistance verify production authenticity from Google Play. We are straightaway adding a minor amount of safety metadata on give off of APKs to verify that the APK was distributed yesteryear Google Play.

One of the reasons we're doing this is to assistance developers accomplish a wider audience, especially inwards countries where peer-to-peer app sharing is mutual because of costly information plans as well as express connectivity.

In the future, for apps obtained through Play-approved distribution channels, we'll endure able to hit upward one's heed app authenticity spell a device is offline, add together those shared apps to a user's Play Library, as well as cope app updates when the device comes dorsum online. This volition give people to a greater extent than confidence when using Play-approved peer-to-peer sharing apps.

This likewise benefits y'all every bit a developer every bit it provides a Play-authorized offline distribution channel and, since the peer-to-peer shared app is added to your user's Play library, your app volition straightaway endure eligible for app updates from Play.

No activity is needed yesteryear developers or yesteryear those who purpose your app or game. We're adjusting Google Play's maximum APK size to direct maintain into trouble organisation human relationship the minor metadata addition, which is inserted into the APK Signing Block. In improver to improving the integrity of Google Play's mobile app ecosystem, this metadata volition likewise introduce novel distribution opportunities for developers as well as assistance to a greater extent than people operate on their apps upward to date.

How useful did y'all detect this blogpost?

★ ★ ★ ★ ★

Sunday, October 7, 2018

Androidx Evolution Is Straightaway Fifty-Fifty Better

Posted yesteryear Aurimas Liutikas, software engineer on AndroidX team

AndroidX (previously known every bit Android Support Library) started out every bit a pocket-sized laid of libraries intended to supply backwards compatibility for novel Android platform APIs and, every bit such, its evolution was strictly tied to the platform. As a result, all function was done inwards internal Google branches in addition to hence pushed to the populace Android Open Source Project (AOSP) together amongst the platform push. With this flow, external contributions were limited to a narrow window of fourth dimension where the internal in addition to AOSP branches were unopen inwards content. On summit of that, it was hard to contribute -- inwards gild to create a total AndroidX create in addition to testing, external developers had to banking corporation lucifer out >40GB of the total Android platform code.

Today, the orbit of AndroidX has expanded dramatically in addition to includes libraries such every bit AppCompat for easier UI development, Room for database management, in addition to WorkManager for background work. Many of these libraries implement higher-level abstractions in addition to are less tied to novel revisions of the Android platform, in addition to all libraries are designed amongst backwards compatibility inwards bespeak heed from the start. Several libraries, such every bit RecyclerView in addition to Fragment, are purely AndroidX-side implementations amongst few ties to the platform.

Starting a picayune over 2 years ago, nosotros began a procedure of unbundling -- moving AndroidX out of Android platform builds into its ain course of teaching build. We had to create a bang-up bargain of work, including migrating our builds from brand to Gradle every bit good every bit migrating all of our API tracking tools in addition to documentation generation out of the platform build. With that procedure completed, nosotros reached a indicate where a developer tin instantly banking corporation lucifer out a minimal AndroidX project, opened upward it inwards Android Studio, in addition to create using the populace SDK in addition to populace Android Gradle Plugin.

The Android developer community has long expressed a wishing to contribute to a greater extent than easily to AndroidX; however, this was ever a challenge due to the reasons described above. This changes today: AndroidX evolution is moving to populace AOSP. That agency that our principal characteristic evolution (except for top-secret integrations amongst the platform 😀) in addition to põrnikas fixes volition hold upward done inwards the opened upward using the r.android.com Gerrit review tool in addition to changes volition hold upward visible inwards the aosp/androidx-master-dev branch.

We are making this alter to give improve transparency to developers; it gives developers a direct a opportunity to meet features in addition to põrnikas fixes implemented inwards real-time. We are also excited near receiving põrnikas cook contributions from the community. We accept written upward a curt guide on how to become near contributing a patch.

In add-on to regular development, AOSP volition hold upward a house for experimentation in addition to prototyping. You volition meet novel libraries demo upward inwards this repository; roughly of them may hold upward removed earlier they ship, alter dramatically during pre-alpha development, or merge into existing libraries. The full general dominion is that solely the libraries on maven.google.com are officially ready for external developer usage.

Finally, nosotros are only getting started. We apologize for whatever fossil oil edges that you lot mightiness accept when contributing to AndroidX, in addition to nosotros asking your feedback via the public AndroidX tracker if you lot striking whatever issues.

Thursday, October 4, 2018

Make The Almost Of Notifications Amongst The Redesigned Article Of Apparel Bone Yesteryear Google

Posted past times Hoi Lam, Lead Developer Advocate, Wear OS past times Google

Today nosotros announced that we are evolving the blueprint of Wear OS past times Google to assistance you lot larn the most out of your fourth dimension - providing quicker access to your information in addition to notifications. Notifications tin come upwards from the automatic bridging of the phone's notification or last generated past times a local Wear app running on the watch. Whether you lot are a band developer, a Wear app developer, or both, at that spot are a few things you lot volition take away to know most the novel notification stream.

The novel notification stream

Until now, each notification took upwards the entire enshroud inwards Wear OS. Although this provided to a greater extent than infinite to include things similar inline action, it also meant it took a long fourth dimension for the user to larn through all their notifications. The novel notification flow is to a greater extent than compact, in addition to tin display multiple notifications on the same screen. This agency users tin procedure their notification streams to a greater extent than quickly.

What this agency for developers

  • Concise notification content is fifty-fifty to a greater extent than important. The novel unexpanded notification on Wear volition exhibit upwards to 3 lines of text. Because this is already to a greater extent than information than a unmarried business unexpanded notification on the user's phone, if your notification industrial plant on the band unexpanded, it should last fine on Wear.
  • Brand notification alongside color. The default championship in addition to icon color for notification is white. Developers tin straightaway bring their build identities past times customizing the color of the championship in addition to icon tint using setColor.
  • Custom notification layout volition no longer last supported. Previously developers used setDisplayIntent to inflate a custom activity within the notification stream. We possess got establish that the custom layout oftentimes does non accept into concern human relationship of the device course of report factor, in addition to is hard to maintain upwards to appointment every bit Wear OS's notification sense evolves. As a result, nosotros volition no longer back upwards this inwards notifications.
  • Inline activity is beingness reviewed. To relieve space, the novel layout no longer display inline activity inwards the flow in addition to setHintDisplayActionInline volition last ignored. Users tin maintain to access notification actions including inline activity when they tap to expand the notification. Our blueprint squad is reviewing whether nosotros should include inline activity inwards a hereafter release. As a result, earlier a determination is made, nosotros are non deprecating the related APIs. We volition maintain the developer community updated inwards due course.

As always, the current best practices for notification nonetheless apply. In particular, for messaging apps developers, nosotros strongly encourage the role of MessagingStyle notification in addition to enabling on-device Smart Reply through setAllowGeneratedReplies.

We volition source rolling these changes out inwards the adjacent month, in addition to then sentry for updates on your Wear OS past times Google smartwatch!