LightBlog

mardi 5 mai 2020

Google announces Web Vitals initiative to provide unified guidance on website performance

Back at the Chrome Developer Summit last year, Google announced new Chrome developer tools to reduce page load time and build native app-like experience. At the time, the company also discussed an initiative to provide developers a unified set of metrics to measure against when building websites with user experience and performance in mind. Following up on the initial idea, Google has now announced the Web Vitals initiative which aims to provide “unified guidance for quality signals that are essential to delivering a great user experience on the web”.

Over the years, Google has offered several tools to help website developers measure and report website performance. These include things like Lighthouse, Chrome DevTools, PageSpeed Insights, and Search Console’s Speed Report. But Google notes that while some developers are quite adept at using these tools, others have found the variety of tools and metrics a bit challenging to keep up with. With the new initiative, the company aims to simplify the landscape so that developers can focus on the metrics that matter the most, called Core Web Vitals.

Core Web Vitals

Core Web Vitals are a subset of all the Web Vitals that apply to all web pages, should be measured by all website owners, and will be surfaced across all Google tools. Currently, these Core Web Vitals focus on three aspects of the user experience — loading, interactivity, and visual stability — and include the following metrics (and their respective thresholds):

  • Largest Contentful Paint (LCP): measures loading performance. To provide a good user experience, LCP should occur within 2.5 seconds of when the page first starts loading.
  • First Input Delay (FID): measures interactivity. To provide a good user experience, pages should have a FID of less than 100 milliseconds.
  • Cumulative Layout Shift (CLS): measures visual stability. To provide a good user experience, pages should maintain a CLS of less than 0.1

To help developers measure and report these Core Web Vitals, Google is committed to surfacing these metrics in its tools. The following chart details which tools support the Core Web Vitals:

Developers will also be able to measure each Core Web Vital in JavaScript using standard web APIs and report on each Core Web Vital without writing any code, using the Web Vitals Chrome Extension. The extension makes use of the web-vitals library to measure these metrics and display them to users as they browse the web. The extension can also be helpful in understanding the performance of your websites, your competitor’s websites, and the web at large. Alternatively, developers who would prefer to measure these metrics using the underlying web APIs can refer to the metric guides on the website linked below for implementation details.

Along with the Core Web Vitals, Google also talks about other Web Vitals that will serve as proxy or supplemental metrics for the Core vitals. These include metrics like Time to First Byte (TTFB), First Contentful Paint (FCP), Total Blocking Time (TBT), and Time to Interactive (TTI) that can help developers capture a larger part of the experience or aid in diagnosing specific issues.

It’s worth noting that these Web Vitals and Core Web Vitals will evolve over time and developers should expect future improvements or additions to the list. However, since the Core Web Vitals are relevant to all web pages and featured across several Google tools, any changes to these metrics will not alter their definition and thresholds. Developers will also be given prior notice for any upcoming changes and a predictable, annual pattern. Due to the fact that the other Web Vitals are context or tools specific, their definitions and thresholds may change with greater frequency without prior notice. Any changes made to all Web Vitals will be documented in this public changelog.


Source: web.dev

The post Google announces Web Vitals initiative to provide unified guidance on website performance appeared first on xda-developers.



from xda-developers https://ift.tt/2zhLwGX
via IFTTT

Samsung Internet 11.2.1.3 adds an option to prevent sites that stop you from going back

Samsung Internet is based on Google’s open-source Chromium web browser and has a number of additional features built into it, like a built-in autoplay video blocker and the ability to block links that open apps. Best of all, the app itself is not tightly linked to the company’s custom Android skin, One UI, thus non-Samsung owners can also install this feature-packed browser. Samsung Browser has now gained yet another privacy-focused feature in its latest beta update that can be useful to prevent browser hijacking.

