LightBlog

samedi 2 juillet 2022

How to create a Discord bot and add it to your server

Discord has evolved a lot over the years and it now stands as a reliable platform for not only gamers but for anyone looking to connect with their peers over messages, video chat, and more. Many even use it as an alternative to WhatsApp and other popular messaging applications, especially thanks to its great emphasis on groups and communities. Discord has millions of daily active users and a good chunk of those use a bot on a day-to-day basis to automate things. If you use Discord in any capacity then there’s a good chance you’ve used a bot. If you’re wondering how to create one yourself then you’re in the right place. In this article, we’ll tell you how to make a Discord bot:

Navigate this article:

Prerequisites

Creating a Discord bot is a relatively simple task. You do need a little bit of programming knowledge to set things up, but the complexity of the code depends on the kind of bot you’re trying to make. Let’s take a look at a few things you need to get started. First, you need a Discord account, which you probably have. If not, you can create one for free by heading over to the Discord homepage. You can also download the Discord client and use it on your gaming laptop or even a phone.

Once done, you need to set up your own server to use the bot. You can then invite the bot to your server easily by following a few simple steps. Once the bot has arrived on your server, you can then code a function for it and use it in your server or assign it to other servers to which you have admin rights. To assign a bot function, we’ll use Node.js to access the discord.js Node library. You can download the latest version of Node.js from the official website.

Additionally, we’ll also need a code editor to write and modify the bot functions. We’ll be using Visual Studio Code in this tutorial, although you’re free to use whichever you like.


How to create and add a Discord bot to your server

The first step is to create an application on Discord for your bot to work. The idea here is to generate a token for your bot so that Discord recognizes the code. For this, you’ll need to head over to Discord’s applications page. You’ll be sent directly to the page once you log in with your Discord account where you’ll see a list of your apps. Don’t worry if the list is empty because we’ll be creating one now.

  • Hit the New Application button to get started.
    discord bot apps page
  • Now, give a name to your application and hit Create.
    name your discord bot page
  • It’ll now take you to a page in which you can enter details such as your app’s description, add tags, an app icon, and more. Once done, hit the Save Changes button to proceed.
  • Now, look for the Bot option in the menu list on the left sidebar. Tap on it to open the Bots page and press the Add Bot button. Allow permission to create the bot when prompted.
    Add bot to your server page
  • You’ll now see a security token for your bot on the next page. If the token hasn’t been generated, simply tap on the Reset button to create a new token. Copy this token ID as we’ll need it in the following sections.
  • This particular token allows you to control the bot, meaning you shouldn’t share this with anyone. If you think this token has been compromised, then simply come back to this page and hit the reset button to create a new one.
    Bot token in discord
  • Now, look for the OAuth2 option in the menu on the left sidebar and click on it to find your CLIENT ID. It’s a long string of numbers that you need to copy and paste to this URL below — replace the word CLIENTID with the actual CLIENT ID that you just copied –
    https://discordapp.com/oauth2/authorize?&client_id=CLIENTID&scope=bot&permissions=8
  • Simply paste this particular URL into your web browser and hit enter. It’ll open a page in which you can tell Discord where to send your bot. Select the server to which you want to add your new bot from the dropdown menu like so –
    Invite discord bot your server
  • Click on Continue and confirm whether or not you want to grant Admin rights of the server to your bot. You can grant or revoke the admin rights later too, so don’t sweat over this option.
  • Once you add the bot to your server, you’ll see a message confirming the arrival of the bot. That’s how you’ll know it worked. You’ll also see the bot in the members’ column on the right side.
    Test bot added to server

Well, that’s it, you’ve now created a Discord bot for your server. If you followed all the steps carefully, you should be able to see the bot on your server. The bot will stay offline until you define a function for it with a code, and sync it with the Discord platform. This is where the real work begins as you’ll set up a few parameters and tell your bot what you want it to do.

How to assign bot function and host a Discord bot

Now, follow the steps below to create and host a discord bot on your PC:

For this tutorial, we’ll be creating a simple ‘Ping-Pong’ Discord bot which, as the name suggests, will reply with ‘Pong’ every time you type ‘Ping’.

  • Create a new folder anywhere on your PC or Mac. We created a ‘New Folder’ on the Desktop in our Windows PC for this tutorial.
  • Now, open Visual Studio Code and create a new file with the code mentioned below. Replace “Paste your bot’s token here without quotes” with the bot’s token you copied earlier.

    DISCORD_TOKEN= “Paste your bot’s token here without quotes.”


    Visual studio code for .env discord bot with token
  • Next, create a new file and add the following code. Once done, save this particular file as bot.js within the same folder. This code will add the function to your Discord bot. It’ll reply with “pong” every time you type “ping”.

    require(‘dotenv’).config();
    const Discord = require(“discord.js”);
    const client = new Discord.Client({intents: [“GUILDS”, “GUILD_MESSAGES”]});
    client.on(“ready”, () => {
    console.log(`Logged in as ${client.user.tag}!`) })
    client.on(“message”, msg => {
    if (msg.content === “ping”) {
    msg.reply(“pong”);
    }
    })
    client.login(process.env.DISCORD_TOKEN);


    Visual studio code for bot function
  • Now, open the terminal window from the New Folder that you created and install the Discord.js library using the following command. You’ll need Node.js installed on your system for this to work, so keep that in mind.

    npm install –save discord.js dotenv


    Windows powershell with discord.js code for bot
  • The next step is to create a package.json file. Use the following command to create it:

    npm init -y


    create a package json file
  • Lastly, you can now use the “node bot.js” command to run the bot.
    command to run the discord bot

