Click here to Skip to main content
15,888,610 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 

17 Nov 2013 by Javin Paul
Memory Mapped IO is one of the fastest IO options available for Java program. If you are writing latency sensitive application, where IO can skew your numbers, then using MemoryMappedByteBuffer is a good option.
24 May 2014 by Anurag Saini
A Java program to translate arithmetic expression to three-address codes
21 May 2014 by B. Clay Shannon
A potentially-exhausting-but-not-exhaustive list of shortcut key combinations to use in Android Studio
5 Feb 2018 by Yesy
Provide a multiple-async-waiting operation management pattern for Android
13 Apr 2015 by Keerthi_Kumar_N
Configuring the web.xml for any Java/J2ee project using a programmatic approach
14 Apr 2015 by Keerthi_Kumar_N
An alternative way of configuring web.xml using Java
17 Jan 2012 by Lodewijk Pool
A quick and easy way to direct Java System.out to File and to Console.
2 Feb 2012 by Member 3896609
try{ FileOutputStream fout= new FileOutputStream("stdout.log"); FileOutputStream ferr= new FileOutputStream("stderr.log"); TeeOutputStream multiOut= new TeeOutputStream(System.out, fout); TeeOutputStream multiErr= new TeeOutputStream(System.err, ferr); ...
8 Dec 2015 by JinWenQiang
An instance of Floodlight Controller
2 Dec 2015 by Anele 'Mashy' Mbanga
Explore your Genymotion Device folders
2 Nov 2014 by Dominick Sidiropoulos
A way to access files on HFS+ filesystems that side-steps alltogether the tar-pit called "windows-drivers-from-hell (tm)".
4 Jun 2014 by B. Clay Shannon
Wherein the steps to add menu items, and respond to them being selected, is delineated
12 Sep 2013 by Shubhashish_Mandal
Add Save functionality in ReportCat, a Java print library.
9 Jul 2016 by Bastian Eicher
CompositeJKS allows you to load a custom Java KeyStore into the SSL Context without replacing the system CA list.
8 Oct 2013 by Praveen Maniyath
Code for implementing a click event for button in Android.
20 May 2012 by abhinav_soni
This article provides alternative to Java's Proxy class with bytecode manipulation.
9 Jan 2013 by WebMaster
Customize EditText in Android with has lines inside.
28 Oct 2015 by Ngo Tuong Dan
Android OS is a multitasking operating, there are a lot of running background process, these process make your device will be slower.
13 Jun 2013 by Deepali Dhingra
This tip explains how to create a to do or Shopping List app with listview, sqlite, dialog and customadapter
13 Jun 2013 by Deepali Dhingra
This tip explains how to create a to do or Shopping List app with listview, sqlite, dialog and customadapter.
8 Jul 2011 by Ivan Budiono
Class to access a .NET Web Service with an Object parameter or even an array of objects.
20 Feb 2013 by Khushboo Kaur
This article would help you develop the Index Bar for Android across all screen resolutions.
18 Apr 2014 by Garvit Arya
It is a personalized web Browser that can open a certain website directly.
10 Apr 2015 by ShareIdeas
This Android project can get cards number leveraging the principle of digital image.
7 Apr 2021 by AmrDeveloper
How to use CodeViewAndroid Library in many projects features
11 Jan 2022 by AmrDeveloper
Create Android Code Editor app with CodeView that supports auto indenting, finding matching and replacing keywords
13 Jun 2014 by Right Handed Monkey
This is a tutorial for accessing sqlite databases in Android in a thread safe manner. If you download the library code, please bookmark, comment on, or rate the article - it helps out tremendously.
11 Aug 2013 by huyletran
Make edit text with specified length, delete icon
12 Feb 2014 by Sukhpal Singh JNU Jaipur
JSON parser classes creator tool for Android
22 Jun 2018 by Azim Zahir
This is a demonstration of a Torch application built using Android.
4 Sep 2013 by Satyam A.
Here we see how Android Activity LifeCycle works.
27 Sep 2013 by Satyam A.
How to create a custom dialog box in Android.
17 Apr 2013 by Yildirim Kocdag
Play a media file (wav, MP3, etc) in the Assets folder.
17 Apr 2013 by Yildirim Kocdag
This article helps you to set your Android device ringer mode to silent and normal, and check the last mode.
21 Aug 2014 by Little Carl
Library for deserializing the Ksoap2 response .
6 Oct 2013 by Satyam A.
How to use SharedPreference to store information in key-value pair in Android
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
27 Sep 2010 by Frozen Rain
There is a simple way to consume WCF from clients which do not support Microsoft's SOAP implementation. It is achieved by using REST to accept data and convert REST calls to SOAP calls with the PHP Framework.
23 Nov 2009 by Riaan Lehmkuhl
/* * get a hook on the buttons (> or > or
14 Jan 2011 by Klaus Stefan Gerber
I was trying to consume a web service, creating the Java classes using Apache CXF and the command line wsdl2java tool
27 Oct 2012 by NoSuchUserAccount
For absolute beginners in Java
27 Nov 2012 by Nagy Vilmos
A simple method to parse an argument list as a name value pair
5 Jan 2014 by User 10259217
Handy bridge between ASP.NET webservices and Java
28 Apr 2014 by Sergey Zubarev
AsynchronousSocketChannel concurrent writes
14 Sep 2015 by Nandlalaji Singh
Spring itself is vast. It has lots of features. But AOP is a really cool and powerful feature. This tip is for Spring developers who don't use AOP. This gives a view of AOP.
20 Apr 2015 by emerR46
Show an option when a selected bar chart is clicked in from screen.
24 Aug 2013 by pasztorpisti
Avoid accidental virtual method calls in C++ constructors/destructors, Java constructors and be careful with them in C#!
27 Aug 2013 by huyletran
Create a new bitmap by combining many bitmaps.
5 Nov 2014 by Arkadeep De
Bluetooth Desktop Locker with Android Application
2 Oct 2014 by Rapuru Amarendra
This tip presents an example of popups in responsive using bootstrap
28 Feb 2016 by Klaus78
In this tip, we explain the basics of functional programming in Java 8.
10 Dec 2015 by JinWenQiang
Get started with your own SDN (Software Defined Network) simulation network
30 Sep 2012 by Arpit Mandliya
Explains the Builder design pattern in detail with example.
19 Oct 2016 by O.Nasri
This tip shows you how you can implement a contact form in C#/ASP.NET MVC
26 Mar 2017 by Danilow
Simulating C# event handlers in Java
28 Aug 2016 by Mohamed.Faried
Simplifying Java events
15 Dec 2010 by Lars P.Wadefalk
I have sometimes wondered if the 'with' statement would work in C/C++, just like in pascal. Meaning that it would in it's nearest scope automatically recognize class/struct members for the ones mentioned with a . or maybe -> operator.Maybe something like:TestClass* tc;float...
21 Dec 2012 by skprasadu
This tip shows how you can create stubs for webservices in Java using Maven
25 Jun 2012 by csanuragjain
Case converter which runs as a background service and can convert cases fro uppercase to lowercase or vice-versa.
21 Oct 2019 by hexgear
Chalba is an open source hackable load testing tool. Chalab is inspired from jmeter, gatling, grinder like tool.
1 Apr 2013 by Melih Mucuk
Checking location services are enabled or disabled on android phone.
30 Dec 2012 by WebMaster
This code snippet checks whether network is available on an Android phone.
6 Mar 2014 by Dan Mihajlov
How a bad constant can cause a security breach
24 Feb 2022 by Shmuel Zang
Simple Java helper class to print colored text in console window.
23 Dec 2014 by Dominique Gilleman
How to handle (load/save) only a part of an aggregate domain model with composition
23 Apr 2012 by abhinav_soni
Renders JavaScript and CSS from server based on the user's system.
20 Apr 2016 by Nilesh Khaire
Log4j trick to generate new log file every time you run the application
15 Feb 2016 by Jose V. Huerta
Android APP to web page (POST parameters)
2 Mar 2016 by Mahmoud_Gamal
Connection pool java without ConnectionContext
24 May 2016 by jowettp
How to use the programmatic interface of LibreOffice (called the UNO API) to load, manipulate and save documents
9 Sep 2016 by dileep
Copy the modified files from one directory to another
22 Apr 2015 by CrawlScript
WebCollector is an open source web crawler framework based on Java. It provides some simple interfaces for crawling the Web, you can setup a multi-threaded web crawler in less than 5 minutes.
4 Nov 2020 by AmrDeveloper
How to create a Code Editor Android Application for Go Programming Langauge using CodeView Library
14 Oct 2014 by Uros Calakovic
Use the LibGDX Java gaming framework and JRuby to create a simple 2D game for desktop
15 Oct 2015 by Andy Feng
Create a simple Http Server using Java SDK and process GET/POST requests
24 Oct 2015 by Andy Feng
Create a simple and flexible HTTPS server using JDK to process GET/POST requests
29 Apr 2014 by Uros Calakovic
Create Groovy classes at run-time and use them from Groovy or Java
17 Apr 2014 by SaahilPriya
Creates an XML File, and extends its Node if it already exists
19 May 2014 by B. Clay Shannon
How to create an Android Activity and its associated Layout file, then invoke (intent) them from another Activity
21 Jun 2014 by AjithKp560_
Creating a simple animation using sequence of images
17 Dec 2018 by Benktesh Sharma
Tips for tracking progress on multiple async tasks in Android
24 Mar 2017 by Datalogics Inc.
Options to turn Java code into executables that can be used from a programming language
4 May 2016 by shash kant
How to develop a custom App Chooser to show SMS and Whatsapp in Chooser dialog
24 Sep 2012 by valeriyabobko
A simple example of using custom tile server for Android maps using OSM (Open Street Map) library
13 Sep 2013 by Ahmed Alaa El-Din
I customized StickyGridHeaders to work on any data and group by any data.
18 Oct 2017 by VISWESWARAN1998
CyberGod KSGMPRH is an open source antivirus which is designed to work under Windows operating system. It comes with a DOS Engine helping developers to customize the anti-virus engine as they please.
18 Oct 2013 by Vivek Goyal
Debugging Java JNI and C++ code in COM based application
20 Apr 2015 by Mani Murthy
Provides a brief overview to developing Android application for developers who are from the ASP.NET background
22 Apr 2015 by Mani Murthy
Provides a brief overview for developing Android application for developers who are from the ASP.NET background. This is the second part.
11 Feb 2013 by Arpit Mandliya
It explains decorator design pattern in detail with example.
9 Jul 2015 by Kevan Hadvani
This is my humble effort to explain so called complex Design Patterns to explain as simply as possible
17 Apr 2015 by JoCodes
Creating Simple Android Chat Bubble or Chat UI Layout
17 Jul 2011 by csanuragjain
How to determine the IP address for a website in Java.
25 Jun 2015 by Salar Hafezi
Through this tip, we develop a Java class named TimeUtil to extend Java's built in Date class so we can work with local times in our application.
26 Apr 2020 by AjithKp560_
Java Implementation of Diffie-Hellman Key Exchange Algorithm
19 Nov 2015 by Ngo Tuong Dan
Using JTDS - SQL Server and Sybase JDBC driver to access SQL Server from Android APP