The new option, dubbed as “Block unwanted webpages”, is listed as a toggle under “Privacy and security” options. According to the description, the feature can put a stop to the typical “history manipulation” tactics, where rogue websites deliberately tamper with your browsing history so pressing the “Back” button doesn’t get you back to your expected page. Matter of fact, Google also added a similar protection mechanism in the Chromium codebase back in 2018 to combat against this foul practice, which could be used by Samsung as the foundation of the new feature.

samsung_internet_block_unwanted_webpages

At the time of reporting, the feature can be only be accessed on Samsung Internet’s latest beta update (software version 11.2.1.3). You can install the beta build alongside the regular version, which is quite an easy task as it doesn’t need any kind of prior registration. The “Customize menu” section has been overhauled as well, which enables users to access tons of useful shortcuts that are not yet available on the stable branch.

samsung_internet_beta_customize_menu

Download Samsung Internet 11.2.1.3 (beta) from APK Mirror

The APK(s) linked above can be useful for sideloading, especially if you prefer to run a vanilla Android ROM like LineageOS without Google services. Regular users, however, can download the beta version to try out the new features by following the link below.

Samsung Internet Browser Beta (Free, Google Play) →


Thanks to Twitter user @Kuma_Sleepy for the screenshots!

The post Samsung Internet 11.2.1.3 adds an option to prevent sites that stop you from going back appeared first on xda-developers.



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

Sony Xperia 10 II now available for pre-order in Europe for €369

Shortly after the cancellation of MWC 2020 earlier this year, Sony unveiled the Xperia 1 II and Xperia 10 II via an online announcement. At the time, the company only talked about the Xperia 10 II’s specifications and revealed no information regarding its pricing and availability. Now, months after the official announcements, the Sony Xperia 10 II is finally available for pre-order in Europe.

Sony Xperia 10 II XDA Forums

According to a press release from the company, the mid-range Xperia 10 II has been priced at €369/£319 and is available for pre-order from local operators or retailers in two color variants — black and white. In case you missed out initial coverage of the device, here’s a quick round-up of its specifications:

Sony Xperia 10 II Specifications

Specifications Sony Xperia 10 II
Dimensions & Weight
  • 157 x 69 x 8.2 mm
  • 151 g
Display
  • 6-inch Full HD+ OLED
  • 2520×1080 pixels, 457 PPI
  • 21:9 aspect ratio
SoC
  • Qualcomm Snapdragon 665:
    • 4x Kryo 260 (ARM Cortex-A73-based) performance cores
    • 4x Kryo 260 (ARM Cortex-A53-based) efficiency cores
  • Adreno 610 GPU
RAM & Storage
  • 4GB/128GB
  • microSD card slot (uses shared SIM 2 slot)
Battery
  • 3,600mAh
  • 18W Qualcomm Quick Charge 3.0
Fingerprint Sensor Side-mounted fingerprint
Rear Cameras
  • 12MP primary sensor, 26mm, PDAF
  • 8MP wide-angle sensor, 16mm
  • 8MP telephoto sensor, 52mm, 2x optical zoom
Front Camera
  • 8MP
Audio
  • 3.5mm headphone jack
Network Bands
  • 4G: Unspecified
  • 3G
    UMTS HSPA (850, 900, 1900, 2100MHz)
  • 2G
    GSM (Bands 850, 900, 1800, 1900)
Connectivity
  • Wi-Fi 5
  • Bluetooth 5.0
  • A-GNSS (GPS + GLONASS)
  • USB 2.0 Type-C port
Android Version Android 10

The Xperia 10 II is the direct successor to both the Xperia 10 and Xperia 10 Plus from last year and it’s powered by Qualcomm’s budget Snapdragon 665 chip, coupled with 4GB of RAM and 128GB of storage. It packs in a 6-inch FHD+ OLED display with a 21:9 aspect ratio, which makes it rather narrow and great for one-handed operation.

Sony Xperia 10 II

