yosemite is better for android development than windows 8.1

You’re looking at Android Studio version 1.2.1.1 running on Windows 8.1 Update 1 with all patches on top, and then running on Yosemite 10.10.3 (Mac OS X) at the bottom. It’s opened on the exact same project. And when I say exact, I mean the project was copied between the two systems without any intervening edits or changes. My biggest complaint is in how the Design tab renders my application design: it’s broken under Windows and looks perfect under Yosemite.

There are other little differences between the two editors that are too minor to note, but that still give the edge to developing Android in Android Studio on the Mac Mini better than developing in Android Studio on my Samsung Windows notebook. But I will call out that it’s easier to attach my Samsung Galaxy S4 to the Mac Mini than it is to connect it to the Samsung notebook running Windows 8.1. As the slogan goes, with the Mac Mini It Just Works.

There is a certain irony (to me) that I have a better overall experience developing with the mortal enemies tools (Android) on Yosemite. If I were really into conspiracies it would make me wonder if Microsoft is up to its old shenanigans to make sure that such-and-such a competitive application (Android and Android Studio) doesn’t work well on the latest OS platform (Windows 8.1 in this case). Except I know better. I attribute this to sloppy implementation and testing on both Google and Samsung’s parts; Google has morphed Jetbrain’s IntelliJ into Android Studio and is thus responsible for making sure it works the same across all platforms (which also includes Linux, specifically Ubuntu) and with Samsung I lay the blame on its driver implementation for Windows (which I keep getting a patch for every once in a while). In any event I’ll continue to use my Mac as the center of my creative universe for mobile development, which is probably a good thing, as I’ve started to ease more and more into Swift and iOS.

more alternative calculator tweaks

Know how you can tell when I’m really into writing software? When I dream about it (literally); when I wake up the first thing I do is head to the computer to perform some development activity before the dream/idea fades. That’s what happened this morning. It’s been years since I was this intense, and I think I may get even more intense about it. When I spend a full 24 hours in front of the computer without sleep or much food, then I’ll know I’m truly back in the groove. At least for this.

In less than five minutes I added the final row of keys/buttons on Alternative Calculator. They’re the trigonometric keys, and the DRG (degree/radian/grad) selection key on the far left. Nothing tied to them yet, but it should be in about a day. The 2nd key will select the arc sine, cosine, and tangent keys. And perhaps the 3rd key will select the hyperbolic trigonometric functions.

Other minor tweaks this morning include:

  • Changing the horizontal and vertical padding on the outermost LinearLayout from 16sp to 8sp. As you can see in the Design view, the keys/buttons are of equal width across the screen. This doesn’t work quite as well on the Samsung Galaxy S4, as the top screenshot shows.
  • Locking the orientation to portrait only. This was done in the AndroidManifest, activity  tag, with the android:screenOrientation=”portrait” tag attribute.
  • The DRG selection key can one of two ways: either display a ‘D’, ‘R’, or ‘G’ letter in the display, or else make the key display the state (Drg, dRg, and drG). I have to think about this a bit more. This also is leading me to create a configuration page for the app. And one of the configuration options is how to display the what angular mode D/R/G you’re in.
  • The possibility of adding graphing. You’d get to the graph by swiping from left to right. This also backs me into some sort of programability where equations are stored. Which means I better get on the stick and finish the algebraic engine and enable the parenthesis keys/buttons. And the exponential entry key.

I’ve transferred my Android development from my Windows notebook to my Mac Mini. No real reason except it’s easier for me to just leave my notebook packed for the evening. I can get out of the house and head into work just that much faster when I don’t have to put my notebook back into its bag.

I’ve also noticed that the Design matches the app running on hardware. For the longest it was white-on-white, and it annoyed me no end. That’s one of the reasons I test constantly on hardware, the other reason being far, far better performance than using an emulator. The change is most welcome. I don’t know if I should attribute it to my better understanding of Android app programming, or a bug that was fixed in the latest Android Studio release. Android Studio is now at 1.2.1.1.

From a personal perspective I’m using my calculator for day-to-day quick number calculations. It’s functional enough that I no longer use anything else but. It’s still early days for this app, a good 30 days before I think about releasing it in Google Play. But after all my “toy” apps, this one is going out into the world. Finally.