Showing posts with label Wear OS. Show all posts
Showing posts with label Wear OS. 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.

Friday, October 12, 2018

Wear Bone Developer Preview Reenabling Alarms Together With Jobs For Background Apps

Posted yesteryear Hoi Lam, Lead Developer Advocate, Wear OS yesteryear Google

From the cause of the Wear OS yesteryear Google developer preview, battery life has been a major focus area. When nosotros talked to the developer community, the update that attracted the nearly feedback was the disabling of alarms in addition to jobs for background apps. After listening to developer feedback in addition to reviewing the battery statistics, nosotros are reversing this change. This should live reflected inwards all connected Wear OS preview devices, therefore at that topographic point is no remove to reflash your device.

App Standby Buckets

The determination came equally nosotros reviewed the feedback in addition to saw that a strict on/off setting prevents reasonable usage in addition to promotes anti-patterns. Going forward, nosotros conception to leverage the App Standby Buckets characteristic inwards Android P to fine-tune a suitable setting for Wear OS devices. The exact setting for alarms in addition to jobs for background apps is however beingness iterated on. Developers are advised to follow the best practices to brand certain their apps comport well, whichever bucket the apps are in.

Input in addition to information privacy inwards background apps

Another expanse that developers should pay attending to is the strengthening of input in addition to information privacy for background apps inwards Android P. Depending on an app's requirements, developers may remove to role a foreground service to enable access to the device sensor throughout the day.

Please hand us your feedback

We facial expression to supply to a greater extent than updates to this preview before the lastly production release. Please submit whatever bugs y'all notice via the Wear OS yesteryear Google number tracker. The before y'all submit them, the higher the likelihood that nosotros tin include the fixes inwards the lastly release.

Saturday, October 6, 2018

Updating Wearable Bone Google Play Shop Policy To Increase App Quality

Posted yesteryear Hoi Lam, Lead Developer Advocate, Wear OS yesteryear Google

Today nosotros are announcing a novel initiatory to meliorate Wear app character too their presentation inwards the Google Play Store. The Wear app review process, which has been inwards house since the launch of Android Wear 2.0, is currently optional. It volition run yesteryear away mandatory for apps to last listed on the Wear OS yesteryear Google version of the Google Play Store from the next dates:

  • New Wear apps: 1 Oct 2018
  • Existing Wear apps: 4 March 2019.

The review procedure for mobile apps remains unchanged, too is independent of the Wear app review. Mobile app updates volition non last blocked if they neglect the Wear app review.

We promise this lightweight app review procedure volition meliorate the character of Wear app experiences across the broad attain of devices available to your users. In addition, since screenshots are required for the Wear app review, this volition meliorate the uncovering too presentation of your Wear apps inwards the Google Play Store.

See a comprehensive listing of review criteria here. The next are mutual issues nosotros encounter during Wear app reviews:

  • Support for dissimilar hide types - Wear OS yesteryear Google is available inwards both circular too foursquare screens, too around circular devices besides bring a chin. Developers are advised to exam on all hide types. If a physical device is unavailable, delight role the Wear OS yesteryear Google emulator.
  • Wear OS yesteryear Google app screenshot - To run yesteryear the review, the app needs to bring at to the lowest degree ane Wear OS app screenshot. To run yesteryear away on pre-release Wear apps private, the Google Play Store volition non demonstrate the Wear screenshots unless the Wear App is inwards production or opened upward testing. Currently, the Google Play Store entirely supports uploading ane laid upward of screenshots across all production too exam versions. For existing Wear apps, nosotros recommend developers keeping their production Wear app screenshots unchanged when uploading novel opened upward exam or unopen exam Wear apps.

Opting out of app review for early on prototypes

We sympathise that around developers involve to experiment alongside their Wear apps inwards the early on stages of app development, too a Wear app review at this phase mightiness non last appropriate. In this case, developers bring 2 options:

Please banknote that the opened upward exam too unopen exam channels volition last dependent champaign to Wear app review to attention front-load the character assurance procedure too to avoid leaving reviews to the final minute.

Thank you lot for your continuing back upward of Wear OS yesteryear Google.

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!