The device has a respectable triple camera setup on the back, with a 12MP primary camera, an 8MP ultra-wide camera, and an 8MP telephoto camera. Over on the front, it has a single 8MP selfie shooter housed within the top bezel. Unlike most other mid-range devices out there, the Xperia 10 II also offers IP65/IP68 water and dust resistance rating, and Gorilla Glass 6 protection on the front and back. Rounding off the hardware is a 3,600mAh battery with support for Quick Charge 3.0 (18W). In terms of software, the device runs Android 10 with Sony’s custom UI on top.

The post Sony Xperia 10 II now available for pre-order in Europe for €369 appeared first on xda-developers.



from xda-developers https://ift.tt/35xGlPd
via IFTTT

Open source YouTube client “NewPipe” adds Android TV support and a YouTube Music parser

The open-source YouTube client on Android — NewPipe — is a great alternative to the YouTube app for those of you who don’t have Google Play Services on your phone. The client doesn’t use YouTube APIs and simply parses the YouTube website to extract data and play the videos you want, without any restrictions or ads. Due to the way NewPipe works, it also circumvents any limitations that Google might add to the YouTube app. For instance, YouTube recently restricted the quality of videos on smartphones to 480p in India following the nationwide lockdown imposed in the country in response to the COVID-19 outbreak. But users could easily overcome this restriction by using NewPipe instead.

Now, in a bid to make the client even more useful for users, the developers behind NewPipe are rolling out a major update that brings support for Android TV, adds a YouTube Music parser, and more. According to a recent blog post from the developers, NewPipe version 0.19.3 is now rolling out to users and it brings the following noteworthy changes:

Android TV support

While you could already run previous versions of NewPipe on an Android TV, the client didn’t officially support the platform. Due to this, the client had some issues that made it practically unusable. With the latest update, the developers have addressed all such issues and you can now use NewPipe on your Android TV without facing any annoying bugs.

Following the update, you’ll be able to scroll through long video descriptions, focus on any element on the screen, use the native keyboard instead of an on-screen one, seek videos however you like, and face no annoying ripple effects. To try out NewPipe on your Android TV, you can download the APK from the GitHub link below and sideload it on your TV.

YouTube Music parser

With the latest update, NewPipe also gets the ability to natively parse the YouTube Music library and allow users to easily search for music. To search for YouTube Music content on the client, you can tap on the filter button in the search UI and select either Songs, Videos, Albums, or Playlists to see search results from YouTube Music.

NewPipe YouTube Music

Along with the aforementioned changes, NewPipe v0.19.3 also brings a ton of improvements and bug fixes to the client. Here’s the complete changelog for the latest update:

  • New
    • Search on YouTube Music
    • Basic Android TV support
  • Improved
    • Improved checking for new version
    • Avoid unnecessary changes to the upload date of saved streams
    • Save and restore playback parameters into/from preferences
    • Show message when content isn’t supported yet instead of crashing
    • Improved size handling of the drawer header title
    • Improved popup player resize with pinch gestures
    • Enqueue streams on long press on background and popup buttons in channel
    • Added the ability to remove all watched videos from a local playlist
  • Fixed
    • Fixed visibility of group sort button in the subscriptions fragment
    • Fixed detection of network related exceptions
    • Fixed age restricted content setting not working
    • Fixed certain kinds of reCAPTCHAs
    • Fixed crash when opening bookmarks while playlist is null
    • Fixed escaping in JSON created by the crash reported by using nanojson instead of org.json
  • Development
    • Added Checkstyle to build scripts & code style improvements
    • Fixed F-Droid build by ensuring the debug apk file name is used only in debug builds
    • Force UTF-8 encoding for Gradle

Download NewPipe (v0.19.3) from GitHub


Source: NewPipe blog

The post Open source YouTube client “NewPipe” adds Android TV support and a YouTube Music parser appeared first on xda-developers.



from xda-developers https://ift.tt/35w9HO4
via IFTTT

lundi 4 mai 2020

This is likely the Lenovo Legion gaming smartphone with a 144Hz display, 90W charging, and side pop-up camera