As soon as you run the node bot.js command, you’ll notice that the Discord bot in your server will be online. You can then test the bot by typing ‘ping’ to which it will respond ‘pong’.

Discord bot now live

You can also create a Discord and host it in the cloud for others to use. For that, you’ll have to use an online IDE such as Replit to host your code.

The complexity of the coding process depends on the function you want to assign to your bot. The coding process for a simple ‘Greeting Bot’, for instance, isn’t going to be as complicated as, say, a ‘Music Bot’ that can play music from your preferred platform. You can also create a bot to moderate your server and even kick members that repeatedly break rules in your server. There are tons of useful Discord bots out there, so the possibilities are endless, really. Top.gg is a good place to look for Discord bots if you don’t want to go through the hassle of coding. Just pick up a bot from the website and make changes as necessary to modify the bot according to your needs. There are plenty of options to choose from so be sure to use the search bar on the top to find what you’re looking for.


Well, that brings us to the end of this particular tutorial. There are a ton of useful Discord bots out there right now, so we highly recommend doing a Google search to see if somebody’s already created a bot to automate your process. And before you leave, we also suggest you join XDA’s Discord server in which you’ll find like-minded individuals and also stay up-to-date with all things XDA. So which Discord bot are you going to create first? Let us know by dropping a line in the comments below.

The post How to create a Discord bot and add it to your server appeared first on XDA.



from XDA https://ift.tt/8xUDt6p
via IFTTT

vendredi 1 juillet 2022

OneDrive’s Photo Story feature is now available in public preview

In February this year, we spotted evidence pointing towards a new Photo Story feature in a teardown of Microsoft OneDrive v6.49 Beta 1 for Android. Initially, the strings only revealed the feature’s name. However, a subsequent beta release (v6.50 Beta 3) included more strings highlighting its functionality. Microsoft has now officially announced the feature, and here’s everything you need to know about it.

In a recent post on the OneDrive blog, Microsoft reveals that Photo Story in OneDrive is “a new, interactive feature that securely connects your favorite memories to the people who matter the most.” Essentially, the feature lets OneDrive users create a private, invitation-only feed where they can share images with family and friends. It offers support for comments, reactions, and notifications.

Currently, the feature is available in beta in Australia on the OneDrive mobile app for Android and iOS, along with OneDrive for web. Microsoft plans to roll it out to users in the U.S. and other regions later this year. If you wish to try it out, you can download the OneDrive mobile app on your smartphone and sign up for a personal OneDrive account. Once you’re in, you can select the Shared tab to create your first photo story. You can then invite friends and family to view your photo story feed, and they will be able to leave comments and reactions on the images you share.

The Photo Story feature is available for OneDrive Basic 5GB (free), OneDrive Standalone 100GB, Microsoft 365 Personal, and Microsoft 365 family accounts. It is not available for OneDrive work or school accounts.

What do you think of OneDrive’s new Photo Story feature? Do you think it’s a handy addition, or would you much rather have Microsoft focus on other, more useful features for its cloud storage service? Let us know in the comments section below.

The post OneDrive’s Photo Story feature is now available in public preview appeared first on XDA.



from XDA https://ift.tt/GkmyJwu
via IFTTT

The OnePlus Nord 2T will go on sale in India starting July 5

After launching the OnePlus Nord 2T in Europe earlier this year in May, OnePlus has now launched the device in India. The latest addition to OnePlus’ affordable Nord lineup packs MediaTek’s Dimensity 1300 chip, a 50MP triple camera setup, a 4,500mAh battery, and 80W wired fast charging support. If you’re in the market for a new mid-range smartphone, here’s everything you need to know about the OnePlus Nord 2T.

OnePlus Nord 2T Review: Nailing the fundamentals, the same as it did before

OnePlus Nord 2T: Specifications

Specification OnePlus Nord 2T
Dimensions & Weight
  • 8.2mm
  • 190g
Display
  • 6.43-inch FHD+ AMOLED
  • 90Hz refresh rate
  • HDR10+ support
SoC MediaTek Dimensity 1300
RAM & Storage
  • 8GB/12GB LPDDR4X RAM
  • 128GB/256GB UFS 3.1 storage
Battery & Charging
  • 4,500mAh
  • 80W wired fast charging support
