Home » Android

Android

Android touch not working? Not to worry.

It’s fairly rare to see a non-smartphone these days among the masses. Despite their numerous benefits, smartphones can sometimes be a PITA—especially the touchscreen. I have a (somewhat aged) Greentel Safari M1 which suffers from an occasional hiccup – the touchscreen simply refuses to work. No matter how hard I try, there’s no hint of a response – not a ...

Read More »

Build an SMS notification system with Android Things and Twilio

In this tutorial, we will cover how to build an SMS notification system with Android Things and Twilio. The main target of this tutorial is describing, step by step, how to implement an IoT system based on Android Things that send SMS notification through Twilio. We all know the importance of IoT as a disruptive technology that is revolutionizing several ...

Read More »

RxPreferences and Dagger

I have been rewriting a Settings (Preferences) activity for an old Android app. Since I was using RxJava in the app, I decided to try out RxPreferences which allows you to use SharedPreferences with a reactive wrapper. I found it quite good to use, although the blog post that accompanies it is a bit out of date. While I did’t ...

Read More »

How to apply Machine Learning to IoT using Android Things and TensorFlow

This project explores how to apply Machine Learning to IoT. In more details, as IoT platform, we will use Android Things and as Machine Learning engine we will use Google TensorFlow. Nowadays, Machine Learning is with Internet of Things one of the most interesting technological topics.  To give a simple definition of the Machine Learning, it is possible to the Wikipedia definition: ...

Read More »

TIP: Stop Editing

Device only bugs are the worse. You need to go through a device build and reproduce/rinse/repeat. Thankfully these bugs are rare but sometimes they just hit you smack in the face. One such problem occurred when I was debugging a transition on Android related to a login form. I would move between a Form where I had the keyboard open ...

Read More »

Kotlin vs Java – Which language Android Developers should Learn?

Ever since Google announced Kotlin as the official language for Android development in Google IO 2017, programmers, who want to become an Android Developer are in dilemma. Now the big questions in front of them are whether they should learn Kotlin or Java? The answer to this questions depends upon your profile. If you are a complete beginner who wants to ...

Read More »

IoT Notification: How to implement a notification system

This article describes how to implement an IoT notification system. A notification is a way we can use to send alarms or other kinds of information to users. This post details, step by step, how to build an IoT notification system using a few lines of code and integrating existing cloud platforms. The aim is to send a notification to ...

Read More »

Building a remote controlled car using Android Things GPIO

Android Things GPIO pins are used to interact with external devices. GPIO stands for General Purpose Input Output and it is an interface to read the state of an external device. In this article, we will discover how we can use Android Things GPIO pins to control DC motors building a remote controlled car. At the end of this article, ...

Read More »