LightBlog

mercredi 2 décembre 2020

Sentons CameraBar uses ultrasound to turn your phone’s frame into a zoom slider

Smartphones are incredibly versatile portable PCs, but with only a handful of physical buttons available on most devices, you have to rely on touchscreen controls for most things. When it comes to playing games or using the camera app, you have to juggle between many different onscreen buttons and sliders, resulting in a subpar, limiting experience due to limited screen real estate and awkward hand ergonomics. A company called Sentons wants to change this reality by introducing what they’re calling “Software-Defined Surfaces” (SDS) in place of physical buttons. Today, they’re introducing CameraBar, a new SDS that uses ultrasound to detect taps and slides on the frame of a phone to mimic the physical shutter and zoom buttons on a traditional camera.

With CameraBar, users can avail of virtual shutter and zoom controls without their fingers obstructing the view by touching the screen. The default configuration of CameraBar is to listen for a light press on the right side to set the focus, a hard press on the right side to snap a picture, and a slide-to-zoom on the left side for optical zoom. The video embedded below demonstrates CameraBar in action on a retail ASUS ROG Phone 3 unit as well as on custom development hardware.

The ROG Phone 3 shown in the video above is presumably running custom firmware to allow for Sentons’ custom camera app to react to inputs from the sensors, as the AirTriggers feature on the ASUS ROG Phone cannot currently be mapped to any actions in the stock ASUS Camera app. For this feature to make its way to the ROG Phone, ASUS will have to add support for it through a software update.

While the ROG Phone 3 can technically add support for the gestures shown in this demonstration, Sentons CTO Sam Sheng told XDA that the ideal device to feature CameraBar will have a larger area for sliding to allow for more fine-grained control of the zoom level. No such device currently exists on the market, though Sentons is in talks with several undisclosed partners who are taking this technology to production shortly. The company is providing OEMs with recommended sensor topology, guidance on how to design the module, and reference software on how to implement this as part of the stock camera app. OEMs can customize the gesture activation region, and if they choose to do so, they can also extend the same customization options to the consumer.

Eventually, it’s believed that OEMs making new smartphones with all-screen designs and “waterfall” displays will be the first to adopt Sentons’ new CameraBar technology, though as previously mentioned, smartphones that have implemented Sentons’ existing GamingBar technology (which includes the ROG Phone 3 and Lenovo Legion Phone Duel) can inherit functions of CameraBar.

Replacing Buttons with Ultrasound

Buttons are a common point of failure in smartphones and a hindrance to achieving a truly all-screen design, so it makes sense for smartphone manufacturers to attempt to get rid of them. The only problem is finding a worthwhile alternative to a physical button, and we’ve seen a few lackluster attempts at replacing them in the past. Huawei’s Mate 30 Pro used “invisible” touch buttons for the volume rocker which some users struggled to trigger. HTC’s U12+ featured faux buttons that were similarly frustrating for some reviewers. While Huawei tried to implement its volume keys capacitively, HTC used Sentons’ ultrasonic sensors, though I’m told HTC used a simple strain-gauge sensor. In contrast, the ROG Phone models from ASUS can sense much lighter touches, under 5 grams-force. Although I haven’t had the opportunity to test the HTC U12+ myself, my experience with the ROG Phone 3 and its customizable AirTriggers gestures has been mostly positive, so I’m looking forward to seeing how technology from Sentons can not only replace the buttons on phones but also augment their functionality.

So how exactly do OEMs actually replace a button with Sentons’ tech? Replicating a physical button on a smartphone using ultrasound involves combining piezoelectric and strain-gauge sensors. Sentons likens its technology to sonar, which uses ultrasonic waves for echolocation. The time-of-flight of the vibration field created by the piezoelectric sensors is used to uniquely determine the position of the user’s finger, and the coupling of the finger and substrate that’s vibrating is used to determine the force from the vibrating sound wave. In other words, ultrasonic waves help identify the location, while a strain-gauge sensor determines the level of force applied.

Source: Sentons

