Home » Archives for Byron Kiourtzoglou » Page 5

Author Archives: Byron Kiourtzoglou

Byron is a master software engineer working in the IT and Telecom domains. He is an applications developer in a wide variety of applications/services. He is currently acting as the team leader and technical architect for a proprietary service creation and integration platform for both the IT and Telecom industries in addition to a in-house big data real-time analytics solution. He is always fascinated by SOA, middleware services and mobile development. Byron is co-founder and Executive Editor at Java Code Geeks.

Parsing XML with SAX

In this tutorial we are going to see how can we parse an XML file using the SAX parsing method. The SAX specification reads through the XML Document and uses events and callback handlers to perform the parsing. It’s a bit more challenging than other methods, DOM for example, but it’s flexible and much more memory efficient. The basic steps ...

Read More »

Launching new activities with intents

In Android you will frequently come up will a need to launch a new Activity from inside your own Application. This is important when you want your Application to have multiple Activities. It is also very useful when you want to use an existing Activity in your system. New Activities are usually launched using Intents.           ...

Read More »

Android Text-To-Speech Application

In this tutorial we shall show you how to use the TextToSpeech class to convert Text-to-Speech in Android. The idea is straightforward. We want to type text in an text area and then press button to transform it to speech. You can actually listen to it when you launch the built in application of Android.           ...

Read More »

Reverse Geocoding with Yahoo API

A very popular group of services in smartphones are the Location Based Services. Geocoding is the process that finds the geographic coordinates ,in latitude and longitude, from other geographical data, like street addresses or postal codes. In this tutorial we are going to talk about reverse Geocoding. That is the process that uses the user’s coordinates and finds out street ...

Read More »

Ring the bell example

In this tutorial we are going to show you how to use the Terminal bell in a Java program. You might want to use the bell in terminal based apps to get the user’s attention when something important happens to the program. So in order to ring the bell in a Java Application you have to: Print the ASCII code ...

Read More »

Print shapes example

In this tutorial we are going to show how you can print simple shapes in paper using your printer. We are going to use some basic classes from AWT. The basic steps we go through this example are: Create a custom class that extends Component and implements Printable Override the paint method of Component class. Inside that method create a ...

Read More »

Flipping a Buffered Image

With this example we are going to show you how to perform one of the most basic graphics transformations. When you perform flipping of an image you simply rotate the image. In short in order to flip an image one should take the following steps: Load an image from a source using Toolkit.getDefaultToolkit().getImage method Use an ImageObserver to monitor the loading of the image. ...

Read More »

Converting a Colored Buffered Image to Grayscale

With this tutorial we are going to see all that is necessary in order to load a colored image from a source and convert it to grayscale. Basically, to convert a Colored Buffered Image to grayscale one should take the following steps: Load an image from a URL using Toolkit.getDefaultToolkit().getImage method Use an ImageObserver to monitor the loading of the image. When the image ...

Read More »

Blurring a Buffered Image

In this tutorial we are going to see how can you load an image from a source  and blur it. This is one of the most basic graphics effects that you are going to use when you begin with image processing. In short, to blur a Buffered Image you simply have to take the following steps: Load an image from ...

Read More »

Get and set pixels on a Buffered Image

In this tutorial we are going to show you how to set and get the RGB value of each pixel of a Buffered Image. This is particularly useful when you want to perform several operation on images based on the RGB values of each individual image. Or if you want your UI to interact in some way according to the values of the ...

Read More »