Android Studio 2 Essentials

Android Studio 2 Essentials is my new released book that has been published by Packt Publishing here. You can get it also from Amazon here. This book is an update of the previous one “Android Studio 2 Essentials”. Android Studio is an IDE that is based on the JetBrains IntelliJ IDEA. It gives developers …

Some issues with the One Plus 2

I have been using my new One Plus 2 for 4 days now and I have found a couple of issues that I’m sharing in this post. I have also posted them in the One Plus forum. These are the versions of the software related to these issues: Oxygen version: 2.0.1 …

Apple Watch battery life

One of the key factors to the adoption of wearables is their battery life. We already use laptops, smartphones and tablets that we need to charge almost everyday. Having a wearable device like a smartwatch implies one more device to charge. If our smartphone has a low battery level, we …

First look at Apple Watch

In this post I want to show you the first look at Apple Watch. This post includes: pairing the watch with your iPhone, the charger and what happens when the watch is disconnected from the paired iPhone. My experience is that the Apple Watch is a cool gadget to wear, …

iBeacon Sample Project

In this post I want to show you how we can create the simplest iOS app that monitors and ranges devices that follow the iBeacon protocol. An iBeacon device is a BLE (Bluetooth Low Energy) device that transmits its identification information: UUID, major and minor. You can learn more about …

Introduction to iBeacon

The iBeacon standard is an extension of iOS Location Services. An iBeacon device is a BLE (Bluetooth Low Energy) device that transmits its identification information: UUID, major and minor. This information is hierarchical and the UUID is the beacon’s principal identifier. The iBeacon functionality provided by iOS allows two types …

Custom color in Action Bar + Drawer

A navigation drawer is a common structure for the top-level of our Android app. A drawer provides a safe start point of return with which users can easily understand the application structure. Using Android Studio, we can create a project from the template of an activity with a navigation drawer: …

Swipe gestures in a UITableView

When we have a UITableView, sometimes we want to add some actions when the user swipes over a row of the table. We can capture swipes to the left, right, down or up directions. To capture both left and right swipe gestures, add the following code to your UITableViewController in …

Location Manager in iOS 8

The Core Location service in iOS 8 includes now two different modes of authorization: While Using the App and Always. In our code application we must request the user to accept one of these modes. When In Use. This mode allows your app to use the location services when the …