Thus, the principles behind the technology aren’t new, but what Sentons is selling to OEMs is its line of SDSwave force-and-touch processors, its machine learning algorithms to weed out false touches from taps and gestures, and its ultrasonic strain-gauge sensor. The piezoelectric sensors, though, can be off-the-shelf, making them very inexpensive to incorporate into the smartphone design. So long as the material used in the smartphone body is stiff enough, and thus allows for ultrasonic waves to propagate, it can be turned into a virtual touch sensor.

Sentons says its ultrasonic sensors can recognize finger taps through glass, plastic, and even millimeters of aluminum, meaning the sensing elements can be mounted on the phone’s mid plate rather than right behind where the finger is expected to be placed. The caveat, though, is that this can only be done when the smartphone maker wishes to replace “lower performance” buttons like volume or power buttons — replicating gestures that need more precision, such as a slider, will generally require the sensing element to be mounted on the sidewall behind the contact point. These sensing elements are said to be very, very tiny and can easily be slotted in between antenna elements (such as mmWave antennas placed around the body of a 5G smartphone), and since there are no wires involved, there won’t be any degradation of the antenna performance.

The small size of the sensing sensors even makes it possible for them to be used in devices as small as smartwatches and hearables (like true wireless earbuds). For smartwatches, ultrasonic gestures could be used to replace a physically rotating crown or a touch-sensitive capacitive bezel. For true wireless earbuds, ultrasound could bring us better tap and gesture detection for music controls. Sentons is currently experimenting with implementing their technology in more form factors, with even automotive uses on the table, but there haven’t been any commercial products (outside of smartphones) to use their technology just yet. But Sentons is far from the only company using machine learning to analyze ultrasound for use in virtual smart sensors—there’s also Elliptic Labs which has partnered with multiple smartphone makers for its ultrasonic proximity detection tech—so there’s a good chance ultrasound will stick around and become even more widely adopted.

The post Sentons CameraBar uses ultrasound to turn your phone’s frame into a zoom slider appeared first on xda-developers.



from xda-developers https://ift.tt/39Dn3Mu
via IFTTT

Jetpack Compose for Desktop, a cross-platform UI development framework, adds a Swing interoperability layer and Apple Silicon support

If you do any sort of development work, you’ve probably heard of JetBrains. They’re the company behind the huge suite of IDEs that includes IntelliJ (the base for Android Studio), CLion, PhpStorm, and many others. They’re also the ones who made Kotlin, the hugely-popular cross-platform programming language.

And JetBrains is back at it again. A little over a year ago, Google introduced a new layout engine for Android called Jetpack Compose. It’s gone through quite a few major changes since then, but it’s turned into a competent (albeit still somewhat unstable) alternative to Android’s classic XML layouts.

What does Jetpack Compose have to do with JetBrains? Well, for one, it’s written in Kotlin. But also, JetBrains has been silently working on porting Compose to the desktop space. It’s been public as an early developer preview, and now JetBrains is ready to officially announce that it exists.

What is Jetpack Compose?

I talked about it a bit in the introduction, but I think it deserves some more explanation. If you’ve developed on Android before, you’re probably used to how layouts work. First, you design your layout in an XML file, and then, you interact with that layout from Java or Kotlin. While it’s functional, it’s a little outdated, and having your layouts split across languages can be hard to manage.

As an alternative to this, Google started developing Jetpack Compose. Compose is a layout engine for Android built on top of Kotlin. All of your layout and logic code is in one place, which makes interactivity a lot easier. It’s also declarative, instead of the imperative style of XML layouts.

Moving to a declarative layout engine from an imperative one can take some getting used to, but Compose is definitely an improvement over XML, even though it’s still in its early stages.

Jetpack Compose for Desktop

So, Compose is a nice layout alternative for native Android apps. But it’s not (normally) cross-platform. That’s where JetBrains comes in. The company has ported Jetpack Compose to the desktop space, with support for Windows, Linux, and macOS (both Intel and ARM).

