Applications often have to cater to users with different roles, such as employees, customers, managers, etc. These different users have different permissions, and usually, they need to be restricted from certain functionalities.
Embedded development has always lagged behind the trends that drive the rest of software development. In some ways, that’s a good thing. There are fewer half-baked third-party libraries to integrate with, for instance. However, there are also some good things left behind that could really benefit embedded developers.
The Android Emulator, unfortunately, doesn’t work in CircleCI’s conventional (Docker-based) Android build environment. With a little tinkering, though, we can make it work in another environment!
If you have spent much time with Android development, you have likely run across Android’s Intent object. Intents show up pretty regularly in the official Android tutorials and frequently appear in StackOverflow answers. Until recently, all I knew about them was that they were used in everything from navigation within an application to media playback […]
Being able to resize an HTML element is a handy feature. But implementing the feature isn’t as easy as it looks. CSS has a built-in resize property, but it’s limited in functionality. The property will add a handle to the bottom right corner of your element. From there, you can expand or shrink the bottom […]
Visual Studio is an excellent integrated development environment (IDE), but sometimes it needs a little hand-holding. Throughout my experience with VS Code, it has never delivered on project-wide type checking and linting. Rather than getting instant feedback from my IDE, I’ve had to rely on my build process as a type checker. Type errors only […]
Recently, Apple introduced Dark Mode–an alternative color scheme that darkens the user interface. In this blog post, I will show you how you can disable Dark Mode in your application until you can add support for it.
On the surface, REST API design looks to be quite simple. You just need to follow some conventions for your URL paths and return an appropriate HTTP status code. But the reality of the networked world and the needs of your API consumers often go beyond what standing up a REST API can offer you. […]
It would be nice if creating a SearchView with suggestions were as simple as giving the SearchView a list of strings. But unfortunately, that’s not the case. It requires a CursorAdapter. This tells the SearchView how to render the suggestions and keeps track of the selection and what’s visible.
Recently, I used Apollo Client local cache on a project. Like most features of Apollo Client, it’s powerful but complicated. For my project, I wanted to save a blob of data that represents the current state of a page. This blob would allow a user to navigate away from a page and come back later […]