Lenovo’s self-branded smartphones may not be nearly as popular as the company’s Motorola-branded devices, but the brand still has fans in Asian countries like India and China. In an effort to capitalize on the company’s existing popularity with gamers, Lenovo is preparing to launch its first-ever Android gaming smartphone under its Legion Gaming brand. The Lenovo Legion gaming phone has been on our radar for over 4 months now, but we’re now ready to share all of the details we’ve uncovered about the device. Thanks to a trusted source, we have obtained multiple unreleased teaser videos that showcase the likely design of the upcoming Legion gaming phone, and we also have a detailed set of specifications to go along with these teasers.

In late December of 2019, Lenovo created a new account called “Legion Gaming Phone” on Chinese social media platform Weibo. Over a month and a half later, Lenovo officially teased the first smartphone under its Legion gaming brand. The company uploaded a poster announcing that this upcoming smartphone will be powered by the Snapdragon 865, Qualcomm’s highest-end SoC for mobile devices. Next, on March 3rd, Chen Jin, General Manager of Lenovo China Mobile, teased that the Legion gaming smartphone will feature a “disruptive new architecture” in order to solve two pain points faced by mobile gamers: different surface temperatures on the left and right sides and reduced charging speeds when gaming. The teasers slowed down for a few weeks as much of the world went into lockdown due to COVID-19.

Early last month, Lenovo ramped up its marketing for the device by uploading a poster that teases 90W fast wired charging on the Legion gaming phone. There was a lot of skepticism initially about whether the Legion phone actually charges at 90W, but Lenovo has since clarified that they aren’t playing a numbers game here. Furthermore, Lenovo’s 90W fast charging system will be “standard for all systems,” according to the company on Weibo, hinting that there will be more than one first-generation Legion smartphone model. More recently, Lenovo shared a render suggesting the Legion gaming phone has a notch-less display, and they also uploaded a video revealing that there will be a second USB Type-C port on the side so users can charge the phone while they hold the device horizontally.

Apart from official teasers, there have been a few noteworthy leaks of the Lenovo Legion gaming phone. First, back in March, an image of what seems to be Lenovo’s Legion gaming phone bundle was published by a blogger on Weibo. This bundle includes the phone itself but also a pair of gamepads, true wireless earbuds, and a protective case. We couldn’t really see the phone all that well in this leak, though. One week later, the technology blog of the Indian shopping website Pricebaba published images of what they believed to be the Lenovo Legion gaming phone. Those images were taken from the Chinese Patent Office, though we’re now certain that those images do not reflect the phone’s actual design.

In fact, here’s what the Lenovo Legion gaming phone will likely look like, based on screenshots we captured from multiple official marketing videos.

Lenovo Legion gaming phone

The two screenshots above are from a promotional video teasing the phone’s ultra-fast 90W wired charging. The floating light particles are from when a race car dissipates, revealing the Lenovo Legion as the “engine.” The streams of light following the phone in the second image end up entering the two USB Type-C charging ports: one on the bottom and another on the side. The caption “90W dual Type-C fast charge, 30 minutes to 100%” can be read at this time, confirming the phone will support this staggeringly fast charging speed. In a separate video, Lenovo reveals that the Legion gaming phone has a 5000mAh dual-cell battery design, which is what makes this ultra-fast charging speed possible. However, it isn’t clear from these videos whether or not you’ll reach the fastest 90W charging speed only when charging from the bottom USB-C port.

On the bottom of the device, you’ll find the SIM card tray alongside the primary USB-C charging and data port. On the top, there’s a microphone hole. I didn’t see a 3.5mm headphone jack anywhere on this device, which is disappointing considering the Lenovo Z6 Pro had one. The LED smack dab in the middle on the rear likely lights up for that “gamer aesthetic” that this phone is oozing. The dual rear cameras are located near the center of the device; the cameras are placed considerably lower on the body of the Lenovo Legion than they are on other smartphones, but this could be to retain the symmetrical appearance of the back cover. Speaking of which, the back cover looks like a smooth metal with a 3D texture, possibly either polycarbonate or aluminum. Near the middle-left (middle-top when viewing the phone horizontally), there’s the “LEGION” logo on top of a compartment that seemingly pops-up—but more on that later. The “LEGION” logo matches Lenovo’s official Legion Gaming logo, and the “Stylish Outside” and “Savage Inside” texts are part of Legion Gaming’s slogan.

