ANDROID MISC / CATATAN</>↗Android Misc13 Mei 2021
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' } […]
BASIC / CATATAN</>↗Basic23 Mar 2021
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 […]
UBUNTU / CATATAN</>↗Ubuntu23 Jan 2021
I need to create a Microsoft Word Mail Merge document in my Java Spring MVC application. But running it in Ubuntu server resulting in a document that missing the default font use in the document, which is the Calibri font. So I need to install the font in Ubuntu to make the document looks as […]
CORE API / CATATAN</>↗Core API31 Des 2020
In this example you will learn how to create a generic class in Java. In some previous post in this blog you might have read how to use generic for working with Java collection API such as List, Set and Map. Now it is time to learn to create a simple generic class. As an […]
GENERAL / CATATAN</>↗General07 Okt 2020
Java has already taken the coding world by storm with its promises to create better technologies for the future. Though, if you’re looking to learn about the Java programming language from a podcast, it can be hard to find a sufficient developer (or in this case, Java) podcast to learn from, with literally hundreds of […]
GENERAL / CATATAN</>↗General17 Mei 2020
Java 14 has finally been released in March 2020 and brings a whole host of new features that will help ease coding frustrations. In this article, we will break down the top 6 features that make Java 14 an outstanding update compared to the previous versions. Here we go: 1. Switch Expressions Although Switch Expressions […]