SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

GENERAL / NOTES</>↗
General31 May 2021

Java Performance Tuning Books for Students To Read

Java development requires more than just experience. Learning from the experiences of other people is an invaluable habit that will propel your programming career to another level. Luckily for Java lovers, some developers have offered their best insights on Java programming in books. Here are the top Java performance books that will enlighten your craft. […]

julie.spencer · 3 min read
ANDROID MISC / NOTES</>↗
Android Misc20 May 2021

How do I format EditText for currency input in Android?

The following Android code snippet shows you how to customize the input value format of an EditText component for accepting currency number. To format the input value we will create a text watcher class called MoneyTextWatcher, this class implements of the android.text.TextWatcher interface. In the MoneyTextWatcher class we implement the afterTextChanged(EditText s) method, in this […]

Wayan · 3 min read
ANDROID MISC / NOTES</>↗
Android Misc19 May 2021

How do I get Android Device ID or IMEI?

The following code snippets shows you how to get a Device ID of an Android phone. To be able to read the Device ID you need to update the AndroidManifest.xml file and add the READ_PHONE_STATE permission. <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.kodejava.android"> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> … … </manifest> package org.kodejava.android; import android.Mani...

Wayan · 2 min read
ANDROID MISC / NOTES</>↗
Android Misc15 May 2021

How do I print to a Bluetooth thermal printer in Android?

In this example we are going to create a simple Android application to print texts to a Bluetooth thermal printer. We’ll be using the Android library for ESC/POS Thermal Printer to develop this example. We begin by creating an Android project with an Empty Activity. After the project is created we need to edit the […]

Wayan · 5 min read
ANDROID MISC / NOTES</>↗
Android Misc13 May 2021

How do I read MySQL data from Android using JDBC?

This example show you how to connect and read data from MySQL database directly from Android. The following steps and code snippet will show you how to do it. Add the MySQL JDBC driver into your project dependencies. Open the app/build.gradle file and add the dependency. … … dependencies { … … implementation 'mysql:mysql-connector-java:5.1.49' } […]

Wayan · 3 min read
BASIC / NOTES</>↗
Basic23 Mar 2021

Basic Operators in Java

This article covers basic operators of Java syntax, and how they function. By thorough discussion and coding examples, you’ll be able to use basic operators in your programs like a pro. What are basic operators? Java provides different sets of operators to perform simple computations like addition/ subtraction and other advanced operators for decision-making or […]

adrian.lomezzo · 6 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.