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

Friday, October 19, 2018

Wear Bone Past Times Google Developer Preview

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

Today nosotros launched the Wear OS past times Google developer preview together with brought Android P platform features to wearables. The developer preview includes updated organization images on the official Android Emulator together with a downloadable organization icon for the Huawei Watch 2 Bluetooth or Huawei Watch 2 Classic Bluetooth. This initial unloose is intended for developers alone together with is non for daily or consumer use. Therefore, it is alone available via manual download together with flash. Please refer to the release notes for known issues before downloading together with flashing your device.

In this release, nosotros would similar to highlight the next features that developers should pay attending to:

  • Restriction related to non-SDK methods together with fields: To meliorate app compatibility, Android P has started the procedure of restricting access to non-SDK methods together with fields. Developers should brand plans to migrate away from these. If in that place is no populace equivalent for your travel case, please permit us know.
  • Dark UI organization theme: To heighten glanceability, Wear OS has switched to a UI subject amongst a darker / dark background for the notifications flow together with organization launcher since the showtime of the year. This is at nowadays also the default for the organization subject together with should meliorate the glanceability for wearable apps. Developers should banking concern jibe the accessibility of their app's UI subsequently this change.
  • Limited background activity: To meliorate power, apps volition no longer travel allowed to run inwards the background unless the lookout adult man is on the charger. Developers should greenback that Wear OS is going farther amongst Android's app standby characteristic than another course of report factors. Exceptions to this include watch faces together with complications that the user currently has selected. This characteristic volition travel rolled out gradually inwards the developer preview, together with then you lot may non run across it at in 1 lawsuit on your device, simply should hit your apps accordingly past times removing background services.
  • Turning off radios when off body: To meliorate power, bluetooth, WiFi, together with cellular radios volition travel turned off when the lookout adult man is detected to travel off trunk for an extended catamenia of time. Again, this characteristic volition travel rolled out gradually together with then you lot may non initially run across it on your device. If this characteristic causes challenges inwards your evolution process, you lot tin mail away disable the characteristic via adb; delight follow the instructions inwards the release notes.
  • WiFi off when BT is disconnected: To meliorate power, the device volition no longer automatically connect to wifi when disconnected from bluetooth. Exceptions include if an app is requesting a high bandwidth network or if the lookout adult man is on the charger. This characteristic volition travel rolled out gradually together with then you lot may non initially run across it on your device.

Please reach us your feedback

We aspect to render several updates to this preview before the finally production release. Please submit whatever bugs you lot let out via the Wear OS past times Google final result tracker. The before you lot submit them, the higher the likelihood that nosotros tin mail away include the fixes inwards the finally release.

Saturday, October 13, 2018

Android P Beta Two Too End Apis!

Posted By Dave Burke, VP of Engineering

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

Four weeks agone at Google I/O nosotros released the outset beta version of Android P, putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary experiences.

We talked close some of Android's newest features inwards the keynotes in addition to went deep on the developer APIs during the breakouts. If y'all missed the livestream, brand certain to banking concern jibe out the full playlist of Android talks.

Today we're releasing Android P Beta 2, an update that includes the final Android P APIs, the latest organization images, in addition to updated developer tools to assistance y'all acquire create for the consumer liberate coming afterward inwards the summer.

You tin acquire Android P Beta 2 on Pixel devices past times enrolling here. If you're already enrolled in addition to received the Android P Beta 1 on your Pixel device, you'll automatically acquire the update to Beta 2. Partners that are participating inwards the Android P Beta program volition travel updating their devices over the coming weeks.

Enhance your app amongst Android P features in addition to APIs

Android P Beta 2 is the latest update of our upcoming Android P platform in addition to includes the concluding APIs (API degree 28) every bit good every bit the official SDK. You tin acquire started edifice amongst the Android P features in addition to APIs today. Here are a few nosotros desire y'all to endeavour -- caput over to the features overview for more.