Security N/A
Rear Camera(s)
  • Primary: 50MP IMX766, OIS
  • Ultra-wide: 8MP, 120° FoV
  • Mono: 2MP
Front Camera(s) 32MP, EIS
Port(s) USB Type-C
Audio N/A
Connectivity
  • Wi-Fi
  • Bluetooth
Software OxygenOS 12.1 based on Android 12
Colors
  • Gray Shadow
  • Jade Fog

In case you missed our previous coverage, the OnePlus Nord 2T is a minor upgrade over the Nord 2 from last year. The device features an updated design with a rectangular camera island on the back, which houses three camera sensors. These include a 50MP Sony IMX766 primary camera with OIS, an 8MP ultra-wide camera, and a 2MP macro sensor. Over on the front, the device has a 6.43-inch FHD+ 90Hz AMOLED display with a left-aligned hole-punch cutout for the 32MP selfie shooter.

The Dimensity 1300 on the OnePlus Nord 2T is paired with up to 12GB LPDDR4X RAM, up to 256GB UFS 3.1 storage, and a 4,500mAh battery with 80W wired fast charging support. Other noteworthy features include HDR10+ certification and a USB Type-C port.

Green OnePlus Nord 2T on white background. Gray OnePlus Nord 2T on white background.

The OnePlus Nord 2T runs OxygenOS 12.1 based on Android 12 out of the box and OnePlus is promising two major Android upgrades and three years of security updates for the device.

Pricing & Availability

The OnePlus Nord 2T will be available in two color variants, Gray Shadow and Jade Fog, starting July 5. The device will be available through OnePlus’s website, Amazon.in, the OnePlus Store app, OnePlus Experience stores, and other major offline retailers in the region. The base 8GB+128GB variant of the device will set you back ₹28,999 (~$367), while the premium 12GB+256GB model will cost ₹33,999 (~$430). Those who purchase the device before July 11 using an ICICI bank credit or debit card will receive an instant bank discount of ₹1,500.

    OnePlus Nord 2T
    The OnePlus Nord 2T features MediaTek's Dimensity 1300 chipset and a 4,500mAh battery with 80W fast charging support.

Along with the OnePlus Nord 2T, OnePlus has also launched a new Blue Agate color variant of the OnePlus Nord Buds and the OnePlus Bullets Wireless Z2 in India.

Thinking of buying the OnePlus Nord 2T? Check out our review of the device (linked above) before making your purchase.

The post The OnePlus Nord 2T will go on sale in India starting July 5 appeared first on XDA.



from XDA https://ift.tt/J5Biytp
via IFTTT

OxygenOS 12 Open Beta 1 brings Android 12 to OnePlus 7 and 7T series

We’re quickly approaching Android 13‘s official launch, but some phones are still in line for last year’s software. OnePlus, for example, has focused on updating its more recent devices to Android 12, but it’s finally turned its attention to its 2019 flagships. After a brief closed beta testing period, the company has finally announced the release of the first Open Beta build of OxygenOS 12 for the OnePlus 7 and 7T lineup.

As you might expect, this is a beefy update for OnePlus 7/7 Pro and 7T/7T Pro owners. Not only does OxygenOS 12 sport an all-new look, but the first public beta brings along an enhanced Canvas AOD feature, three adjustable levels in the dark mode, an inbox frame rate stabilizer, and much more. Along with those OnePlus-specific tweaks, this software includes all of Android 12’s various enhancements under the hood.

You can check out the complete list of changes below:

  • System
    • Newly added Smart Battery Engine, a feature that prolongs your battery life based on smart algorithms and biomimetic self-restoration technology
    • Redesigns app icons using new materials to give more depth and a greater sense of space and texture to the icons
    • Revamps the page layout based on the principle of reducing visual noise and optimizes the presentation of text and color to make key information stand out
    • Optimized desktop icons with improved textures, by using a design inspired by brand-new materials and uniting lights and layers
    • Optimized spam block rules: Adds a rule for blocking MMS messages
  • Games
    • Newly added the HyperBoost end-to-end frame rate stabilizer
    • Newly added Voice effect preview to allow you to record your voice effect or check your voice effect in real time
  • Dark mode
    • Dark mode now supports three adjustable levels, bringing a more personalized and comfortable user experience
  • Shelf
    • New additional style options for Cards, making data contents more visual and easier to read
    • Newly added access to OnePlus Scout in Shelf, allowing you to search multiple contents on your phone, including Apps, Settings, Media Data, etc
  • Work Life Balance
    • Work Life Balance feature is now available to all users, allowing you to effortlessly switch between Work and Life mode via quick settings
    • WLB 2.0 now supports automatic Work/Life mode switching, based on specific locations, Wi-Fi network, and time, also bringing customized App notification profiles according to the personalization
  • Gallery
    • Gallery now allows you to switch between different layouts with a two-finger pinch gesture, intelligently recognizing the best-quality pictures, and cropping the thumbnail based on the content, making the gallery layout more pleasing
  • Canvas AOD
    • Canvas AOD brings you new diverse styles of lines and colors, for a more personalized lock screen experience with inspiring visuals
    • Newly added multiple brushes and strokes and support for color adjustment
    • Optimized software algorithm and improved face recognition to better identify the features and skin color of different figures
  • Accessibility
    • Optimized categorization of functions by grouping them into vision, hearing, interactive actions, and general
    • TalkBack supports more system apps including Photos, Phone, Mail, and Calendar

