Click here to Skip to main content
15,886,006 members
Everything / Programming Languages / Java

Java

Java

Great Reads

by ridoy
A brief explanation of application development for Android Wear, helpful for every beginner and intermediate android developer.
by raddevus
Steps for building a device you can add to your existing garage door, which implements an atmega328, bluetooth (hc-05) and relay module which will allow you to open your garage door from any paired Android device.
by Arthur V. Ratz
In this article, we will discuss about the advanced Android application development based on the example of creating a responsive Airport schedule simulator application.
by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.

Latest Articles

by Petrov Vladimir
Smart Android Template for Data Performance with International Signals Code as a Sample
by Oliver Li 2024
Java Code Change Impact Analysis
by Yochai Timmer
A way to avoid JNI's reflection oriented programming. Wrapping Java with C++
by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android

All Articles

Sort by Title

Java 

7 Apr 2017 by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
26 Oct 2020 by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.
2 Sep 2015 by Bobby Lough
Listed here are 13 steps to make TDD actually work
6 Oct 2014 by Lee P Richardson
A list of 24 Resharper tips
5 Mar 2015 by morzel
This is the fifth post in my little "Out of Boredom" series dedicated to hobby projects with Arduino.
21 Jul 2011 by David Truxall
A .NET developer's journey into Java
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
28 Jul 2020 by rtybase
There is one ambiguous moment in the Java documentation of the compute() method from the ConcurrentHashMap class.
23 Aug 2012 by Keyhole Software
A library that would give a human-readable file size if I were to give it a file length.
28 Sep 2016 by Florian Lopes
This post explains how to restrict access to an area, based on active Spring profile.
16 Apr 2012 by Sebastian Krysmanski
This article will show some basic examples of how to call a method of a Java class from Mono for Android.
9 Oct 2012 by Arpit Mandliya
CodeProjectReal life example: A very simple example is using phone charger.
20 Jul 2016 by Andy Point
Integrating Facebook Login to Android Application. Now a days almost every web and mobile app provides an option to Login with Facebook. This is because most of the people have a facebook account and facebook has provide an easy to integrate SDK to add Facebook Login to your mobile app.
28 Aug 2016 by Andy Point
Today Almost all web and mobile apps come with Google and Facebook Login, This is a really useful feature for both the app developer and the user, since almost everybody tend to have a google/gmail and facebook account and moreover while logging in with google you don’t need to remember your UserId
6 Apr 2020 by James A. Brannan
Introduction AWS SQS Message Queues are a way to exchange messages between applications. Senders, send data objects to a queue and receivers, receive objects from a queue.
21 Apr 2019 by James A. Brannan
In this tutorial, we explore creating, reading, updating, listing, and deleting objects and buckets stored in S3 storage using the AWS Java SDK 2.0 to access Amazon’s Simple Storage Service (S3).
5 Jul 2015 by Andrey Moskvichev
This is an efficient way to make button color change on Android
6 Jan 2011 by Bikash Shaw
An Introduction to Bitronix JTA Transaction Manager with MySQL
22 May 2011 by sayem.bd
This article is the second part of a series of articles which will try to explain the basics of design patterns.
28 May 2011 by sayem.bd
This article is the first part of a series of article which will try to explain the basics of design patterns
9 Oct 2017 by Right Handed Monkey
How to programmatically register system broadcast receiver at runtime in Android
21 Jul 2016 by Andy Point
Android CardView Tutorial We have already discussed about RecyclerView in the following tutorial Listing Items using RecyclerView and shown a recyclerview example in android studio. Today we will discuss about CardView in Android SDK which was introduced with the android material design through the
15 Jun 2014 by Right Handed Monkey
Android Database Example and Tutorial (thread safe version)
17 Jul 2016 by Andy Point
Android Download Manager Tutorial: How to download files using Download Manager from the Internet
31 Oct 2015 by Val Okafor
In this blog post, I will show you how to create Android drawing app. This blog post is part one of a two part tutorial series where I will show you how to create simple but delightful Android drawing app.
18 Nov 2015 by Val Okafor
In this blog post, I will show you how to create Android drawing app. This blog post is part one of a two part tutorial series where I will show you how to create simple but delightful Android drawing app.
4 Nov 2015 by Val Okafor
This blog post is part two of my Android Drawing App tutorials. It is strongly encouraged that you finish part one of this tutorial before proceeding with this one.
29 Aug 2016 by Andy Point
Android Firebase Cloud Messaging Tutorial Hello Developers, We are back with a new android firebase tutorial. This time we will discuss about Firebase Cloud Messaging (FCM). We will be using Firebase to add cloud messaging in android app. What is Firebase Cloud Messaging? Firebase Cloud Messaging is
17 Jul 2016 by Andy Point
Android Flash Light Application Tutorial Using Camera2 API
4 Nov 2016 by Andy Point
In this horizontal listview Android example, we will discuss how to create a horizontal listview using RecyclerView.
28 Apr 2015 by Val Okafor
This blog post stems from my recent experience building my soon to be released Invoicing app. I waited until the last minute to integrate PDF hoping that there is a magical boolean I can set to true and voila, my deeply nested view will be converted to PDF.
19 Apr 2011 by Austin Rasmussen
The Android ListActivity makes it simple to display a list of items in your application.
19 Apr 2011 by Austin Rasmussen
Continued from: Android Lists: ListActivity and ListView I.
13 Mar 2017 by hexgear
I this post I will describe how I put together the live wallpaper.
17 Jul 2016 by Andy Point
Android Material Design: Working with Floating Label EditText
19 Feb 2015 by Right Handed Monkey
This post explains how to use the WorxForUs Network framework to have an Android app that works robustly even in areas that have poor network connectivity.
14 Jul 2017 by hexgear
In this article, I will share how to parse JSON using JSON-Java in Android, however the snippet is not limited to Android only.
1 Nov 2016 by Andy Point
In this post, we will discuss how to use picasso in Android studio to download images over network by creating a Picasso Android app.
1 Nov 2016 by Andy Point
In this Android Spinner Tutorial, we will learn how to make an Android spinner which will allow us to select an item from a drop down menu in Android.
17 Sep 2015 by Val Okafor
In this post, I will cover the fundamentals of Android SQLite from a beginners perspective. In the next post I will provide a similar introduction to Content Provider and in the last part of the series I will show how to use Android SQLite and Content Provider to build a Note taking app.
20 Nov 2015 by Val Okafor
Android SQLite for beginners
11 May 2014 by hjgode
Android: ipPrint4 Print Label/Receipts to IP Printer
8 Mar 2011 by kb-boxer
Sometimes, less syntactic noise is a good feeling for a programmer. I am not doing a language war here. I am just trying to vote for delegates in Java.
6 Jan 2011 by Bikash Shaw
Apache Commons EqualsBuilder and HashCodeBuilder
19 Nov 2013 by Andrei Ion Rînea
Avoid comparing strings with == in Java
18 Jun 2020 by Rion Williams
How to avoid Kotlin minefields in Apache Beam
5 Apr 2020 by James A. Brannan
Exploring AWS KMS to encrypt and decrypt data via the AWS Java 2 SDK
17 Jun 2019 by James A. Brannan
Exploring the AWS Key Management System (KMS) to encrypt and decrypt data via the AWS Java 2 SDK
21 Jul 2015 by Member 11794279
Better Java Hot Code Replace at no cost
21 Nov 2013 by Andrei Ion Rînea
Beware of primitive wrappers in Java
18 Aug 2014 by Seb Carss
How to break dependencies to test code in Java: Irritating Parameter
6 Feb 2010 by Andriy Buday
Builder GoF Design patter with Java. Build your laptop example.
21 Nov 2013 by Lewis Benge
Building Glassware with the Xamarin Android and Google's GDK
6 Dec 2012 by Keyhole Software
How to build Vagrant Boxes with VeeWee on TravisCI
27 May 2011 by AshwinRayaprolu
How to capture picture on Webpage with Java Backend
2 Jun 2016 by Grzegorz @ tidyjava.com
Clojure language introduction for Java (and similar languages) programmers
26 Mar 2013 by ladv02
"Minimum Scalar product" solution in Java.
26 Mar 2013 by ladv02
Store credit solution in Java
29 Jan 2013 by ludovicianul
The most used tools for Java projects.
14 Aug 2014 by TheCannyCoder
Reductions and Short-Circuiting Operations
5 Mar 2018 by TheCannyCoder
Provided Collectors and a Java 8 Streams demonstration
20 Feb 2017 by Afzaal Ahmad Zeeshan
In this article, I cover the most widely faced problems in Xamarin installation and setup for Android application development.
23 Aug 2012 by Keyhole Software
Component based Java frameworks.
9 Oct 2012 by Arpit Mandliya
CodeProjectComposite design patten allows you to have a tree structure and ask each node in the tree structure to perform a task.You can take real life example of a organization.It have general managers and under general managers, there can be managers and  under managers there can be developer
13 Dec 2013 by ludovicianul
Constructors do not get better with age
12 Feb 2013 by Kelum W. Ganegoda
Code to convert/format numeric value to alpha value in M3.
19 May 2012 by hoonzis
This is a short post describing how to implement a simple tool to manage CORBA Naming Service.
29 Oct 2011 by Rajeesh.C.V
Android development - Aquarium Live wallpaper
31 May 2015 by Val Okafor
Today, I am beginning a four part Android tutorial series where I will provide step by step guide on how to create and publish your first Android app.
2 Jun 2015 by Val Okafor
How to create and publish your first Android app
13 Jul 2015 by Val Okafor
CodeProject This post is part 3 of a three part Android development tutorial series where I provide a walk-through on how to create and publish your first Android app.
4 Mar 2014 by Cindy Potvin
How to create logs in Android applications
21 Jul 2014 by Keyhole Software
How to create your own Java annotations
7 Apr 2016 by Grzegorz @ tidyjava.com
Beginner guide to using the power of Dependency Inversion with examples in Java. Covers dependency injection, using abstractions and adapter pattern.
23 Jul 2012 by loki2302
Depend explicitly, require explicitly, but only require what you really need.
17 Apr 2009 by Matt Stine
Deploying Grails with Groovy
13 Mar 2013 by Andrey Moskvichev
In this article, I'll show you how to detect incoming and outgoing phone calls on the Android platform.
25 Mar 2013 by Arpit Mandliya
Difference between Comparator and Comparable in java
12 Feb 2023 by Divya Ulasala
Examining the differences between java.util.Random, java.security.SecureRandom, and java.util.concurrent.ThreadLocalRandom to generate random numbers
10 Dec 2017 by morzel
Differences in Java and C# - protected
24 Aug 2016 by Isaac RF
To create visually engaging apps, displaying images is a must. Learn to display Bitmaps Efficiently on your Android apps, without giving away performance. The post Displaying Bitmaps Efficiently on Android apps appeared first on Isaac RF.
29 Sep 2014 by Keyhole Software
Don't just randomize, truly randomize
29 Nov 2012 by Serge Desmedt
2D Drawing in Android
20 Jan 2015 by mrcellux
Duck typing in Java
24 May 2010 by Ali BaderEddin
Implementing a three dimensional array dynamically in C, C++, C# and Java
21 Feb 2013 by Mukit, Ataul
Eccentricity in programming languages
4 Apr 2013 by Issam Lahlali
Emulate the internal keyword in Java
31 Oct 2023 by ToughDev
Create custom nanorc file for JSP in nano to enhance syntax highlighting and readability, along with basic autocomplete
27 Nov 2013 by Andrei Ion Rînea
A useful feature added in Java 1.5 (also known as J2SE 5.0, 2004) is the enum. This post makes a comparison of Java and .NET enums.
20 Jan 2015 by mrcellux
Exception smells
27 Nov 2013 by Issam Lahlali
Many Java static analysis tools exist right there, each one focus on a specific area and has its advantages, we can enumerate: Pmd which is a static rule-set based Java source code analyzer that identifies potential problems like: Possible bugs—Empty try/catch/finally/switch blocks.
26 Mar 2013 by ladv02
Facebook Hacker Cup: "Double squares" solution in Java
26 Mar 2013 by ladv02
"Studious Student" solution in Java.
7 Aug 2012 by rtybase
A short article showing how not to RSA
21 Dec 2017 by rtybase
An use case for ConcurrentHashMap
1 Jun 2014 by Debopam Pal
This example shows how to fill the values in a bean from a HashMap using Reflection.
25 Jun 2015 by Bobby Lough
Find middle of a Linked List in one pass/loop (Pseudo code/Java/JavaScript)
11 Feb 2015 by mrcellux
Find the first spaghetti