While there are other layout engines that exist for desktop, such as Electron, JavaFX, and UWP, it’s a bit of a mess right now. Some aren’t cross-platform, so they only work on one specific operating system. Others are technically cross-platform, but require a lot of work to distribute. And still, others are just a pain to work with, like JavaFX.

Jetpack Compose for Desktop, on the other hand, is relatively easy to use, supports display scaling, has built-in styling, and is (almost) fully cross-platform. While you can’t yet compile for all distributions from one operating system, the code itself is completely portable. Just like with Android, a packaged app is based on Java, although users don’t need a JDK installed to use it.

Cross-Compatibility

Since Compose for Desktop is still new, it is missing some features. To help developers work around these limitations, Compose for Desktop is interoperable with two of the more popular Java layout engines, JavaFX and Swing. If you have a desktop app developed in one (or both) of these engines, you can start transitioning to Compose while maintaining your current codebase.

Android + Desktop

What if you want to bring your Compose Android app to desktop? Well, you can also (sort of) do that. The UI elements of your app can easily be shared between Android and desktop. You won’t be able to share everything, but it certainly makes development easier.

Apple Silicon Support

I mentioned this above, but I’m going to mention it again. The new Apple Silicon Macs are pretty amazing, but the processors are based on the ARM CPU architecture, which means a lot of macOS apps are currently running through the Rosetta 2 x86 translator. While Apple did a pretty good job with that translation, native ARM programs will still run better.

Well, Jetpack Compose for Desktop supports Apple Silicon natively. That means you won’t have to worry about performance drops from translation or about future support when Apple discontinues it.

Functionality

So it’s all well-and-good that JetBrains made a new layout engine for desktop, but who’s to say it’s any better than what we have now?

Me.

I used the latest available build as of writing this (0.2.0-build132) to make a simple permissions granter app for SystemUI Tuner. Since I’m not that familiar with Compose and declarative design, it was a little more difficult for me than an XML-layout app, but I did it. And it’s a lot easier to use than JavaFX.

While theme support (i.e. dark mode) is still a little iffy, it’s pretty easy to build an interactive layout, and aside from a few flickers when resizing the window, everything works fine.

If you want to check the app out, the source code is available on GitHub. Just import it with IntelliJ or Android Studio and it should be ready to run.


Personally, I’m pretty excited about Jetpack Compose for Desktop. I didn’t even know it existed before, but it’s already my desktop layout engine of choice. You can learn more on the Jetpack Compose for Desktop website or on GitHub.

What do you think about it? Is it worth checking out and maybe even using instead of other available frameworks? Let me know!

Featured image credits: JetBrains on GitHub

The post Jetpack Compose for Desktop, a cross-platform UI development framework, adds a Swing interoperability layer and Apple Silicon support appeared first on xda-developers.



from xda-developers https://ift.tt/3lvBXXq
via IFTTT

Samsung Galaxy Buds Pro leak points to new in-ear design and improved ANC

Samsung has been working on the next generation of true-wireless earbuds from the Galaxy Buds range. The Samsung Galaxy Buds Pro aren’t due for release until early in 2021, but a post from legendary leaker Evan Blass has given us a good idea what to expect. As we ventured in our review of this year’s Galaxy Buds Live, one of our takeaways was that the ANC (active noise-cancelling) was somewhat underwhelming, with most of the work actually being done with passive noise-isolation. The Buds Pro will be the first in-ear design from Samsung with ANC onboard. We’re hoping, therefore that means they’ll have taken on board that kind of feedback and give us something that actually blocks out the outside world properly.

Samsung Galaxy Buds Pro Leak Box

Certainly, the design has changed, moving back to something more akin to the OG Buds or Buds+, and away from “beans”. The latest leak suggests that the Galaxy Buds Pro will launch alongside the Samsung Galaxy S21 range, early in 2021, though take that with a pinch of salt. Blass also quotes SamMobile, which notes that the FCC filing for the product points to a 500mAh battery. You’ll note that these renders are rather… erm… violet. We’re hoping there’ll be other color variants that won’t make you look like you have a sprig of heather in your ear.