Additionally, the release ships with the June 2022 Android security patches. The underlying build number is H.20 for the OnePlus 7 series, while the OnePlus 7T family gets F.12 as their initial Open Beta. The OxygenOS base is 12.1 for both.

According to OnePlus, this is an early build, released in order to gather feedback before rolling out to the stable channel. As such, expect the beta software to be less stable than normal builds, and so you probably shouldn’t install it on your daily driver. Nonetheless, make sure you backup your stuff before you proceed.

XDA Forums: OnePlus 7 || OnePlus 7 Pro || OnePlus 7T || OnePlus 7T Pro


Download: OxygenOS 12 Open Beta 1 based on Android 12 for the OnePlus 7 and 7T series

For the OnePlus 7 and 7T family of devices, the first OxygenOS 12 Open Beta release is available only for the Indian variants. The installation package for each phone is nearly 4GB in size, so keep that in mind if you’re on a limited data plan. OnePlus also recommends you have at least 30% battery available on your device before attempting the flash.

Although your personal data shouldn’t be affected on upgrading to the Open Beta build, reverting to the stable channel will lead to a wipe, so always take a complete backup beforehand.

OnePlus 7

OnePlus 7 Pro

OnePlus 7T

OnePlus 7T Pro


Source: OnePlus Community Forums (12)

The post OxygenOS 12 Open Beta 1 brings Android 12 to OnePlus 7 and 7T series appeared first on XDA.



from XDA https://ift.tt/xHDJOYA
via IFTTT

jeudi 30 juin 2022

Samsung Gaming Hub is now live

During CES 2022, Samsung announced its Gaming Hub platform, introducing the world to its new gaming strategy going forward for its Smart TVs and monitors. Today, Samsung’s platform goes live, debuting on its Smart TVs for 2022 and its Smart Monitor Series.

No downloads required

Samsung Gaming Hub will bring game streaming content without the need for extra hardware add-ons. The firm has partnered with some of the biggest in the gaming industry like Xbox, Nvidia, Google, and more. That means users will have access to hundreds of games at the touch of a button.

As mentioned previously, in order to take advantage of Gaming Hub, you’ll need to have one of Samsung’s latest TVs or its Smart Monitor Series. The company states:

Players will be able to easily browse and discover games from the widest selection available, regardless of platform.

Despite not being powered by any additional hardware, Samsung Gaming Hub is fully fleshed out thanks to Tizen OS and its optimizations. The combination of software and hardware offers “advanced motion enhancements and latency reducing technology”.

Furthermore, the new TV models also “introduce faster decoding and optimized buffer control technology”, reducing the input lag of the previous model by an average of 30 percent. Samsung also utilizes AI upscaling technology in order to bring the best possible experience when it comes to 4K and 8K content.

In addition to being able to access a wide range of gaming services, the service will also offer support for accessories like Bluetooth controllers and wireless headsets. These devices will seamlessly connect to each supported service within Gaming Hub, without the need to be individually paired to service.

Samsung Gaming Hub is now available with instant access to Xbox, Nvidia GeForce Now, Google Stadia, Utomik, Twitch, YouTube, and Spotify. Support for Amazon Luna will arrive at a later date.

Source: Samsung

The post Samsung Gaming Hub is now live appeared first on XDA.



from XDA https://ift.tt/Oc8BEqD
via IFTTT

Samsung Galaxy S22 vs OnePlus 9RT: Samsung’s flagship takes on OnePlus’s affordable flagship

Buying a flagship smartphone in 2022 shouldn’t cost you a fortune. There are plenty of options to explore that offer a top-notch flagship smartphone experience while being reasonably priced. Take, for example, the OnePlus 9RT, which can be had for ~$699 and has all the bells and whistles you expect from a modern-day flagship, including a gorgeous display, capable main cameras, and flagship processor. But how does it compare to a seasoned flagship phone like the Galaxy S22? There’s only one way to find out.

Samsung Galaxy S22 Vs OnePlus 9RT: Specifications

Specification Google Pixel 6 Pro OnePlus 9RT
Build
  • Aluminum mid-frame
  • Gorilla Glass Victus back
  • Gorilla Glass Victus front
  • Glass back
  • Metallic frame
Dimensions & Weight
  • 146 x 70.6 x 7.6 mm
  • 168 gram
  • 163.2 x 73.2 x 8.7mm
  • 197g
