android tips and tutorials
The UI still needs a lot of work, but I like the idea of having an Inconceivable mode in the next version of my XO Play Android football game.
XO Play is a “thinking man’s” football game that I created for Android devices. It’s for those of us who enjoy thinking about football strategy, of how to take advantage of our strengths and our opponents’ weaknesses, and how to call plays to win games. If you’ve ever watched a football game and thought, “I can call plays better than this guy,” XO Play is for you.
Version 1.4 introduces four game levels you can choose from:
This is the “help” text for my Android football game XO Play.
Changes in Version 1.4
Released on July 14, 2019, Version 1.4 introduces four new game levels:
Butter Knife is an Android library that can help you get rid of all those ugly
findViewById calls. Android Data Binding may be a better solution, but at the moment I prefer the tag/annotation approach of Butter Knife.
As a brief note to self, this is how I compiled/built an Android application (APK) from the MacOS command line and then ran it in an emulator. I include both my application- and system-specific notes, as well as the more generic commands I found at this Android.com URL:
If you’re using macOS and need to know where (in what directory) the Android SDK is located, it is currently located here:
The sdkmanager and avdmanager and a few others are located in this directory:
The Android SDK platform tools bin directory is here:
I’m doing some things with Android from the command line tonight and learned that I needed to set
ANDROID_HOME, and that’s when I dug into this.
~ March, 2019
Android Studio 3 Error: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly
When I tried to open an Android project with Android 3 that I probably created with Android Studio 2 and haven’t worked on in about two years, I got this error message:
I learned about the Android Dexter project today, which simplifies the process of requesting permissions at application runtime.