Click here to Skip to main content
15,884,986 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 Score

Java 

16 Oct 2015 by ridoy
A brief explanation of application development for Android Wear, helpful for every beginner and intermediate android developer.
27 Jul 2016 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.
1 Aug 2018 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.
2 Jan 2013 by WebMaster
Hello About sending email using Gmail account, you can refer the flowing code (using TLS connection): import java.util.Properties; import javax.mail.Message;import javax.mail.MessagingException;import javax.mail.PasswordAuthentication;import javax.mail.Session;import...
2 Jan 2013 by WebMaster
Hi Janna Mamer Dela Cruz,Was you emulator dont show your desired layout ?Check again on onCreate() method of your Activitypublic class Your_Activity extends Activity{ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
4 Sep 2015 by Afzaal Ahmad Zeeshan
This post attempts to describe the general difference between overloading and overriding in Object-oriented programming languages.
27 Jan 2021 by Bill SerGio, The Infomercial King
XCODE & Android Studio mobile app projects built using Ionic's Capacitor with an Angular 14 UI. Includes WebRTC for video conferencing, and SwipeClouds for Playing Millions of HD Movies & Videos and A Custom Capacitor Plugin for Scraping User Data for Targeted Delivery of video ads to mobile phones.
14 Apr 2014 by Giannakakis Kostas
Port your libgdx games to run in Windows Phone and Windows 8 platforms
6 Jun 2014 by Pete O'Hanlon
An introduction into how to be the coolest dev in your block, writing wearable code
2 Jan 2013 by WebMaster
Hi pankajbhardwaj,I think the problem is here : out.println(" ");
2 Jan 2013 by WebMaster
Hi sistlachetan,I think firstly, u should catch up how Java can interact(read/modify..) with doc/ppt/pdf/xls files.For this point, I recommend reserching on Apache POI[^]"The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based...
5 Aug 2016 by Grasshopper.iics
Live Streaming Multi Modality Controlled Intel Edison Smart RC Car
7 Mar 2010 by Luc Pattyn
This is an alternative to "Week Numbers According to ISO8601".
15 Dec 2016 by Hai Nguyen Ho
This program simulates an auto-driven car learning to drive around a track.
1 Jan 2021 by Yuancai (Charlie) Ye
Application of SocketPro onto various databases for continuous inline request/result batching and real-time stream processing with bi-directional asynchronous data transferring
7 Aug 2016 by Grasshopper.iics, Moumita Das
An assistive technology initiative for patients with upper body disability
9 Jun 2023 by Kashif.Mushtaq.Ca
Cross Platform AES 256 GCM Encryption and Decryption (C++, C# and Java)
7 Jan 2013 by WebMaster
You can define event for each button.Another way, you can do like this:private OnClickListener mListener = new OnClickListener() { @Override public void onClick(View v) { Button btn = (Button)v; // if btn is startButton1 if (btn.getId() == R.id.startButton1)...
27 Mar 2013 by danabr
This article explains why and how you should protect your app's settings from prying eyes
23 May 2014 by Debabrata_Das
This article will talk about how a WCF service can be consumed by a Java client application.
27 May 2014 by Mohd Akram
29 Nov 2017 by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
13 Mar 2017 by Ata Amini
Multi-linear regression/classification with simple examples and Java code
4 Apr 2021 by Yuancai (Charlie) Ye
Continuous SQL-stream Sending and Processing System
8 Dec 2017 by Dirk Bahle, Alaa Ben Fatma
Tips & tricks on visting and searching nodes in WPF TreeViews
26 Oct 2020 by Matteo Prosperi
In this article, we investigate how DateTime issues are avoided.
5 Mar 2013 by Prasad Khandekar
A dropline menubar control tag library for JSP.
17 Jan 2014 by OriginalGriff
Wow! That's a big question...You've been using computer since '03, so at a guess you're twenty-something. So we can assume you want "real" programming rather than something for kids. That both makes it easier, and harder - easier because we can ignore LOGO and getting stupid turtles to draw...
29 Oct 2014 by Stiti Samantray
Get started with error and exception handling with Java programming
11 Feb 2016 by raddevus
Get the Android device emulator running. Add code to generate Android log output and learn how to step into code using the Android Studio debugger.
17 Jan 2012 by Lodewijk Pool
A quick and easy way to direct Java System.out to File and to Console.
7 Jan 2015 by vladimir husnullin
Web development using JSON is simple
9 Oct 2014 by Louie Bacaj
Web API was introduced and was recently streamlined into Web API 2.0. This framework is heaven for C#/.NET services developers. It allows you to get a RESTful API in .NET up and running in less than an hour. As you'll see it's also just as easy to consume that API in another programming language.
20 Nov 2015 by Mircea Diaconescu, Gerd Wagner
Learn how to build a Java back-end web application with minimal effort, using Java Server Faces (JSF) as the user interface technology, the Java Persistence API (JPA) for object-to-storage mapping, and a MySQL database.
1 Jul 2023 by Ryan Scott White
A fast, possibly the fastest, square root function for Big Integers and Floats in C# and Java.
21 Jan 2011 by Nish Nishant
Google for "steganography". Also check out Corinna's articles here on Code Project:http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=475133[^]
28 Nov 2011 by Sergey Alexandrovich Kryukov
This is up to you. I'm interested that everyone learned .NET :-), which is not exactly a language, by the way. However, I cannot recommend anything certain, without understanding your background and the goals. "I know C/C++" does not tell me much; actually, it tells me almost nothing. Your...
21 Mar 2013 by Shubhashish_Mandal
Animated sliding panel in Swing.
23 Apr 2014 by AmosShi
Analysis of the "Hello World" application at binary (JVM) level
16 May 2014 by B. Clay Shannon
Step-by-step instructions for adding an Async Task to an Android Activity
22 Jan 2015 by Christopher Swiderski
We’ll be using Java 7 and the Apache CXF framework for implementing a web service and client within the Eclipse IDE.
29 Jan 2015 by Suffyan Asad
How to implement Joins in Hadoop Map-Reduce applications during Reduce and Map phases
5 Aug 2017 by Rishabh Upadhyay
Anoncrypt by HTCoders is a web-based Text Encryption and Decryption Project developed using Java Technology following Struts2 Framework
2 Aug 2015 by OriginalGriff
Hoo boy!Pre- and post- fix increment and decrement operations are pretty easy in theory, it's only when people get creative that you get problems in practice. Basically, a prefix (++i or --i) says to increase or decrease the value before you use the variable, so the variable has the new value...
10 Feb 2016 by raddevus
Experience the generation of your first Android App while learning to use the newest version of Android Studio.
13 Mar 2017 by Ata Amini
Implement Gauss-Newton algorithm in Java to solve non-linear least squares problems; i.e. to find minimum of a function.
27 Nov 2019 by Akhil Mittal
This article will explain the concept of CI/CD, Jenkins, getting started with Jenkins, integrating and deploying an ASP.NET Core application locally and to the Azure Service as well. We’ll also cover topics like creating Azure service, creating Azure service principal, configuring Jenkins on Azure.
6 Dec 2009 by Emilio Garavaglia
May be you'll not like my answer but ... there is no answer for such a question.Programming style is somewhat personal. There can be guidelines in use in companies, communities etc. but -as far my experience is(30 yers of programming)- they are always more or less violated by their own...
19 Jul 2011 by Richard MacCutchan
OK, I've done that. Now let's see if you can do it as well.
10 Nov 2011 by Roger Doss
The article shows two techniques involving the Quadratic formula, with one technique designed to take advantage of the difference between the two factors, and another capable of factoring 128 bit+ semi-primes.
23 Jul 2012 by CPallini
Roughly speaking: a function operates just on the passed parameters while a method, being exposed by an object, operates on the object's internal state too.
1 Oct 2012 by Espen Harlinn
Have a look at C++ Builder[^]Personally I think it's a good idea to learn a language that allows you to get "close" to the hardware. In a way it could be argued that assembly is a good first language, except that you would proably find the exercise rather frustrating.C++ Builder comes...
17 Jun 2013 by josh-jw
This article will give you a good idea about adding external jar files in Android Studio.
15 Sep 2013 by Ohad Redlich
This document describes how to get extended user’s data, such as email address, from the Active Directory. A former article describes how to do so using native tools, such as COM4J; however these tools are cumbersome for use, while pure Java is better and simple.
18 Apr 2014 by Garvit Arya
It is a personalized web Browser that can open a certain website directly.
30 Jul 2014 by Ahmed Alaa El-Din
Help Beginners to create their 1st Android Application by a step-by-step guide
24 Sep 2014 by pogib
Simple and PCF shadow mapping algorithms (Bonus Article - Android Wild Card Category)
5 Dec 2015 by Afzaal Ahmad Zeeshan
This article discusses Android programming and aims at teaching you about Android programming for Camera and Widgets.
15 Feb 2017 by Pritam Zope
In this article, we will create a notepad in Java with features like Multi Tabbed Documents, Document Selector, Openning/Saving/Closing Multiple documents, Running External Programs,Different Look and Feels, Viewing files in Browser, etc.
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.
7 Apr 2017 by Rion Williams
Here are some "secret" productivity tips for Visual Studio 2017
26 May 2018 by Vladan.Obradovic
How to easily write a user's guide for your application using different file extensions
3 Jan 2019 by Ryan Peden
How JavaScript arrays work under the hood
29 Jan 2019 by SergVoloshyn
Easy way to make Android OCR application
30 Jan 2020 by Roman Sedaikin
SpaceVIL is a cross-platform and multilingual framework for creating GUI client applications for .NET Framework, .NET Core and JVM. This article discusses the SpaceVIL framework, its capabilities and a brief story of its creation.
20 Mar 2023 by Bogdan Marian
Ensure your Docker Compose services start in the correct order
7 Nov 2011 by Nagy Vilmos
I've done the basics for you, just fill in the gaps:package homework.readwrite;public class ReadWriteApp { public void main(String[] args) { // code goes here }}
23 Jun 2014 by lessthanoptimal
Introduction to and an example of how to use BoofCV
22 Dec 2011 by carl morey
Full description of constructing a game application in Java.
19 Jun 2012 by OriginalGriff
Open source projects are not listed by number of code lines. In fact "lines of code" has been depreciated as a metric for years, particularly for high level languages where coding style alone can have a massive affect on code lines count. Do:if (condition) { statement; ...
30 Oct 2012 by OriginalGriff
The same as the difference between Mandarin Chinese and American English.They are similar in that they are both langauages, and share a similar look, but otherwise they are very, very different.Javascript runs in a browser on a clinet PC, java is executed in a vertual computer and can run...
3 Jul 2013 by Ohad Redlich
This article shows how Java application can retrieve user's data from the Active Directory
5 Jul 2013 by Maximilien
You have to look at the application "domain" you are interested in pursuing your career.You want to do some mobile applications, then learning Objective-C might be fun and useful.You want to do some "scientific" (or high performance) applications, then learning C++ could be a good...
3 Nov 2013 by Kyle A.B.
Learn how to play Audio in an Android app from an HTML5 page in the Apps Assets folder.
23 Dec 2014 by joseacl79
Create a Google maps app and add markers on it
24 Nov 2015 by vladimir husnullin
Web development using JSON is simple
21 May 2014 by B. Clay Shannon
A potentially-exhausting-but-not-exhaustive list of shortcut key combinations to use in Android Studio
20 Jul 2014 by Mark H Bishop
Build an Arduino Hardware Random Number Generator and use it from Java
8 Aug 2014 by Sushil Sh.
Sample Code of Hello World App
10 Sep 2014 by CPallini
Roughly speaking, in many OOP languages the static qualifier is used for class methods, that is methods you may call without having a instance of the class (technically they are similar to C functions, that is methods without the hidden this parameter).However, if you really want to know...
5 Oct 2014 by Grasshopper.iics
The Simplest Graphics and Animation tutorial you ever wanted
8 Oct 2015 by Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
6 Apr 2016 by CPallini
I tried (on my Lubuntu Box) the following programs:import java.util.*;class Primes{ static java.util.ArrayList primos; static boolean comprobarPrimacidad(int n) { Iterator it = primos.iterator(); boolean primo = true; do { ...
3 Dec 2017 by Sergey Kizyan
In this article I'm sharing personal and common experience that were received during last years working with application stores from Google, Apple and Microsoft
8 May 2018 by JIANGWilliam
This is the first of three episodes to introduce considerations and techniques used for the throwable functional interfaces defined in my open-sourced library functionExtensions.
18 Oct 2019 by gggustafson
In an earlier article, a WebForm password generator was considered; this article presents the results of its implementation.
27 Nov 2019 by Akhil Mittal
In this article, we’ll publish the ASP.NET Core application to Azure App Service and Configure Jenkins on Azure before we move on to next steps.
22 Apr 2009 by Sojan P R
A simple introduction to JavaCC for beginners in parser development.
12 May 2010 by Michel Godfroid
Platform independence means that any program should be able to run on any machine where the framework is implemented. This is arguably the case for the Java platform. It was the subject of the original Sun-Microsoft lawsuit: The Microsoft implementation of Java, where Microsoft introduced a...
29 Jul 2010 by Dalek Dave
Oh dear, where to begin.Speaking good English would help.Begin sentences with a capital letter.The personal pronoun should always be a majuscule.Learn the correct usage of definite and indefinite articles.Use the correct punctuation.Spelling is very important.Once this has been...
10 Aug 2010 by anshulskywalker
Understanding of Example Based Machine Translation (EBMT) system and how to create your own using exisiting tools
9 Mar 2011 by Member 7739596
How can I convert a sound frequency into an audio file?Please give me some ideas on how to do this.
16 Mar 2011 by Nemanja Trifunovic
If you really don't want to use std::vector, for POD types[^] you can use realloc[^] to resize the array after removing an element.Of course, under the hood realloc is often copying the array and invokes pretty much the same "magic" as vector, so I don't know what you would really achieve...
6 Apr 2011 by dan!sh
There is no rule as such. It is merely out of needs or desire to learn. Sometimes, it is your job that forces you to learn new languages sometimes you want to learn new things.If you want to learn new technologies, get a book and start learning. Although be patient. It takes time to learn...
10 Apr 2011 by Sergey Alexandrovich Kryukov
It is not needed — not at all. Function overloading is only for convenience, just to allow same name for actually different methods. Compiler can tell one method from another just by looking at the parameters of the call, where possible.Formally, I answered this question fully....
18 May 2011 by #realJSOP
it's the same as doing this:Color back;if (minaSelec){ back = Color.RED;}else{ back = Color.LIGHT_GRAY;}
6 Jul 2011 by Christian Graus
What you 'know' is wrong. There's lots of design patterns, and they are not related to a specific languages. There's all sorts of ways to define patterns, but the classic is the GoF book. I notice that people in India/China/etc have been jumping on the idea of design patterns as a magic...
6 Jul 2011 by CPallini
They aren't design patterns, they are different families of design patterns, for instance, here[^] here you may find a rather huge list of behavioural patterns.Since different patterns address different problems, there isn't, generally speaking, a 'best pattern' while each patterns should be...
8 Jul 2011 by #realJSOP
This should explain it[^]