Display
  • 6.1-inch AMOLED 2X Display
  • 2340 x 1080, 425 ppi
  • HDR10+ certified
  • 120Hz refresh rate
  • Always On Display
  • 6.62-inch FHD+ Samsung E4 AMOLED
  • 120Hz refresh rate
  • 600Hz touch sampling rate
  • 1300nits peak brightness
  • 1000000:1 contrast ratio
  • 100% DCI-P3 coverage
  • HDR10+
SoC
  • Qualcomm Snapdragon 8 Gen 1 (the US, China, India, and other regions)
  • Exynos 2200 (Europe, South America, and other regions)
  • Qualcomm Snapdragon 888
    • 1x Kryo 680 (ARM Cortex X1-based) Prime core @ 2.84GHz
    • 3x Kryo 680 (ARM Cortex A78-based) Performance cores @ 2.4GHz
    • 4x Kryo 680 (ARM Cortex A55-based) Efficiency cores @ 1.8GHz
  • Adreno 660 GPU
RAM & Storage
  • 8GB RAM
  • 128GB/256GB UFS 3.1 storage
  • 8GB/12GB LPDDR5 RAM
  • 128GB/256GB UFS 3.1 storage
Battery & Charging
  • 3,700mAh
  • 25W Wired fast charging (charger not included in box)
  • 15W wireless charging
  • 4,500mAh
  • 65W fast charging support
Security Ultrasonic in-display fingerprint scanner In-display fingerprint scanner
Rear Camera(s)
  • Primary: 50MP wide, f/1.8
  • Secondary: 12MP ultra-wide, f.2.2
  • Tertiary: 10MP telephoto, 3x optical
  • Primary: 50MP Sony IMX 766, f/1.8, OIS
  • Ultra-wide: 16MP, f/2.2
  • Macro: 2MP, f/2.4
Front Camera(s) 10MP 16MP, f/2.4
Port(s)
  • USB Type-C
  • No headphone jack
  • No microSD card slot
  • USB Type-C port
  • No headphone jack
  • No microSD card slot
Audio
  • Stereo speakers
  • Stereo speakers
Connectivity
  • 5G: Non-Standalone (NSA), Standalone (SA), Sub6 / mmWave
  • LTE: Enhanced 4×4 MIMO, Up to 7CA, LTE Cat.20
  • Wi-Fi 802.11 a/b/g/n/ac/ax (2.4/5/6GHz)
  • Bluetooth v5.2
  • 5G
  • LTE
  • Wi-Fi 6
  • Bluetooth 5.1
Software
  • Android 12 with One UI 4.1
  • Four major Android OS updates promised
  • Five years of security patches
Other Features
  • IP68 water and dust protection
  • Dual SIM
  • Vapor cooling chamber
  • Alert slider

Design & Display

Both the Galaxy S22 and the OnePlus 9RT are great-looking phones. The Galaxy S22 is on the smaller side, measuring 146 x 70.6 x 7.6 mm and weighing just 168g. It features a minimalistic design with rounded corners and a flat aluminum middle frame, which looks a lot like the current iPhone. The camera island on the back is the most striking element of the Galaxy S22. Both front and back are protected by Gorilla Glass Victus.

Photo of the Galaxy S22's cameras

The OnePlus 9RT looks less exciting than the Galaxy S22, but it’s also made with premium materials, featuring aluminum side rails and a glass back. The back has a silky texture which feels nice to touch. OnePlus has also done a great job with the weight distribution, so the phone is comfortable to hold. OnePlus’ signature alert slider is placed on the right side, while the rectangular camera island on the back houses three cameras.

OnePlus 9RT back

The Galaxy S22 has a 6.1-inch FHD+ AMOLED display with a variable refresh rate of up to 120Hz. The OnePlus 9RT, on the other hand, has a bigger 6.62-inch AMOLED display with a 120Hz refresh rate. Both phones can reach up to 1300 nits in auto-brightness mode, offer 100% DCI-P3 coverage, and support HDR10+ content.

While both displays are neck to neck in terms of raw numbers, the Galaxy S22 has a superior panel compared to the older Samsung E4 panel used by the OnePlus 9RT. The difference is certainly not huge, and unless you have trained eyes and have used a lot of flagships, you’re unlikely to notice

Camera

On paper, both phones boast capable camera hardware. The Galaxy S22 features a triple camera system, comprising a 50MP f/1.8 main shooter, a 12MP f/2.2 ultra-wide camera, and a 10MP f/2.4 telephoto zoom lens with 3x optical zoom. For the OnePlus 9RT, we’re looking at a 50MP Sony IMX766 main sensor, a 16MP ultra-wide shooter, and a 2MP macro lens.

As you can see, the Galaxy S22 has superior hardware as it offers a 10MP zoom lens. You won’t get crazy good zooming like the Galaxy S22 Ultra, but it gets the job done. The OnePlus 9RT doesn’t have a dedicated zoom camera, so any zooming you do will be digital, and the final image may not look as sharp.

The Galaxy S22 and OnePlus 9RT both have a 50MP main shooter. In good lighting conditions, both phones produce sharp images with high dynamic range and accurate color reproduction. But in low-light and dark conditions, the Galaxy S22 is much better and more reliable than the OnePlus 9RT.