In the separate video, Lenovo teases several other key features of the Legion gaming smartphone. First, the video shows visuals that demonstrate the phone’s “uEngine,” its symmetrical dual X-axis linear vibration motor. The video then goes on to tease the phone’s cooling and audio features, but the terms they use are heavy on marketing jargon, so they were difficult for us to translate. The video seems to say that the phone has a “3D cooling tower structure” with “dual heat pipe partitions” for “long-lasting cooling.” It also shows captions detailing the phone’s “positive stereo sound” from its “full symmetrical 65mm dual speakers”, “dual 0.6mm amp speaker system”, and “1.4cc large sound cavity.” The two speakers are located on the top and bottom bezel on the front.

Lenovo Legion gaming phone

What’s perhaps most interesting about this device, at least in my opinion, is how it deals with the placement of its front-facing camera. There’s no notch or hole-punch cutout on the display of the Lenovo Legion phone. Instead, there’s a pop-up camera…but it seems to be located on the side of the phone. Most other smartphones with pop-up cameras have them appear on top of the phone. Lenovo is going with a very unique approach here, and I’m not really sure how to react to this front-camera mechanism. It could turn out to be a really awful placement or it could end up being genuinely useful like the ASUS ZenFone 6‘s swivel camera.

Lastly, our source also provided us with a list of some of the specifications for the device. We don’t know everything yet, but we do know enough to say the Lenovo Legion gaming phone is packing top-tier hardware. First of all, the phone’s model name is L79031 and its code-name is “moba,” which likely refers to the multiplayer online battle arena video game genre. The first-generation Legion is powered by the Qualcomm Snapdragon 865 and will have UFS 3.0 internal storage and LPDDR5 RAM. We don’t know the exact storage or RAM capacities. Next, the Legion should have a 144Hz refresh rate flat display (though we don’t know if it’s LCD or OLED) at FHD+ resolution (2340×1080) and with a 270Hz touch sampling rate. The phone runs Android 10 with Lenovo’s ZUI 12 customizations on top, which Lenovo will likely market as “Legion OS” for this device. Lastly, the phone has dual rear cameras (64MP + 16MP wide-angle) and a single front-facing camera (20MP).

When I first saw these renders, I was skeptical about their accuracy. They seem a bit outlandish when it comes to smartphone design—maybe I’ve fallen victim to another one of Lenovo’s design tricks? Although I’m still not 100% convinced the actual Lenovo Legion will look like the phone in these renders, I am very sure that the videos I obtained are official marketing videos. Lenovo may be exaggerating a bit about the phone’s bezels—as some smartphone companies tend to do in their marketing renders—but the overall design shown here will likely reflect the actual phone’s design.

The post This is likely the Lenovo Legion gaming smartphone with a 144Hz display, 90W charging, and side pop-up camera appeared first on xda-developers.



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

Verizon’s OnePlus 8 can’t use cases made for T-Mobile and Unlocked models

After being announced in early April, the OnePlus 8 (review) went up for sale last week in the US. Verizon and T-Mobile are two of the places where you can purchase the phone, and we knew the models sold by these carriers were not the same. However, it turns out the two devices are even more different than we thought.

The Verizon OnePlus 8 is the only model in the series that supports mmWave 5G. This is what allows the device to support Verizon’s Ultrawide Band network. OnePlus had to place the mmWave antennas on the sides of the Verizon model, which meant moving the volume buttons slightly. You probably wouldn’t notice this if the different models were placed side by side, but it’s enough to make cases not fit correctly.

