Author name: Catalin Prata

Born in Alba Iulia, a beautiful city from Romania. I like hiking and everything related with electronics and IT . Eager to learn and enhance my knowledge in programming languages. My main specialization is on Mobile Applications development (Android and iOS).

AI assistant concept with code on screen
Tutorials

Claude Code for Android Development: Setup and CLAUDE.md That Actually Helps

Why Claude Code Is Worth Setting Up Properly for Android If you’ve tried using Claude Code for Android development without any configuration, you’ve probably found it helpful but inconsistent. It might suggest Retrofit when your project uses Ktor, generate Java when you want Kotlin, or miss your architectural conventions entirely. The difference between a generic […]

, , , , ,
Tutorials

Stop Using System.currentTimeMillis() for Benchmarking: Kotlin’s measureTimedValue and Duration API

The Old Way: Manual Time Measurement If you’ve ever benchmarked a function in Kotlin or Android, you’ve probably written something like this: val start = System.currentTimeMillis() val result = doExpensiveWork() val elapsed = System.currentTimeMillis() – start Log.d(“Perf”, “doExpensiveWork took ${elapsed}ms, result=$result”) It works, but it’s noisy. You need three lines just to time one call,

, , , , ,
Tutorials

Claude Code for Android Development: Setup, Best Practices & Gotchas

AI-assisted development has moved well beyond autocomplete. Claude Code — Anthropic’s agentic coding tool — can read your project, reason about your architecture, write Kotlin, generate tests, and even help you debug Gradle. But like any powerful tool, it rewards those who know how to use it well. This guide walks you through everything you

, , , , , , ,
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.

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

,
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

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

, , , ,
Articles, IoT

Smart home (IoT) – the beginnings

Intro Since I am a fan of DYI and love gadgets(and IoT), I started to play with a Raspberry Pi and ESP8266 for a while. I had some failing ideas like automating my curtains, after long plans and setup, I abandoned the idea because I couldn’t see a way to make it look nice with

, , , , ,
Snippets, Solutions

How to get current flavor from gradle

 Figuring out how to pull the current flavor from gradle While working on an update for one of our games, I needed to figure out how to get the current flavor and use it in code. Since there are a lot of ways to do this, I chose to create a custom build config parameter and

, , ,
Did You Know?, Solutions

Signing key SHA1 fingerprints within AndroidStudio

Did you know you can get the signing SHA1 and MD5 fingerprints within AndroidStudio? Ever needed the SHA1, SHA-256 or MD5 fingerprints of your Android debug/release key/certificate? Maybe for a new API or framework that you want to integrate in your project like Firebase, Facebook or Maps? See that you can also get it from AndroidStudio, pretty

, , , , , , ,
Snippets

Generate random number between 2 numbers

The following snippet will help you generate a random number in Java that is between 2 numbers (min and max). static Random random = new Random(); /** * Min is inclusive and max is exclusive in this case **/ public static int randomBetween(int min, int max) { return random.nextInt(max – min) + min; } Please

, ,
Scroll to Top