The OnePlus 9RT’s 16MP ultra-wide camera is nothing to write home about. It produces serviceable photos in broad daylight, but its low light performance leaves a lot to be desired.

Galaxy S22 camera samples

Photo of a bush with leaves Wide-angle photo of the inside of a mall Photo of the outside of a mall Photo of the inside of a mall Photo of US and North Carolina flags Photo of a gas station

OnePlus 9RT camera samples

OnePlus 9RT Camera Samples

Overall, the Galaxy S22 has a more versatile and reliable camera system. It offers significantly better low-light performance, a better ultra-wide camera, and a dedicated zoom lens. But for a device that costs nearly half the price of the Galaxy S22, the OnePlus 9RT still delivers an impressive camera performance.

Performance

The Galaxy S22 is powered by the top-of-the-line Qualcomm Snapdragon 8 Gen 1 chipset, although it is also sold with the Exynos 2200 SoC in regions where the OnePlus 9RT is not sold in. Meanwhile, the OnePlus 9RT opts for the last year’s Snapdragon 888 SoC. The Galaxy S22 has the OnePlus 9RT beat here as it’s using the newer and more powerful chipset. In particular, the Snapdragon 8 Gen 1 offers 10% faster CPU and GPU performance while reducing the peak power consumption by up to 20%. But make no mistake: the Snapdragon 888 chipset inside the OnePlus 9RT is no slouch and can easily hold its own against other Snapdragon 8 Gen 1-powered phones. OnePlus also puts a lot of effort into optimizing OxygenOS, so the OnePlus 9RT should feel as fast and smooth as any high-end flagship in real-world usage.

The OnePlus 9RT also has a large vapor cooling champer to keep thermals in check during intensive workloads such as gaming.

Battery and Charging

The OnePlus 9RT picks up an easy win here, featuring a larger 4,500mAh battery to the Galaxy S22’s measly 3,7000mAh cell. If you’re a heavy user, the Galaxy S22 will struggle to last you through the day. The OnePlus 9RT doesn’t have an extraordinary battery life by any means, but it will at least get you through the day.

The OnePlus 9RT also blows the Galaxy S22 out of the water when it comes to the charging speed, offering super 67W wired fast charging. The Galaxy S22 tops out at 25W but does support wireless charging, which is missing on the OnePlus 9RT.

Software

The Galaxy S22 runs Android out of the box with One UI 4 on top. Samsung promises up to four years of OS updates and five years of security updates, putting even Google Pixel to shame. The OnePlus 9RT ships with OxygenOS 11 based on Android 11 but is upgradable to Android 12, although many users dislike the Android 12 upgrade on OnePlus devices. OnePlus promises three years of OS updates and four years of security updates, which, while not as impressive as Samsung’s, is still better than what some other affordable flagships on the market offer.

Conclusion

Choosing between the OnePlus 9RT and Galaxy S22 is one of the easiest decisions you’ll make. There’s a significant price gap between the two, and both phones cater to different audiences. The Galaxy S22 starts at ₹72,999, while the OnePlus 9RT is priced at ₹42,999. It’s not a fair comparison at all, and your answer is more than likely dictated by your budget.

    Samsung Galaxy S22
    The vanilla Galaxy S22 offers a beautiful AMOLED display and capable flagship-grade cameras.

The Galaxy S22 has a better display, a faster chipset, and more versatile and capable cameras. It handily beats the OnePlus 9RT in all areas except the battery life and charging speed. It also gives you the best software support on the market, and Samsung generally offers good exchange rates should you decide to jump to a newer Galaxy flagship later down the road. You can also check out the best deals on the Galaxy S22 to save money.

    OnePlus 9RT
    The OnePlus 9RT offers flagship hardware at an affordable price.

If the budget is the constraint, the OnePlus 9RT is a no-brainer. It’s one of the best value-for-money flagships in the Indian market, and when you factor in deals and cashback, it looks even more enticing. You get a beautiful AMOLED display, flagship Snapdragon 888 chipset, capable main shooter, and blazing fast charging speed.

The post Samsung Galaxy S22 vs OnePlus 9RT: Samsung’s flagship takes on OnePlus’s affordable flagship appeared first on XDA.



from XDA https://ift.tt/K7fLizu
via IFTTT

Samsung Galaxy S22 vs OnePlus 9RT: Samsung’s flagship takes on OnePlus’s affordable flagship

Buying a flagship smartphone in 2022 shouldn’t cost you a fortune. There are plenty of options to explore that offer a top-notch flagship smartphone experience while being reasonably priced. Take, for example, the OnePlus 9RT, which can be had for ~$699 and has all the bells and whistles you expect from a modern-day flagship, including a gorgeous display, capable main cameras, and flagship processor. But how does it compare to a seasoned flagship phone like the Galaxy S22? There’s only one way to find out.