This issue was first spotted by Reddit user bud-ho. After purchasing several cases, they realized the volume button placement is different on the two OnePlus 8 models. As you can see in the image above, the volume buttons on the cases clearly do not line up. The case on the left is for the T-Mobile/unlocked variant and the case on the right (flipped for comparison sake) is for the Verizon variant.

OnePlus 8 Forums ||| OnePlus 8 Pro Forums

It’s unfortunate that users will have to be extra careful when buying a case for the OnePlus 8. If you own the T-Mobile/unlocked or Verizon models, make sure you take note of this when searching for a case. 5G has apparently brought back the days of carriers receiving different hardware for the same products.


Via: PhoneArena

The post Verizon’s OnePlus 8 can’t use cases made for T-Mobile and Unlocked models appeared first on xda-developers.



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

Huawei may launch a P30 Pro “New Edition” with Google apps onboard

This is probably not a secret to anyone reading this by now, but the United States government has been making Huawei’s smartphone business hurt. Because the U.S. Commerce Department placed Huawei and its subsidiaries on the country’s Entity List, U.S.-based companies can no longer export products to the Chinese technology giant. As it turns out, those export restrictions include software, so one of the immediate side effects of this trade ban is that many new Huawei and Honor smartphones cannot ship with Google Mobile Services (GMS) pre-installed, which includes the Google Play Store and Google Play Services. Both the Huawei Mate 30 series and the Huawei P40 series, Huawei’s late 2019 and early 2020 flagship devices, don’t ship with Google apps as a result. However, Huawei has found some clever ways around this trade ban, one of which involves tweaking an existing, already-certified model and then re-releasing it to the market. That’s exactly what appears to be happening now as the company seems to be preparing to launch the Huawei P30 Pro New Edition.

The evidence for this “New Edition” model comes from Huawei’s consumer page in Germany (via DigitalTrends), where we can see a mention of a Huawei P30 Pro “New Edition” in the terms of a promotion. Huawei previously launched a P30 Lite New Edition with Google Mobile Services onboard and that phone was pretty much just a rehashed Huawei P30 Lite. If we make an assumption based on that, then this P30 Pro New Edition should have few differences from the current P30 Pro. We don’t know what those differences will actually be, though, since the only piece of evidence pointing to its existence is this text.

Huawei P30 Pro New Edition

Now, to understand why Huawei would re-launch the P30 Pro, you have to understand that although Huawei can’t get GMS certification for new phone models, the certifications are still valid for existing models. Thus, so long as the changes that Huawei makes to an existing model allow it to run the exact same software release that Google already certified, then Huawei can re-release and rebrand their existing phones as many times as they like. This is actually pretty flexible for them, too. So long as they don’t try to ship a new SoC, they can add a bunch of upgrades such as more RAM, more storage, and different cameras. They can even change up the color and finish of the device to make the design seem fresh.

While Huawei can release new phones with HMS and AppGallery in place of Google Play Services and the Google Play Store, it’s advantageous for them to release new phones with Google apps for as long as possible. A big part of the Android experience for international users is based on compatibility with Google apps, as a bunch of apps rely on Google Play Services to work properly and many app developers have yet to bring their apps to Huawei’s app ecosystem.

Based on what we’ve just stated, the Huawei P30 Pro New Edition will almost certainly have a HiSilicon Kirin 980 SoC since that’ll allow it to retain the original P30 Pro’s GMS certification. Huawei could include better cameras (which would be a feat considering how the P30 Pro already performs), more RAM, more storage, and maybe even an updated design. They’ll even likely be able to offer Android updates with Google Mobile Services intact as they managed to do with the existing P30 Pro. However, because they can’t upgrade the SoC, they won’t be able to offer new connectivity and camera features that the jump to the Kirin 990 would have provided. Back with the Huawei P30 Lite New Edition, we didn’t see a lot of changes, so preparing yourself for a surprise here probably isn’t wise.

Huawei P30 Pro Forums

The post Huawei may launch a P30 Pro “New Edition” with Google apps onboard appeared first on xda-developers.



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