Click here to Skip to main content
15,891,372 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 Updated

Java 

5 Dec 2019 by 10xlearner
A post on how to format CPP, C, JavaScript and other stuff
21 Oct 2012 by a1mimo
Java for beginners
4 Sep 2015 by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.
8 Dec 2015 by Afzaal Ahmad Zeeshan
I was compiling a few things I would recommend to every beginner in computer programming. Here it is.
19 Feb 2017 by Afzaal Ahmad Zeeshan
In this article I will give you a complete overview of SQLite databases in Android and how to consume them using Xamarin APIs.
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.
21 May 2017 by Afzaal Ahmad Zeeshan
Here is my review of official Kotlin shift for Android
23 Nov 2012 by alex turner
Blue Sky Thinking In JavaJava does not allow strong interactions with the memory manager other than via extensions (like JVMTI).
3 Dec 2012 by alex turner
A very fast Sin function for Java
31 Aug 2019 by Alexander Gutev
Another Programming Language?. CodeProjectI recently released version 0.4, the first version that is remotely usable, of Tridash, a programming language I've been working on...
15 Jan 2020 by Alexander Gutev
This post begins with a description of the State Management Problemand various solutions to it offered by today's programming languages. The final section details the solution provided by version 0.8 of the Tridash programming language.
24 May 2010 by Ali BaderEddin
Implementing a three dimensional array dynamically in C, C++, C# and Java
5 Nov 2010 by Ali Ozgur
Introduction to Android development: TouchCalculator
18 Nov 2013 by Andrei Ion Rînea
How to prepare the development environment for Java - Windows and Ubuntu
18 Nov 2013 by Andrei Ion Rînea
Simulating C# ref parameter in Java
19 Nov 2013 by Andrei Ion Rînea
Avoid comparing strings with == in Java
21 Nov 2013 by Andrei Ion Rînea
Beware of primitive wrappers in Java
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.
28 Nov 2013 by Andrei Ion Rînea
Numeric literals in Java 7 and C#
4 Dec 2013 by Andrei Ion Rînea
Overriding and Overloading in Java and .NET – Differences, Changes and Gotchas
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.
5 Jul 2015 by Andrey Moskvichev
This is an efficient way to make button color change on Android
6 Feb 2010 by Andriy Buday
Builder GoF Design patter with Java. Build your laptop example.
6 Feb 2010 by Andriy Buday
State
12 Oct 2017 by Andy Feng
This article introduces how to use Selenium WebDriver to simulate browser operations such as load a page, manipulate DOM, extract data and provides ready-to-go sample code in Java and C#.
17 Jul 2016 by Andy Point
Firebase Android Tutorial : Adding Registration and Login Hello Developers, this is our android firebase tutorial. In this tutorial we will create an android firebase app that will use firebase android login functionality. This post will help you get you up and running with integrating Firebase to a
17 Jul 2016 by Andy Point
Android Download Manager Tutorial: How to download files using Download Manager from the Internet
17 Jul 2016 by Andy Point
Android Material Design: Working with Floating Label EditText
17 Jul 2016 by Andy Point
Android Flash Light Application Tutorial Using Camera2 API
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
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
29 Aug 2016 by Andy Point
Google Maps Nearby Places API Hello Guys. Hope all of you are doing well. In this tutorial, we will learn how to add the markers on nearby places in Google Maps API using Retrofit . We will name this App as Google Maps Nearby Places API.
9 Sep 2016 by Andy Point
Google Maps Search Nearby In this post we will learn how to find nearby places in Google Maps. We will first see how to get current location of user and then will add marker on nearby places like Restaurants, Hospitals, Schools etc. You can see demo of this post (Google Maps Search Nearby) in above
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
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.
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.
4 Nov 2016 by Andy Point
In this horizontal listview Android example, we will discuss how to create a horizontal listview using RecyclerView.
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
12 Feb 2016 by arjunaraneta
Tools for Programming Java (Part 1) – Java IDE (Integrated Development Programming) Software Tools
9 Oct 2012 by Arpit Mandliya
CodeProjectProxy design pattern allows you to create a wrapper class over real object.Wrapper class which is proxy,controls access to real object so in turn you can add extra functionalities to real object without changing real object's code.As described by GoF:"Provide a surrogate or placehold
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
9 Oct 2012 by Arpit Mandliya
CodeProjectReal life example: A very simple example is using phone charger.
25 Mar 2013 by Arpit Mandliya
Template method design pattern in Java.
25 Mar 2013 by Arpit Mandliya
Difference between Comparator and Comparable in java
15 Sep 2018 by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
19 May 2011 by AshwinRayaprolu
JavaScript RSA Encryption and Java Decryption
27 May 2011 by AshwinRayaprolu
How to capture picture on Webpage with Java Backend
2 Jun 2011 by AshwinRayaprolu
Includes sample code that can connect to the GoogleTalk server and get a list of all your friends
8 Jun 2011 by AshwinRayaprolu
PDF Generation Using Templates and OpenOffice and Itext in Java
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.
10 Jan 2021 by Benktesh Sharma
A demo to show reading resources in the remote server using SMB protocol
15 Apr 2014 by Bhargav Kaneria
How to check if a string has all unique characters
16 Apr 2014 by Bhargav Kaneria
How to find the largest of 3 numbers
6 Jan 2011 by Bikash Shaw
Apache Commons EqualsBuilder and HashCodeBuilder
6 Jan 2011 by Bikash Shaw
An Introduction to Bitronix JTA Transaction Manager with MySQL
25 Jun 2015 by Bobby Lough
Find middle of a Linked List in one pass/loop (Pseudo code/Java/JavaScript)
25 Jun 2015 by Bobby Lough
Mutation Testing is amazing. Start doing it with PIT to test your tests. The cost of poor quality is too great to ignore.
30 Jun 2015 by Bobby Lough
An coding exercise using Java 8 trying to do the same summation loop multiple ways
30 Jun 2015 by Bobby Lough
More Java 8 goodies
30 Jun 2015 by Bobby Lough
Java 8 streams and the drastic impact with loops
2 Sep 2015 by Bobby Lough
Listed here are 13 steps to make TDD actually work
20 Apr 2013 by Chris Boss
Is Object Oriented Programming Overrated?
4 Mar 2014 by Cindy Potvin
How to create logs in Android applications
31 Mar 2014 by Cindy Potvin
How to format dates with Java in Android applications
6 May 2014 by Cindy Potvin
How to save data in your Android application
18 Jun 2014 by Cindy Potvin
This is the third post in my series about saving data in Android.
3 Nov 2014 by Cindy Potvin
This is the last post in my series about saving data in your Android application.
4 May 2015 by Cindy Potvin
How to show a Toast for a specific duration in Android
3 Oct 2016 by Cindy Potvin
How to get started with Android development - Basic structure
31 Jan 2017 by Cindy Potvin
How to get started with Android development: Layout managers
17 Oct 2022 by Cindy Potvin
At the end of my last article, I left you hanging after describing activities, without telling you how to build a UI, so here we go.
29 Jan 2015 by Codeman the Barbarian
Trouble with Adapters
4 Jul 2020 by CodingKnight
While you don’t need to know about the details of Bytecode and JVMs to qualify as a Java programmer, such knowledge is still very beneficial.
25 Aug 2016 by Dave Ceddia
Decided to try out a new library? Maybe wrote a new component? Or maybe this is the first React app you’ve worked with, and things just aren’t working. (Or really, any JavaScript library: Angular 1 or 2, Backbone, Ember, heck, even jQuery)The screen is blank.Or it loaded half-way, but nothing is
21 Jul 2011 by David Truxall
A .NET developer's journey into Java
11 May 2014 by Debopam Pal
How to get detailed IP address information of any Java client
1 Jun 2014 by Debopam Pal
This example shows how to fill the values in a bean from a HashMap using Reflection.
16 Jan 2023 by Divya Ulasala
HashMap computeIfAbsent() in Java 8
19 Jan 2023 by Divya Ulasala
DRY principle in software development
8 Feb 2023 by Divya Ulasala
Convert Instant to LocalDateTime/LocalDate/LocalTime
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
5 May 2012 by Duc Huy Nguyen
Wrap a C# library for use in Java, a folktale about an idiot coding at midnight.
21 Aug 2014 by Edison Heng
A simple notepad for Android
26 Feb 2013 by Edison Heng
Synchronizing between Android and desktop
21 Aug 2014 by Edison Heng
I am going to show how to perform undo algorithm on your Java Swing application.
14 Jun 2013 by Edward Legaspi
Setup Seam3-security in JBoss 7
28 Sep 2016 by Florian Lopes
This post explains how to restrict access to an area, based on active Spring profile.
17 Nov 2014 by Gerd Wagner
Difference between a JavaScript object and a UML/Java object
1 Feb 2015 by Gjermund Bjaanes
Get list of folders in Java
31 Mar 2016 by Grzegorz @ tidyjava.com
Are you using frameworks the right way? Are you using frameworks for business purposes or the other way around? Are your business classes dependent on frameworks?
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.
14 Apr 2016 by Grzegorz @ tidyjava.com
Tidy guide on how to create a Living Documentation in your (not only) Java projects.
25 Apr 2016 by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on starting a new Spring project.
28 Apr 2016 by Grzegorz @ tidyjava.com
List of practices to work effectively on Spring applications. This part focuses on effective handling of configuration properties.
2 Jun 2016 by Grzegorz @ tidyjava.com
Clojure language introduction for Java (and similar languages) programmers
9 Aug 2018 by harleydk
How to perform SOAP request with advanced headers in Informatica Powercenter designer