Blog Archives

Is Using Kotlin Today a Risky Move?

Recently, a blog post entitled “The Case Against Kotlin” was published on Medium. The title could have been more descriptive, and I appreciate that it doesn’t tout Kotlin as rainbows and unicorns, but it did bring up a few points

Posted in Android, Kotlin, Mobile Tagged with: , ,

Android Things with Raspberry Pi: Workshop Basics Part 5 (Small Displays with the ssd1306)

In our last post we looked at using the temperature sensor, but what if we want to display that data? We could display it on a attached hi resolution screen, but, what if we are using a SOM that doesn’t have

Posted in Android, Android Things, Kotlin Tagged with: , ,

Android Things with Raspberry Pi: Workshop Basics Part 4 (Measuring Temperature and Pressure)

Continuing our Android Things series, let’s learn how to use a sensor. If you look at the driver samples you’ll see samples for the BMX280. The BMX280 is a temperature/pressure sensor that is manufactured by Bosch. It consists of two models.

Posted in Android, Android Things Tagged with: , ,

Android Things with Raspberry Pi: Workshop Basics Part 3 (Common Issues)

In our previous posts, we learned the basics and added a little bling to Hello World. However, when you’re working with hardware, you can run into problems you might not be expecting when working on software. Here are some things we’ve learned

Posted in Android, Android Things Tagged with: , ,

Android Things with Raspberry Pi: Workshop Basics Part 2 (The Internet of Bling with the APA 102)

In the previous post, we talked about the basics of getting Android Things running on a device and connecting to it on a Pi. Now that it’s working, let’s do the traditional “Hello World” with some lights. We could use

Posted in Android, Android Things, Maker, Mobile Tagged with: , ,

Android Things with Raspberry Pi: Workshop Basics Part I (Connecting to the Network)

Around the beginning of 2017, Google introduced an IoT platform called Android Things, which makes it easy for Android developers to develop IoT applications. Given Polyglot Programming’s interest in both IoT and Android, we were very early adopters of this

Posted in Android, Android Things, Development, Uncategorized Tagged with: , ,

In Need of Parse Alternatives? Let’s Look at Firebase!

Until recently, Parse has been the go-to solution for mobile developers who needed to persist application data to the cloud without having to set up and run a custom API backend. All of this changed in January 2016, when Parse

Posted in Android, Architecture, Database, Development, IOS Tagged with: , , ,

Purr Programming Shirt Part 4 — Adding Android Wear Support

In the first three parts of this series we discussed how to create a wearable garment (in our case, a t-shirt) with LEDs, how to connect it to an Android device using MetaWear, and how to make it change colors

Posted in Android, Android Wear, Development, Kotlin, MetaWear, Mobile, Wearables Tagged with: , , , ,

Purr Programming Shirt Part 3 – Changing Colors Based On Twitter Notifications

In the previous installment of this blog series, we talked about setting up a service to talk to the MetaWear board. In the app, we flash and change the colors of the LEDs on the t-shirt by sending broadcast intents

Posted in Android, Android Notifications, Development, Kotlin, MetaWear, Mobile, Wearables Tagged with: , , , , ,

Purr Programming Shirt Part 2 — Communicating with the MetaWear

In Part 1 of this series, we talked about the hardware for our Purr Programming t-shirt and how we connected all of the components. Now let’s talk about the Android app that controls the shirt’s LEDs. Our app has the

Posted in Android, Development, Kotlin, MetaWear, Mobile, Wearables Tagged with: , , , ,