Blass suggests that the Samsung Galaxy Buds Pro (an assumed moniker, though don’t rule out ‘Galaxy Buds Beyond’ which has also been rumored as a name) will be an additional, rather than replacement line, and earlier models may be reduced in price to accommodate their new sibling. He also warns that whilst it is assumed that they’ll launch with the S21 range, that sort of tie-in has been rumored before and come to nothing, so don’t be disappointed if that delivery date slips a bit.

The post Samsung Galaxy Buds Pro leak points to new in-ear design and improved ANC appeared first on xda-developers.



from xda-developers https://ift.tt/3qeOaDs
via IFTTT

Android Auto could soon be set to start automatically, even if your phone is locked

Android Auto is Google’s answer to the question “how do I connect my phone to my car”. The app essentially lets you access a limited set of optimized functions while you drive, with the primary objectives of balancing driver focus, connectivity, and entertainment. But to actually connect to Android Auto, you need to connect your smartphone to your car’s infotainment unit, either through a wire or wirelessly. Google is apparently making it slightly more convenient to connect to Android Auto, letting users get connected without requiring to unlock their smartphones.

An APK teardown can often predict features that may arrive in a future update of an application, but it is possible that any of the features we mention here may not make it in a future release. This is because these features are currently unimplemented in the live build and may be pulled at any time by the developers in a future build.

We spotted the following new strings in Android Auto 5.9:

<string name="settings_connection_allowed_while_locked_description">Even when your phone is locked</string>
<string name="settings_connection_allowed_while_locked_title">Start Android Auto automatically</string>

Currently, the Android Auto app automatically launches itself if you connect your phone to a car and unlock your phone (presuming you have the app already installed on your phone and that you have a head unit that supports Android Auto). We know some units have trouble launching Android Auto automatically upon connection with an unlocked phone. While the hints within the app do not mention this, this new setting could possibly be to remedy these instances of connection failure. If this feature completes implementation, the app should launch automatically when you connect your smartphone, without requiring you to unlock your phone, when you toggle the setting.

We don’t know if this feature is for wired connections or for wireless connections, or both. We will have to wait for Google to roll out the change to find out more.

Android Auto - Google Maps, Media & Messaging (Free, Google Play) →

The post Android Auto could soon be set to start automatically, even if your phone is locked appeared first on xda-developers.



from xda-developers https://ift.tt/3fWsW8O
via IFTTT

Eve starts presales of its second-generation crowd-designed ‘V’ detachable

Eve, the Finnish start-up which counts its users as part of its design team, first came to our attention with their crowd-designed 2-in-1 tablet, the Eve V in 2017. Fast forward three years and the company has just started pre-sales of its successor. The Eve V (2020) is, once again, the result of consultation with the Eve Community, with the final design a result of contributions from 2403 stakeholders giving their say on how the product will be specced. The Eve V (2020) is slightly bigger than its predecessor, with a 13.4“ touchscreen made of edge-to-edge Gorilla Glass, in either WQUXGA or full UHD, depending on the variant you pick. As with the last model, the clarity and accuracy of the monitor is a major consideration with the resulting display offering HDR10, and a 1.07 billion color gamut.

Eve V (2020) keyboard

The processor has been upgraded to Intel’s 11th generation Tiger Lake processors in either i5 or i7 variant, with Intel Iris Xe discreet graphics. Because of the Thunderbolt 4 compliant port, there’s also the option to add an eGPU. There are 16-32GB of LPDDR4X of RAM and either 500GB or 1TB of SSD NVMe Storage. Connectivity comes courtesy of WiFi6, Bluetooth 5.0, plus optional LTE and A-GPS. Unlike its predecessor, there are no USB-A ports this time, which helps keep the overall thickness of the machine down. Instead, two USB-C ports are offered, with one doubling as the aforementioned USB4/Thunderbolt port. There’s also a built-in microSD card reader and a 3.5mm jack with built-in pre-amp.

