Latest posts from Codename One.
Blog
Search the blog
Twenty New Components You Won't Have to Write Yourself
Every app has a few screens that look like every other app. A checkout with a card field and a country picker. A rating at the end of an order. A sign-up that runs over four steps. A row of faces showing who else is in the chat. None of it is hard, and all of it takes an afternoon you’d rather spend on the part of the app that’s actually yours. ...

Launch Your Own Language Tutoring App With AI and Human Teachers
Language learning is a huge market served by a handful of giant apps. They’re good at streaks and cartoon owls. They’re bad at the thing a learner needs most: speaking out loud, getting corrected, and talking to a real teacher now and then. That gap is a business. A tutor with a few hundred students, a school with its own curriculum, a niche language the big apps ignore. Each one needs the same app, and none of them should spend a year building it. So we built it once. ...

Review the 30,000 Lines Your Agent Wrote Without Reading Them Top to Bottom
Your agent worked all afternoon. The branch has 51 commits, 120 changed files and 33,000 new lines. The tests pass. Now what? You won’t read 33,000 lines carefully. Nobody does. So the real options today are to skim the diff and approve it, which is how bugs ship, or to ask the agent whether its own code is good, which is how bugs ship with confidence. Code review was built for humans reviewing humans, a few hundred lines at a time. Agents broke that, and a longer diff view doesn’t fix it. ...

Turn Your Figma, Sketch or HTML Design Into Working Forms
The designer sends over a Figma link. You spend the next two days measuring paddings with a ruler tool and guessing which gray is #8E8E93 and which is #8A8A8E. Then the designer moves a button, and you do it again. That job is mechanical, and mechanical jobs belong to the computer. Design Import reads the design and writes the form. Download the Design Import tour. ...

Build a Side Scroller Your Server Can Replay Frame for Frame
Every online leaderboard has the same problem. The client says “I finished in 41 seconds” and the server has to take its word for it. Within a week the top ten is full of zeros. The fix is old and well known: don’t send the score, send the inputs, and let the server play the run again. It only works if both machines get exactly the same answer from the same inputs, on every frame, for minutes at a time. That’s the hard part. So we built an engine where it’s guaranteed. A replay proves a run is possible inside the rules: no edited score, no wall clipping, no speed hack. It can’t prove a human played it, and neither can anyone else’s. ...

Faster Reads the Build Won't Let You Break, and gRPC for Your Java Backend
Yesterday I showed five Java backends on a $5 server. Small servers punish slow read paths first, because reads are most of what an app does. So the first thing we fixed was reads, and the second was making sure nobody can quietly break them again. Every query was paying for writes An ORM session collects your changes in memory and writes them out before each query, so the query sees them. That flush is right for code that writes. On a read path there’s nothing to save, so it’s work for nothing on every single query. ...

Server for $1 Per Month
If you build apps on your own, you know the drill. You have more ideas than time, most of them won’t work, and you won’t know which ones until real people use them. So you need to ship fast and spend almost nothing on each try. And every so often you read about a developer who woke up to a cloud bill bigger than their app will ever earn. ...

Let Your Agent Freeze Time in the Simulator, and Run the Phone's Own AI Model
Watch a coding agent test a UI and you’ll see the same failure over and over. It taps a button, takes a screenshot, and gets the frame halfway through the transition. Then it “fixes” a bug that doesn’t exist, or misses one that does. Humans see the animation finish. Agents see a single frozen instant at a random point in it. So we gave them the clock. ...

Oracle, SQL Server and Your Own Map Server, From One Java Backend
Enterprise data lives in Oracle and SQL Server. It has for thirty years and it will for thirty more. If your backend can’t reach those databases, your project starts with a migration nobody approved. This week it can, and so can your app. Oracle and SQL Server on the backend The backend already ran on SQLite, PostgreSQL, MySQL, and MariaDB. Now it adds SQL Server 2017 and newer, Azure SQL, and Oracle 19c and newer. You pick the database with a URL: ...

Stop Debuggers, Hooking Tools and Keyloggers Before They Reach Your Users' Money
Most apps never need what’s in this post. If you build a banking app, a wallet, a trading app or anything that moves money, you need all of it, and your security auditor has a checklist that says so. Penetration testers will attach a debugger to your app, hook it with Frida, install a keyboard that logs every key, and write up each one as a finding. ...

Sixteen New Components, and Charts You Can Touch
Open any app on your phone and count the pieces nobody thinks about. The gray shimmer while a list loads. The onboarding pager with dots. The friendly “nothing here yet” screen with a retry button. The price filter with two thumbs. The tag field that turns words into chips. Every team builds these, every team builds them a little wrong, and an agent will happily build them a little wrong again in every project you start. ...

Open Photoshop, Sketch and Figma Files in Your App, and Play Rive Animations
Designers hand developers files. Photoshop files, Sketch files, Figma links, SVGs, Rive animations. Until now the developer’s job was to flatten all of that into PNGs and hope nobody asked for a change. If your app itself works with design files, a print shop, a sticker maker, a template editor, a brand portal, you needed a native SDK per platform and a server to fill the gaps. ...