Machine learning at the core

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

We partnered amongst DeepMind on a characteristic nosotros telephone outcry upwards Adaptive Battery that uses machine learning to prioritize organization resources for the apps the user cares close most. If your app is optimized for Doze, App Standby, in addition to Background Limits, Adaptive Battery should run good for y'all correct out of the box. Make certain to banking concern jibe out the details inwards the power documentation to regard how it plant in addition to where the impacts could be, in addition to exam your apps to brand certain they are ready.

App Actions is a novel agency to assistance y'all enhance the visibility of your app in addition to assistance drive engagement. Actions accept wages of machine learning on Android to surface your app to the user at merely the correct time, based on your app's semantic intents in addition to the user's context. Actions run on Android P in addition to before versions of the platform in addition to they'll travel available shortly for y'all to start using. Sign upwards here to travel notified when Actions are available.

Slices are a novel agency to surface rich, templated content inwards places similar Google Search in addition to Assistant. They're interactive, in addition to through Android Jetpack they're compatible all the agency dorsum to KitKat. Check out the Getting Started guide to larn how to construct amongst Slices -- y'all tin purpose the SliceViewer tool to regard how your Slices look. Over fourth dimension nosotros innovation to expand the number of places that your Slices tin appear, including remote display inwards other apps.

Simplicity, polish

Android P adds platform back upwards for screens amongst display cutouts, in addition to we've added new APIs to allow y'all deliver a rich, edge-to-edge sense on the latest screens. Cutout back upwards plant seamlessly for apps, amongst the organization managing status bar superlative to form your content from the cutout. If y'all guide keep immersive content, y'all tin purpose the display cutout APIs to banking concern jibe the seat in addition to shape of the cutout in addition to asking full-screen layout around it.

All developers should banking concern jibe out the docs to larn how to acquire by the cutout expanse in addition to avoid mutual compatibility issues that tin comport on apps. Make certain to exam your app on a device that has a display cutout, such every bit i of the Android P Beta devices.

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

Apps amongst immersive content tin display content fullscreen on devices amongst a display cutout.

If your app uses messaging notifications, accept wages of the changes inwards MessagingStyle that brand notifications fifty-fifty to a greater extent than useful in addition to actionable. You tin instantly exhibit conversations, attach photos in addition to stickers, in addition to fifty-fifty advise smart replies. You'll shortly travel able to purpose ML Kit to generate smart reply suggestions your app.

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!  putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

MessagingStyle notifications amongst conversations in addition to smart replies [left], images in addition to stickers [right].

Security

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

With a make of biometric sensors inwards purpose for authentication, we've made the sense to a greater extent than consistent across sensor types in addition to apps. Android P introduces a system-managed dialog to prompt the user for whatever supported type of biometric authentication. Apps no longer necessitate to construct their ain dialog -- instead they purpose the BiometricPrompt API to exhibit the criterion organization dialog. In add-on to Fingerprint (including in-display sensors), the API supports Face in addition to Iris authentication.

If your app is drawing its ain fingerprint auth dialogs, y'all should switch to using the BiometricPrompt API every bit shortly every bit possible.

More

If your app uses the device camera, endeavour the novel multi-camera APIs that allow y'all access streams simultaneously from ii or to a greater extent than physical cameras. On devices amongst dual cameras, y'all tin create innovative features non possible amongst a unmarried photographic tv set camera -- such every bit seamless zoom, bokeh, in addition to stereo vision. You tin acquire started today using whatever of the Android P Beta devices that offers a dual camera.

Audio apps tin purpose the Dynamics Processing API for access to a multi-stage, multi-band dynamics processing number to modify the sound coming out of Android devices in addition to optimize it according to the preferences of the listener or the ambient conditions.  putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs! Take a await at the Android P features overview for a consummate listing of the novel features in addition to APIs.

