android

Day 66. Theme switcher

Day 66. Theme switcher

What I did: Today, I continued working on the theme switcher in the application. I focused on implementing the logic of switching themes inside the application. The user can do this manually. If the user at least once turned on or off dark theme, the application will follow only application's state of the switcher. Changing themes in the system settings no longer has any effect.  To completely cover this case, I have to add a checkbox. I will add it tomorrow. After this, all cases with theme switching will be covered. I think the set of my commits is a…
Read More
The next version of Android will arrive in early 2025

The next version of Android will arrive in early 2025

Android users had to wait longer than usual for the release of this fall, but Google is already setting the timeline for the next two operating system updates. In a change of pace, the next major release for Android will arrive in the second quarter of 2025."We’re planning the major release for Q2 rather than Q3 to better align with the schedule of device launches across our ecosystem, so more devices can get the major release of Android sooner," the company said in a addressing developers. That's good news for third-party phone manufacturers that have historically had to wait a…
Read More
Mastering runCatching in Kotlin: How to Avoid Coroutine Cancellation Issues

Mastering runCatching in Kotlin: How to Avoid Coroutine Cancellation Issues

The runCatching function in Kotlin is a powerful tool that lets you handle exceptions within a block of code while preserving the result. However, when working with coroutines, runCatching can introduce unexpected issues. Because it catches all exceptions, including CancellationException, it can interfere with proper coroutine cancellation. In this article, we’ll explore how runCatching works, its potential pitfalls in coroutines, and how to build custom Result extensions to handle exceptions safely without impacting cancellation. What is runCatching? runCatching is a utility function in Kotlin that executes a block of code and wraps the result in a Result object. If the…
Read More
The best earbuds for Android devices in 2024

The best earbuds for Android devices in 2024

Read our full Samsung Galaxy Buds 3 Pro review Along those lines, the Samsung Galaxy Buds 3 Pro are to Galaxy phones what the Pixel Buds Pro 2 are to Pixel phones. Using them with a Samsung handset unlocks a few ecosystem-specific perks, including the hi-res Samsung Seamless codec, a real-time translation tool and a “Game Mode” that reduces latency. That’s on top of features like spatial audio, a graphic EQ, a lost device finder, adaptive ANC, simplified voice commands and automatic switching between Samsung devices. This kind of walled garden approach is frustrating — remember when you could plug…
Read More
‘Ongoing notifications’ similar to Apple’s Live Activities could be coming to Android

‘Ongoing notifications’ similar to Apple’s Live Activities could be coming to Android

Google is reportedly working on a new Android API for what it’s calling Rich Ongoing Notifications, which would allow apps to display at-a-glance information in a status bar much like Apple’s Live Activities in the Dynamic Island on iPhone. This is according to journalist , who spotted the code in the Android 15 QPR1 Beta 3 release. It could work a lot like the time tracker that currently appears when you’re on a phone call, with a bit of text in a bubble at the top of the display that you can tap to open the app for more details.Writing…
Read More
8Bitdo has a new $50 Android gaming controller with Hall effect sticks and triggers

8Bitdo has a new $50 Android gaming controller with Hall effect sticks and triggers

8BitDo, once known exclusively as a purveyor of Nintendo-infused nostalgia, has expanded in recent years into all sorts of gaming controllers and accessories. The company’s latest foray is into mobile gaming controllers. The 8Bitdo Ultimate Mobile Gaming Controller takes the highlights of its well-received Ultimate series — Hall effect included! — and brings them to an extendable accessory that latches onto your smartphone, a la Backbone and Razer Kishi.First, the bad news (for some). The 8Bitdo Ultimate Mobile Gaming Controller is Android only, so no love here for iPhone owners. It’s also a Bluetooth accessory, rather than a plug-in one…
Read More
Troubleshooting configureCMakeDebug[arm64-v8a] FAILED in React Native

Troubleshooting configureCMakeDebug[arm64-v8a] FAILED in React Native

If you’re working with React Native and encounter the error configureCMakeDebug[arm64-v8a] FAILED, you’re facing a common issue related to the CMake build process. This problem typically arises when dealing with native modules or libraries within your React Native project. This guide will help you understand the causes of this error and provide solutions to resolve it effectively. Solution: Installing Rosetta 2 Open Terminal Run the Installation Command softwareupdate --install-rosetta Enter fullscreen mode Exit fullscreen mode Source link lol
Read More
New Pixel updates include AI-powered theft protection

New Pixel updates include AI-powered theft protection

Google is rolling out a slew of updates for Pixel watches, smartphones and tablets. In many cases, their predecessors are also getting the new features, such as Night Sight for Instagram — available on all Pixel 6 or newer devices, including A-series phones. The tool allows you to take photos directly on Instagram without worrying about them coming out dark. This could be ideal if you're someone who likes taking photos at concerts or parties without worrying about a bright flash going off. Other updates available for Pixel 6 or newer devices include astrophotography through Night Sight and theft protection.Now…
Read More
Day 33. Generic response

Day 33. Generic response

I think being only an Android developer is too narrow today. You need to have broader knowledge and skills to solve tasks outside single-platform development. AI tools push us in this direction, but at the same time, they help us gain this expertise.  What I did: Today, I worked on a search endpoint. I planned to complete it, but I only implemented the search logic for articles. I found that the article, user, and organization models were different from those I had used before. I decided to extract a separate model for it and simply add a mapper to the…
Read More
My notes on the OpenGL ES hello world triangle

My notes on the OpenGL ES hello world triangle

Table of contents What is this blog post? What is open gl es? What is a vertex? What is a vertex shader? What is a fragment? What is a fragment shader? Shader and Program objects Resources My app on the Google play store What is this blog post? What is open gl es? As it open gl es is just a wrapper around open gl to make it more efficient for mobile/memory limited devices What is a vertex? A vertex is nothing more than a coordinate in a 2d or 3d space. So each point on a tringle is considered…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.