First attempt at a mobile app, using PhoneGap Build

For years, I have wanted to develop for Android but I haven’t gotten off my butt and done it.  I recently decided to force myself to explore development, using PhoneGap.  Today, I wrote a very basic proof of concept.  I have to admit that it was pretty easy.  I wrote the app using HTML, JS, and …

Continue reading "First attempt at a mobile app, using PhoneGap Build"

How to convert decimal to unsigned binary in JavaScript

Ok, I do have to admit that this has limited value. I did this mostly as a thought experiment. I wanted to see how easy it would be to script the conversion from decimal to binary and back again, in JavaScript.     As you can see, the conversion from binary to decimal is much …

Continue reading "How to convert decimal to unsigned binary in JavaScript"

How to detect a device type, based upon window width

These days, it seems like there are an almost infinite number of device types.  There are phones, tablets, phablets (AKA really big phone), small laptops (like netbooks), big laptops, and desktops.  The key to dealing with these devices is simply responsive design and extensive compatibility testing.  You should not deviate from that! With that said, …

Continue reading "How to detect a device type, based upon window width"