Get started inwards a few elementary steps

 putting AI at the heart in addition to individual of the operating organization in addition to focusing on intelligent in addition to elementary exp Android P Beta 2 in addition to concluding APIs!

First, make your app compatible in addition to give your users a seamless transition to Android P. Just install your electrical flow app from Google Play on a Android P Beta device or emulator in addition to exam -- the app should run in addition to await great, in addition to handgrip Android P behavior modify for all apps properly. After you've made whatever necessary updates, nosotros recommend publishing to Google Play correct away without changing the app's platform targeting.

If y'all don't guide keep a supported device, call upwards that y'all tin set upwards an Android Virtual Device on the Android Emulator every bit your exam surroundings instead. If y'all haven't tried the emulator recently, you'll discover that it's incredibly fast, boots inwards nether half dozen seconds, in addition to fifty-fifty lets y'all model next-gen screens -- such every bit long screens in addition to screens amongst display cutout.

Next, update your app's targetSdkVersion to 28 every bit shortly every bit possible, thence Android P users of your app tin practice goodness from the platform's latest security, performance, in addition to stability features. If your app is already targeting API 26+ inwards business amongst Google Play's upcoming policies, in addition to thence changing to target 28 should travel a small-scale jump.

It's also of import to test your apps for uses of non-SDK interfaces in addition to trim your reliance on them. As noted previously, inwards Android P we're starting a gradual procedure to limit access to selected non-SDK interfaces. Watch for logcat warnings that highlight straight uses of restricted non-SDK interfaces in addition to endeavour the novel StrictMode method detectNonSdkApiUsage() to select guide keep of accesses programmatically. Where possible, y'all should motion to using populace equivalents from the Android SDK or NDK. If there's no populace API that meets your use-case, delight let us know.

When you're ready, dive into Android P in addition to larn close the new features in addition to APIs to extend your apps. To construct amongst the novel APIs, just download the official API 28 SDK in addition to tools into Android Studio 3.1, or purpose the latest version of Android Studio 3.2. Then update your project's compileSdkVersion in addition to targetSdkVersion to API 28.

Visit the Developer Preview site for details in addition to documentation. Also banking concern jibe out this video in addition to the Google I/O Android playlist for to a greater extent than on what's novel inwards Android P for developers.

Publish to Google Play alpha, beta, or production channels

Starting today y'all tin unwrap your APK updates that are compiled against, or optionally targeting, API 28. Publishing an update to Google Play during the preview lets y'all force updates to users to exam compatibility on existing devices, including devices running Android P Beta 2.

To brand certain that your updated app runs good on Android P every bit good every bit older versions, a mutual strategy is to purpose Google Play's beta testing feature to acquire early on feedback from a small-scale grouping of users -- including Android P Beta 2 users — in addition to and thence practice a staged rollout to production.

How to acquire Android P Beta 2

For Pixel devices, y'all tin enroll your device inwards the Android Beta program in addition to you'll automatically have the update to Android P Beta 2 over-the-air. If you're already enrolled in addition to received Beta 1, sentry for the update coming your agency soon. Partners that are participating inwards the Android P Beta program volition travel updating their devices over the coming weeks.

You tin regard the total listing of supported partner in addition to Pixel devices at android.com/beta. For each device you'll discover specs in addition to links to the manufacturer's dedicated site for downloads, support, in addition to to study issues.

Thanks for all of your feedback thence far. Please transcend away along to part feedback or requests every bit nosotros run towards the consumer liberate afterward this summer. Feel gratuitous to purpose our hotlists for platform issues, app compatibility issues, in addition to third-party SDK issues.

We're looking forrad to seeing your apps on Android P!

Tuesday, October 9, 2018

Android P Beta Iii Is Directly Available

Posted yesteryear Dave Burke, VP of Engineering

khBXukXzWeYyIGABCnZoBzCvFirxacLYwCLcBGAs Android P Beta three is directly available

