Theme error in 2010s Android App after AppCompat Migration
I plan on releasing a lot of my old work as GPL open source, but most of it has aged to the point that it no longer functions, or if it does work it’s running in compatibility mode. Basically it’s no longer best practices. Not a good way to start off any new public GPL […]
Android: Using the CountDownTimer class
In this article I go over the Android SDK CountDownTimer class. It’s easy to use and gives you the ability to count for projects like a workout timer. In this case we are extending that class so that we can access the methods we need to make it work. Here is the code on GitHub. […]
Android: Basic game loop with scaled graphics.
In this article I go over implementing a simple game loop with a custom view. The standard draw method is used with some timing checks so that we can get an approximately consistent refresh rate. This is a somewhat simple way to get started without having to use something OpenGL. The full source code is […]
Android: Get the size of a custom view before display.
When developing applications or simple games for Android where you are drawing or writing to a view, an issue arises upon startup of the view. In my case I had a game where I wanted to calculate screen tile size before the game view starts, but with most tutorials I had seen everything happened after […]
First Android Application Released: River Water Level Stations
Update: I gifted this code and basically the entire project with related software tools I had made to my friend who I was trying to start a business with after we decided to stop. The app is still active and available on the market under his account and not “CWSolver” anymore. A friend and I […]
A little rant about Android SDK, Java, and Eclipse
I don’t often rant nor say the work “sucks” very often. However as any programmer knows, some tools just frustrate you to no end. Java, the Android SDK, and the Eclipse IDE are something I need to use, but are frequently on my “sucky tools” list. I’ve used a lot of programming languages and tools […]
Android SDK: String Arrays and Controls like Spinners
Due to how the Android SDK and Java are setup it isn’t really a simple task to link up an array with a spinner control. I’ll go over some basics I just learned of the process. In this example I setup a setting control that will allow the user to select from a list of […]
Android Eclipse Issue: Unparsed aapt error Unknown Android Packaging Problem
I added my first menu to an Android application through Right-click on the project in New >> Other… >> (Android) >> XML file. After editing the file I tried running it and received this error: Unparsed aapt error(s)! Check the console for output. PROJECT_NAME Unknown Android Packaging Problem A google search brought up a few […]