There’s a front camera clocking in at 720p, with a 5MP rear camera, both compliant with Windows Hello, plus a fingerprint reader mounted on the power button. The whole shebang is housed in an anodized aluminium housing, with an integrated kickstand and comes bundled with a backlit folio keyboard (in US, UK, German, Nordic, French or Spanish locale) and Wacom 2.0 compliant pen. One of the decisions made by the community was that the second generation Eve should run Windows 10 Pro out-of-the-box as standard and with absolutely no bloatware. With the renewed possibility of Android apps in Windows, the combination of operating systems could prove stellar. Another decision taken by the committee was that the souped-up speakers will be front-facing, rather than downward facing

Eve V 2020 screen

We loved the original Eve V. Our main gripes with it were the age of the processor, the weight, the lack of LTE and the lack of a rotary/hinged keyboard. All but the latter have been answered in this model, showing that, far from being a “camel”, the right group of minds can create something really special. We should add that the rotary keyboard is still on the wish list this time, but who knows, it could appear as an accessory.  Oh – and it’s also roughly the same weight, but with a display which is over an inch bigger on the diagonal, it doesn’t feel as heavy.

The Eve V (2020) is available for pre-order in seven configurations: depending on the processor, RAM, storage size, and whether or not LTE and GPS are included. The entry-level device clocks in at $1399, with the top device clicking in at $1999. All include the folio keyboard and V Pen – however, these are promotional prices which will increase incrementally as we move closer to launch.

Eve V (2020) is scheduled for delivery in Q3 of 2021, but by the company’s own admission, that’s a conservative estimate based on bitter experience and it hopes to start early-bird deliveries before that. Eve will be available globally, and will also be going into retail for the first time, albeit at a significant mark-up.

Whether or not you were involved in the speccing process, there’s no denying that the idea of another “Made by Us” laptop is exciting, and we’d love to know what you think. Was it right to ditch the USB-A? Would you have preferred LTE as standard? Wish it came in a different color? Let us know in the comments.

If you’d like to reserve a device and lock in the current price, you can do so with a $300 deposit, at this link. Eve’s next product, the Spectrum crowd-designed monitor is due to ship in Q1, 2021.

The post Eve starts presales of its second-generation crowd-designed ‘V’ detachable appeared first on xda-developers.



from xda-developers https://ift.tt/3qf7aBX
via IFTTT

[Update: Renamed to OnePlus Games] OnePlus Game Space 2.5.0 update brings over the OxygenOS 11 UI to the game management app

Update 1 (12/02/2020 @ 07:10 AM ET): OnePlus has renamed OnePlus Game Space to OnePlus Games. Scroll to the bottom for more information. The article as published on November 18, 2020, is preserved below.

Soon after OnePlus released its first Android 11 developer preview, the company started rolling out redesigned versions of its stock apps for older OnePlus devices. Over the last few weeks, the company has released updates for three apps — OnePlus Weather, OnePlus Notes, and OnePlus Gallery — all of which introduced the OxygenOS 11 design refresh. Now, OnePlus has started rolling out OnePlus Game Space v2.5.0 via the Play Store, and it too includes the new OxygenOS 11 UI.

As you can see in the attached images, OnePlus Game Space v2.5.0 features a new design that’s more in line with the overall OxygenOS 11 aesthetic. Much like the OnePlus Weather app, it now has a lot of empty space at the top, and most of its UI elements have been moved closer to the bottom of the screen for easier access.

OnePlus Game Space 2.5.0 OxygenOS 11 UI update (2)

The game carousel on the app’s home screen has been replaced with a simpler list, which shows an expanded card for the topmost game with two buttons — one to access settings like remove, uninstall, and shortcut, and the other to launch the game. However, the Game statistics page and app settings haven’t received any major changes.

OnePlus Game Space 2.5.0 OxygenOS 11 UI update (6)

As mentioned earlier, the updated OnePlus Game Space app has started rolling out to users via the Play Store. But since our tipster is enrolled in the beta program, we aren’t sure if the rollout is limited to the beta channel or not. In case you haven’t received the update notification yet, you can manually check for it by following the Play Store link below. Make sure you drop a comment below if you’ve received the update on the stable channel.