Today we're rolling out Beta three of Android P, our side yesteryear side milestone inwards this year's Android P developer preview. With the developer APIs already finalized inwards the previous update, Beta three directly takes us rattling simply about what you'll view inwards the concluding version of Android P, due afterward this summer.

Android P Beta three includes the latest põrnikas fixes together with optimizations for stability together with polish, together alongside the July 2018 safety updates. It's a neat agency to exam your apps directly to brand certain they are ready earlier the concluding release. Give Beta three a endeavour together with let us know what y'all think!

You tin acquire Android P Beta three on Pixel devices yesteryear enrolling here. If you're already enrolled together with received the Android P Beta two on your Pixel device, you'll automatically acquire the update to Beta 3. Partners who are participating inwards the Android P Beta program volition also live on updating their devices to Beta three over the coming weeks.

What's inwards this update?

Today's preview update includes the Beta three organisation images for Pixel devices together with the D8 every bit an independent tool. Beta three is an early on unloose candidate create of Android alongside near-final organisation behaviors together with the official Android P APIs (API degree 28).

With the Beta three organisation images together with updated create tools, you've got everything y'all take away to exam your apps or extend them alongside Android P features similar multi-camera support, display cutout, enhanced notifications, ImageDecoder, TextClassifier, together with many others. In your testing, brand certain to trouble concern human relationship for App standby buckets, privacy restrictions, together with restrictions on non-SDK interfaces.

Get started inwards a few elementary steps

khBXukXzWeYyIGABCnZoBzCvFirxacLYwCLcBGAs Android P Beta three is directly available

First, make your app compatible together with give your users a seamless transition to Android P. Just install your electrical flow app from Google Play on an Android P Beta device or emulator together with exam -- the app should run together with hold off great, together with handgrip the Android P 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.

If y'all don't cause got a supported device, recollect that y'all tin instead set upward an Android Virtual Device on the Android Emulator for your exam environment. If y'all haven't tried the emulator recently, you'll bring out that it's incredibly fast, boots inwards nether half-dozen seconds, together with fifty-fifty lets y'all model next-gen screens -- such every bit long screens together with screens alongside a display cutout.

Next, update your app's targetSdkVersion to 28 every bit shortly every bit possible, thence Android P users of your app tin exercise goodness from the platform's latest security, performance, together with stability features. If your app is already targeting API 26+ inwards delineate alongside Google Play's upcoming policies, thence changing to target API 28 should live on a small-scale jump. When y'all alter your targeting, brand certain your app supports all of the applicable behavior changes.

It's also of import to test your apps for uses of non-SDK interfaces together with cut back your reliance on them. As noted recently, Android P restricts access to selected non-SDK interfaces. Watch for logcat warnings that highlight straight uses of restricted non-SDK interfaces together with endeavour the novel StrictMode method detectNonSdkApiUsage() to grab accesses programmatically. Where possible, y'all should deed to using populace equivalents from the Android SDK or NDK. If there's no populace API that meets your use-case, delight let us know.

When you're ready, dive into Android P together with acquire nigh the new features together with APIs that y'all tin role inwards your apps. To create alongside the novel APIs, simply download the official API 28 SDK together with tools into Android Studio 3.1, or role the latest version of Android Studio 3.2. Then update your project's compileSdkVersion together with targetSdkVersion to API 28.

Visit the Developer Preview site for details together with documentation. Also cheque out this video together with the Google I/O Android playlist for to a greater extent than on what's novel inwards Android P for developers.

Publish to Google Play alpha, beta, or production channels

As shortly every bit you're ready, publish your APK updates that are compiled against, or optionally targeting, API 28. Publishing an update to Google Play during the preview lets y'all force updates to existing users to exam compatibility on their devices.

To brand certain that your updated app runs good on Android P every bit good every bit older versions, a mutual strategy is to role Google Play's beta testing feature. With beta testing y'all tin acquire early on feedback from a small-scale grouping of users -- including Beta three users — together with thence exercise a staged rollout to production.