Samsung Galaxy S22 Vs OnePlus 9RT: Specifications

Specification Google Pixel 6 Pro OnePlus 9RT
Build
  • Aluminum mid-frame
  • Gorilla Glass Victus back
  • Gorilla Glass Victus front
  • Glass back
  • Metallic frame
Dimensions & Weight
  • 146 x 70.6 x 7.6 mm
  • 168 gram
  • 163.2 x 73.2 x 8.7mm
  • 197g
Display
  • 6.1-inch AMOLED 2X Display
  • 2340 x 1080, 425 ppi
  • HDR10+ certified
  • 120Hz refresh rate
  • Always On Display
  • 6.62-inch FHD+ Samsung E4 AMOLED
  • 120Hz refresh rate
  • 600Hz touch sampling rate
  • 1300nits peak brightness
  • 1000000:1 contrast ratio
  • 100% DCI-P3 coverage
  • HDR10+
SoC
  • Qualcomm Snapdragon 8 Gen 1 (the US, China, India, and other regions)
  • Exynos 2200 (Europe, South America, and other regions)
  • Qualcomm Snapdragon 888
    • 1x Kryo 680 (ARM Cortex X1-based) Prime core @ 2.84GHz
    • 3x Kryo 680 (ARM Cortex A78-based) Performance cores @ 2.4GHz
    • 4x Kryo 680 (ARM Cortex A55-based) Efficiency cores @ 1.8GHz
  • Adreno 660 GPU
RAM & Storage
  • 8GB RAM
  • 128GB/256GB UFS 3.1 storage
  • 8GB/12GB LPDDR5 RAM
  • 128GB/256GB UFS 3.1 storage
Battery & Charging
  • 3,700mAh
  • 25W Wired fast charging (charger not included in box)
  • 15W wireless charging
  • 4,500mAh
  • 65W fast charging support
Security Ultrasonic in-display fingerprint scanner In-display fingerprint scanner
Rear Camera(s)
  • Primary: 50MP wide, f/1.8
  • Secondary: 12MP ultra-wide, f.2.2
  • Tertiary: 10MP telephoto, 3x optical
  • Primary: 50MP Sony IMX 766, f/1.8, OIS
  • Ultra-wide: 16MP, f/2.2
  • Macro: 2MP, f/2.4
Front Camera(s) 10MP 16MP, f/2.4
Port(s)
  • USB Type-C
  • No headphone jack
  • No microSD card slot
  • USB Type-C port
  • No headphone jack
  • No microSD card slot
Audio
  • Stereo speakers
  • Stereo speakers
Connectivity
  • 5G: Non-Standalone (NSA), Standalone (SA), Sub6 / mmWave
  • LTE: Enhanced 4×4 MIMO, Up to 7CA, LTE Cat.20
  • Wi-Fi 802.11 a/b/g/n/ac/ax (2.4/5/6GHz)
  • Bluetooth v5.2
  • 5G
  • LTE
  • Wi-Fi 6
  • Bluetooth 5.1
Software
  • Android 12 with One UI 4.1
  • Four major Android OS updates promised
  • Five years of security patches
Other Features
  • IP68 water and dust protection
  • Dual SIM
  • Vapor cooling chamber
  • Alert slider

Design & Display

Both the Galaxy S22 and the OnePlus 9RT are great-looking phones. The Galaxy S22 is on the smaller side, measuring 146 x 70.6 x 7.6 mm and weighing just 168g. It features a minimalistic design with rounded corners and a flat aluminum middle frame, which looks a lot like the current iPhone. The camera island on the back is the most striking element of the Galaxy S22. Both front and back are protected by Gorilla Glass Victus.

Photo of the Galaxy S22's cameras

The OnePlus 9RT looks less exciting than the Galaxy S22, but it’s also made with premium materials, featuring aluminum side rails and a glass back. The back has a silky texture which feels nice to touch. OnePlus has also done a great job with the weight distribution, so the phone is comfortable to hold. OnePlus’ signature alert slider is placed on the right side, while the rectangular camera island on the back houses three cameras.

OnePlus 9RT back

The Galaxy S22 has a 6.1-inch FHD+ AMOLED display with a variable refresh rate of up to 120Hz. The OnePlus 9RT, on the other hand, has a bigger 6.62-inch AMOLED display with a 120Hz refresh rate. Both phones can reach up to 1300 nits in auto-brightness mode, offer 100% DCI-P3 coverage, and support HDR10+ content.

While both displays are neck to neck in terms of raw numbers, the Galaxy S22 has a superior panel compared to the older Samsung E4 panel used by the OnePlus 9RT. The difference is certainly not huge, and unless you have trained eyes and have used a lot of flagships, you’re unlikely to notice

Camera

On paper, both phones boast capable camera hardware. The Galaxy S22 features a triple camera system, comprising a 50MP f/1.8 main shooter, a 12MP f/2.2 ultra-wide camera, and a 10MP f/2.4 telephoto zoom lens with 3x optical zoom. For the OnePlus 9RT, we’re looking at a 50MP Sony IMX766 main sensor, a 16MP ultra-wide shooter, and a 2MP macro lens.