OnePlus Game Space (Free, Google Play) →


Update: OnePlus Game Space renamed to OnePlus Games

OnePlus has renamed OnePlus Game Space to OnePlus Games. The announcement post goes on to detail some of the features of OnePlus Games, like the new UI, mis-touch prevention, notification control, and Fnatic Mode, but these have been available to Open Beta users for some time.


Thanks to XDA Senior Member Some_Random_Username for the tip!

The post [Update: Renamed to OnePlus Games] OnePlus Game Space 2.5.0 update brings over the OxygenOS 11 UI to the game management app appeared first on xda-developers.



from xda-developers https://ift.tt/36Lra6e
via IFTTT

Xbox November 2020 update brings dynamic backgrounds, Game Pass improvements and more

Microsoft has begun rolling out the November 2020 Xbox Console Update. The update is available for the newly launched Xbox Series X and Series S gaming consoles as well as the Xbox One family of devices. The new features that are coming with the update include dynamic backgrounds, new badges optimized for Xbox Series X and Series S, the ability to preload games from Xbox Game Pass, the ability to add existing Xbox family members to a new console, and some performance improvements and bug fixes.

Dynamic Backgrounds

xbox november 2020 update dynamic wallpapers

If your Xbox home screen looks dull, then the new dynamic backgrounds should add some new life. Available for the Xbox Series X and Series S, gamers will be able to customize their home screen with motion and color. There are six new options, including homages to older-gen Xbox consoles. Microsoft may or may not add more colors and themes depending on the feedback from users in the future.

Optimized for Series X and Series S badges

xbox november 2020 update oprimised for x|s badge

With the launch of the new Xbox Series X and Series S consoles, Microsoft did not launch any new or exclusive titles. It did, however, offer over 30 games fully optimized for the new-gen consoles and a bunch of older Xbox One games has also been updated to take advantage of the increased performance of the Series X and Series S. Microsoft has now added a special X|S badge to game tiles making it easier to see which of your games have been optimized. Users can also make use of the Filter button to see only “Optimized for Xbox Series X|S” games.

Auto HDR

xbox november 2020 update auto hdr

We already know that the new Xbox consoles have the ability to run HDR games. With the latest update, both the consoles will now include an option called Auto HDR. Turning this on would “improve the visual quality of a game without changing its overall look.” The best part is, this feature doesn’t require any additional work from the developer. There will also be a new tag to let you know if the game is benefiting from this feature. Users will be able to access this when they open the guide during a game with Auto HDR running.

Pre-load games on Xbox Game Pass

The latest update is also adding a new feature for Xbox Game Pass users. Apart from viewing and adding games to your “Play later’ list, users will be able to pre-install certain games before they arrive on Xbox Game Pass. You can check upcoming games and pre-install them by heading to the Xbox Game Pass app on your console or smartphone under the “Coming soon” section. Microsoft says that all upcoming games will not be available for pre-install, but there is a feature on the smartphone app that will let you queue them to install on day one.

Adding family member accounts

xbox november 2020 update family members

The Xbox Family Settings app for Android and iOS allows users to create and add family member accounts to their Xbox console, allowing them to have full control over their usage, notifications, stats, and more. The ones who have been using the app since its launch will now be able to add family members to their console during the setup.

Xbox Insider Program

Along with the new update, Microsoft has also announced the Xbox Insider Program for Xbox Series X and Series S users. You can read more about it and register yourself by heading here.

Apart from these, the new update brings some bug fixes and performance improvements. The new update is currently rolling out for all users of the Xbox Series X, Series S, and Xbox One consoles. If you haven’t got your hands on either of the new-gen consoles, then check out our restock guide for more information.

The post Xbox November 2020 update brings dynamic backgrounds, Game Pass improvements and more appeared first on xda-developers.



from xda-developers https://ift.tt/3mwP8sq
via IFTTT