Skip to content

Blundell

Android Developer Tutorials

  • Beginner
  • Intermediate
  • Advanced
  • Reference
  • X-Post

Tag: java

Setting JDK level in Android Gradle builds

In Intermediate, Reference By blundell On 2023-11-18
Setting JDK level in Android Gradle builds

The correct, complete, 2024, settings to configure the Java version in Gradle for Android.

Tagged androiddev, gradle, java, jdk

This one simple change for better class naming will blow your mind

In X-Post By blundell On 2017-01-282017-01-28

Single Responsibility[^n], Beware the Share[^n], Boyscout Rule[^n]. These are some conventions that guide good practice in software development and I believe naming can benefit from these ideas and other practices. This blog post will discuss…

Read more of This one simple change for better class naming will blow your mind →

Tagged best practices, clean code, java

Clean Code: Java Class Fields

In X-Post By blundell On 2017-01-28

Keeping your code clean is no easy task. Clean code allows your project to pass the test of time. It can be broken down into making your code simple to read, write, and understand. This…

Read more of Clean Code: Java Class Fields →

Tagged android, best practice, clean code, java

[TUT] Easier / Quicker Generic Collection Creation

In Reference By blundell On 2013-03-03

Sick of repeating your generics declaration?Sick of repeating your generics declaration? For a quick and easy way to create a collection of objects you can do the below. Create yourself a util class: Then each…

Read more of [TUT] Easier / Quicker Generic Collection Creation →

Tagged array, best practice, blundell, collections, easy, generics, java, map

[TUT] Create your own CheckStyle check

In Advanced By blundell On 2012-12-232012-12-23

Android code is just like any Java system, you need to write tests and have automated code review checks. CheckStyle is a way of double checking your Java code. Checkstyle is a development tool to…

Read more of [TUT] Create your own CheckStyle check →

Tagged android, checkstyle, clean code, java, maven

[TUT] Using Annotations for Android XML onClick visibility

In Intermediate, Tutorial By blundell On 2012-08-102012-10-10

In this tutorial I’ll show you how to create a basic Annotation. The idea being you can use this to highlight the entry points into your code. (These entry points coming from XML onClick declarations…

Read more of [TUT] Using Annotations for Android XML onClick visibility →

Tagged android, annotation, java, onClick, visibility, xml

[TUT] Running an Ant script with Eclipse

In Beginner By blundell On 2012-05-212012-05-21

In a previous tutorial I explained how to use an Ant script to build and run your projects. However it’s no good knowing how to do that, if you can’t run the Ant script. So…

Read more of [TUT] Running an Ant script with Eclipse →

Tagged ant, buildscript, java, run
© Copyright Blundell. All rights reserved.