As you can see, the Galaxy S22 has superior hardware as it offers a 10MP zoom lens. You won’t get crazy good zooming like the Galaxy S22 Ultra, but it gets the job done. The OnePlus 9RT doesn’t have a dedicated zoom camera, so any zooming you do will be digital, and the final image may not look as sharp.

The Galaxy S22 and OnePlus 9RT both have a 50MP main shooter. In good lighting conditions, both phones produce sharp images with high dynamic range and accurate color reproduction. But in low-light and dark conditions, the Galaxy S22 is much better and more reliable than the OnePlus 9RT.

The OnePlus 9RT’s 16MP ultra-wide camera is nothing to write home about. It produces serviceable photos in broad daylight, but its low light performance leaves a lot to be desired.

Galaxy S22 camera samples

Photo of a bush with leaves Wide-angle photo of the inside of a mall Photo of the outside of a mall Photo of the inside of a mall Photo of US and North Carolina flags Photo of a gas station

OnePlus 9RT camera samples

OnePlus 9RT Camera Samples

Overall, the Galaxy S22 has a more versatile and reliable camera system. It offers significantly better low-light performance, a better ultra-wide camera, and a dedicated zoom lens. But for a device that costs nearly half the price of the Galaxy S22, the OnePlus 9RT still delivers an impressive camera performance.

Performance

The Galaxy S22 is powered by the top-of-the-line Qualcomm Snapdragon 8 Gen 1 chipset, although it is also sold with the Exynos 2200 SoC in regions where the OnePlus 9RT is not sold in. Meanwhile, the OnePlus 9RT opts for the last year’s Snapdragon 888 SoC. The Galaxy S22 has the OnePlus 9RT beat here as it’s using the newer and more powerful chipset. In particular, the Snapdragon 8 Gen 1 offers 10% faster CPU and GPU performance while reducing the peak power consumption by up to 20%. But make no mistake: the Snapdragon 888 chipset inside the OnePlus 9RT is no slouch and can easily hold its own against other Snapdragon 8 Gen 1-powered phones. OnePlus also puts a lot of effort into optimizing OxygenOS, so the OnePlus 9RT should feel as fast and smooth as any high-end flagship in real-world usage.

The OnePlus 9RT also has a large vapor cooling champer to keep thermals in check during intensive workloads such as gaming.

Battery and Charging

The OnePlus 9RT picks up an easy win here, featuring a larger 4,500mAh battery to the Galaxy S22’s measly 3,7000mAh cell. If you’re a heavy user, the Galaxy S22 will struggle to last you through the day. The OnePlus 9RT doesn’t have an extraordinary battery life by any means, but it will at least get you through the day.

The OnePlus 9RT also blows the Galaxy S22 out of the water when it comes to the charging speed, offering super 67W wired fast charging. The Galaxy S22 tops out at 25W but does support wireless charging, which is missing on the OnePlus 9RT.

Software

The Galaxy S22 runs Android out of the box with One UI 4 on top. Samsung promises up to four years of OS updates and five years of security updates, putting even Google Pixel to shame. The OnePlus 9RT ships with OxygenOS 11 based on Android 11 but is upgradable to Android 12, although many users dislike the Android 12 upgrade on OnePlus devices. OnePlus promises three years of OS updates and four years of security updates, which, while not as impressive as Samsung’s, is still better than what some other affordable flagships on the market offer.

Conclusion

Choosing between the OnePlus 9RT and Galaxy S22 is one of the easiest decisions you’ll make. There’s a significant price gap between the two, and both phones cater to different audiences. The Galaxy S22 starts at ₹72,999, while the OnePlus 9RT is priced at ₹42,999. It’s not a fair comparison at all, and your answer is more than likely dictated by your budget.

    Samsung Galaxy S22
    The vanilla Galaxy S22 offers a beautiful AMOLED display and capable flagship-grade cameras.

The Galaxy S22 has a better display, a faster chipset, and more versatile and capable cameras. It handily beats the OnePlus 9RT in all areas except the battery life and charging speed. It also gives you the best software support on the market, and Samsung generally offers good exchange rates should you decide to jump to a newer Galaxy flagship later down the road. You can also check out the best deals on the Galaxy S22 to save money.

    OnePlus 9RT
    The OnePlus 9RT offers flagship hardware at an affordable price.

If the budget is the constraint, the OnePlus 9RT is a no-brainer. It’s one of the best value-for-money flagships in the Indian market, and when you factor in deals and cashback, it looks even more enticing. You get a beautiful AMOLED display, flagship Snapdragon 888 chipset, capable main shooter, and blazing fast charging speed.

The post Samsung Galaxy S22 vs OnePlus 9RT: Samsung’s flagship takes on OnePlus’s affordable flagship appeared first on XDA.



from XDA https://ift.tt/miJFc1A
via IFTTT