Solutions

Android Squared CardView

Recently, I had to add a perfect squared CardView and I wanted to achieve this without hardcoding its width and height. I happily discovered the power of ConstraintLayout. And so this is how I managed to create a perfect square which should work on every dimension. Heres some sample code that I used to create […]

, , ,
Articles

Using Claude to Write Better Play Store Descriptions (With Prompt Templates)

Writing a Play Store listing that converts is harder than it looks. The character limits are tight, keywords matter, and you have about three seconds to grab attention. Here’s how I use Claude to make it easier — including the exact prompts I use for Seasons Live Wallpaper. Keyword Research Prompt “I have an Android

, , , ,
Tutorials

Animating the Seasons: Building a Particle System with Android Canvas

One of the most satisfying things to code is a particle system. Snowflakes, falling leaves, fireflies — simple physics, beautiful results. Here’s how Seasons Live Wallpaper handles its snow, and how you can build something similar. The Particle Data Class data class Snowflake( var x: Float, var y: Float, val radius: Float, // visual size

, , , , ,
Articles

Getting Application Context in Kotlin with Hilt – The Modern Way

Learn how to get the Application Context anywhere in your Android Kotlin project using Hilt dependency injection. The modern, leak-safe replacement for the old Java singleton pattern.

Articles, Solutions, Tutorials

SignIn With Google (Not Working?)

Have you migrated or want to migrate to the SignIn with Google that uses CredentialsManager and it’s not workin? Well, in my experience, when I tried recently to integrate this in a new project I faced 2 major issues that consumed some of my time. First Issue The first one was the lack of some

Privacy Policy

Privacy Policy for Screen Cracker Live Wallpaper

Privacy Policy for Screen Cracker Live Wallpaper Last Updated: 17.03.2024 Funcode, located at Str. Eugen Ionesco 67, Cluj-Napoca, Romania, is committed to protecting your privacy. This Privacy Policy explains how your personal information is collected, used, and disclosed by Funcode in connection with the use of the Screen Cracker Live Wallpaper app. 1. Personal Data

,
Solutions, Tutorials

Xamarin Forms: Add Entry Bottom Line

On Android an Entry or EditText as it is called in Android Native, has by default a bottom border line when you tap inside the field. On iOS this line doesn’t exist, so if you want to have the same design on both platforms, you will have to create a custom render for iOS and

Kotlin collections and mutability
Articles, Tutorials

Kotlin Mutable and Immutable Collections

In this article I would like to emphasise over a few options that we have when working with data structure and more precisely with collections in a mutable and immutable fashion. So let’s start with a few of them and see their mutability state. But first, what makes a list mutable or immutable? Immutable Collections

, , , ,
Articles, Solutions, Tools

Android Studio / IntelliJ IDEA productivity guide

Android Studio and productivity One interesting feature that Android Studio and IntelliJ IDEA have is the Productivity Guide panel. It helps you see how much of the productivity tools that are available and you are using. You can see here a quick screenshot with the one I have, on one of the computers I am

, ,
Solutions, Tutorials

Logs – how to filter them in Android Studio

I’ve stumbled across a lot of logs noise in Android Studio throughout the time and it can be a pain when you need to debug a crash or just read some important logs of your app when your device/emulator prints lots of logs. Those logs are helpful for some cases but might not be for

, ,
Articles, Solutions

Load instrumentation test local files

Sometimes you might need to add setup files (json/xml/.properties/etc.) to your instrumentation tests (androidTest) and load them in your tests. You usually do that when loading for example some mocked data set or some fixture. In testing, fixtures often take the form of JSON or yaml files that mimic the responses from real API calls.

, , ,
Articles, Solutions

Print Android instrumentation tests logs in the terminal/console

While debugging some Android instrumentation tests that were ran using adb shell am instrument, I needed to print some logs into the terminal/console to inspect the flow and resolve some issues. Ever been coding away, trying to track down what’s happening under the hood, thinking Log.i/e/d or System.out would be your trusty sidekicks for logging

, , , ,
Tutorials

Android Simple Section RecylerView

In this tutorial I will create a simple Sectioned RecyclerView that will show 2 sections and a few items in each section and how to move an item from one section to another. Note: For RecyclerView I used AndroidX imports and not android.support.v7.widget.RecyclerView Setup We need to import the recycler view from AndroidX. The build.gradle

, , , ,
Scroll to Top