What's next?

Thanks for all of your feedback thence far. Please maintain to percentage feedback or requests every bit nosotros function towards the consumer unloose afterward this summer. Feel gratis to role our hotlists for platform issues, app compatibility issues, together with third-party SDK issues.

Also, the Android applied scientific discipline squad volition host a Reddit AMA on r/androiddev to respond your technical questions nigh Android P on July xix from 11:30-1 PM (Pacific Time). Look out for an proclamation on r/androiddev inwards the coming weeks. We hold off frontwards to addressing your questions!

Monday, October 8, 2018

Final Preview Update, Official Android P Coming Soon!

Posted By Dave Burke, VP of Engineering

Android P is almost here! As nosotros pose the finishing touches on the novel platform, today we're bringing you lot Android P Beta 4.

Beta iv is the in conclusion preview milestone earlier nosotros launch the official Android P platform afterwards this summer. Take this chance to exam your apps as well as pose out updates, to brand certain you lot offering a corking experience for users transitioning to Android P!

What's inwards this update?

Today's Beta iv update includes a unloosen candidate create amongst concluding organization behaviors as well as the official Android P APIs (API marker 28), available since Beta 2. It includes everything you lot demand to wind upwards your testing inwards fourth dimension for the upcoming official Android P release.

Get your apps ready for Android P

With the consumer launch coming soon, it's of import to test your app for compatibility amongst Android P. Just install your electrical flow app from Google Play on an Android P Beta device or emulator. As you lot piece of occupation through the flows, brand certain your app runs as well as looks great, as well as that it handles the Android P behavior changes properly.

Also sentry for uses of non-SDK interfaces inwards your app. Android P restricts access to selected non-SDK interfaces, therefore you lot should trim your reliance on them. See our recent post for details..

After you've made whatsoever necessary updates, nosotros recommend publishing to Google Play correct away without changing the app's platform targeting. This lets you lot ensure a corking experience for Android P users spell you lot piece of occupation on enhancing your app amongst Android P APIs as well as targeting.

Enhance your app amongst Android P features as well as APIs

When you're ready, dive into Android P as well as acquire most the new features as well as APIs that you lot tin strength out travel inwards your apps, similar multi-camera support, display cutout, enhanced notifications, ImageDecoder, TextClassifier, as well as others.

To create amongst the novel APIs, merely download the official API 28 SDK as well as tools into Android Studio 3.1, or travel the latest version of Android Studio 3.2. Then update your project's compileSdkVersion as well as targetSdkVersion to API 28. When you lot alter your targeting, brand certain your app supports all of the applicable behavior changes.

As before long equally you're ready, publish your APK updates that are compiled against, or optionally targeting, API 28. Influenza A virus subtype H5N1 mutual strategy is to travel Google Play's beta testing feature to acquire early on feedback from a pocket-size grouping of users as well as and then create a staged rollout to production.

Visit the Developer Preview site for details as well as documentation. Also depository fiscal establishment fit out this video as well as the Google I/O Android playlist for to a greater extent than on what's novel inwards Android P for developers.

How create I acquire Beta 4?

It's slow - you lot tin strength out acquire Android P Beta iv on Pixel devices past times enrolling here. If you're already enrolled inwards our Android Beta program, you'll automatically acquire the Beta iv update soon. As always, downloadable organization images for Pixel devices are also available. Partners who are participating inwards the Android P Beta program volition also survive updating their devices to Beta iv over the coming weeks.

What's next?

Stay tuned for the official Android P launch coming soon! You tin strength out travel out on to portion your feedback or requests inwards the meantime, as well as experience gratuitous to travel our hotlists for platform issues, app compatibility issues, as well as third-party SDK issues.

Thanks for your feedback therefore far, as well as give thank you lot you to everyone who participated inwards our recent Reddit AMA on r/androiddev!