Android

Android Terminology Overview

Android Unit of Measure Terminology Have you ever wondered why there are so many different units of measurement in the Android architecture? There is dp, dip, sp, px, pt, in and mm. Below I will run through what each one is and what their purpose is within the Android framework. PX <View android:layout_width:"50px" android:layout_height:"wrap_content" /> In Android, px is short for pixels. It corresponds to actual pixels on the screen. In this example the view would be exactly 50 pixels wide.

Continue reading

Friends Android App

Friends Android App Friends is an Android app I am currently developing with a planned release in early January 2017. The app is a short-list version of the stock contacts app. Friends pulls in only your starred contacts and gives you easy access to call or text them. It is supposed to be sort of like a speed dial, but for all your favorites instead of just one, and all in one place.

Continue reading

Android Studio Libraries With Gradle

Using Libraries in Android Studio Intro to Gradle for Android Studio Android Studio switched to a gradle based build system a few years ago, and that made it very simple to incorporate open source libraries your Android projects. If you aren’t familiar with gradle you can learn more about it here. The details of gradle recipes are beyond the scope of this post, but I will show the very basics of including libraries in your project.

Continue reading

Android Studio Keyboard Shortcuts

Android Studio Shortcuts If you have used Android Studio for even a short time I’m sure you have found some shortcuts and hot keys to speed up your coding and keep your hands on the keyboard where they belong! I’m going to run through some of the shortcuts I find most useful. Android Studio is built by Google, but it is based on Jetbrains Intellij Community Edition Java IDE. This means that all of the Intellij shortcut keys work on Android Studio, but Google have added a few of their own.

Continue reading

Android Constraint Layout

Overview There are many different views and view groups in the Android infrastructure. Some are more useful than others, but they all have their place. Recently, Google released a new layout called ConstraintLayout. This is still in alpha release stage but it looks very promising. This isn’t going to be a tutorial on how to use it, rather, it’s just my thoughts and opinions on the concept and implementation. Keep in mind I have only been messing around with it for a couple of weeks, so my opinion could change as they update and improve it.

Continue reading