Home » Archives for Byron Kiourtzoglou » Page 3

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.

How to convert String to InputStream in Java

In the previous tutorial, we discussed how can we convert an InputStream into a String. In this tutorial we are going to see the opposite direction. So, we are going to covert a String into an InputStream. When you have a very big String that you want to process it incrementally, or a small portion of it at a time, ...

Read More »

Android WebView Example

In Android, you can use the WebView component in order to present markup pages from URL or custom html markup page (short of like a browser, but in your own application…). In this tutorial we are going to create an use two Activities. The main Activity will contain a button. When the user presses that button, another activity launches which will contain a ...

Read More »

Android GridView Example

One of the most usefull layouts in Android is the GridView. GridView organizes the items of your screen in a two-dimensional array (a grid…). In this tutorial you are going to see two examples of GridView. In the first part we see the normal use of GridView. In the second part we create our own customized GridView. For this tutorial, ...

Read More »

Android Toast Example

In Android you can use the Toast component to display short pop up messages to the user that automatically disappear in few seconds. In general a Toast message is quick way to debug you’re application, for example to check whether a button is working properly or not. In this tutorial we will show how to display a regular Toast message. Additionally ...

Read More »

Android Prompt User Input Dialog Example

In Android you can use the AlertDialog component, and you can customize it to your own User Interface so it can have any use you want. In this tutorial we are going to create an AlertDialog that can accept text input for the user. As we know there is no such thing by default. That means we have to make ...

Read More »

Android Spinner (Drop Down List) Example

In Android it’s very easy to create Drop Down Lists using the Spinner component. In this tutorial we are going to see how to set up and display a Spinner. There are two ways you can populate the Drop Down List with options. The first way is by creating a hard coded string-array resource in xml form. The second way is ...

Read More »

Android ToggleButton Example

Sometimes you may want the user to select whether he wants a specific action or operation of your Android Application to be switched on or off. In Android, this is very easy using the ToggleButton component. A ToggleButton has simply two states : ON or OFF. In this tutorial we are going to see how to set up and display ToggleButtons ...

Read More »

Android Radio Buttons Example

One of the easiest and most common ways to accept user input in an Android Application is the Radio Button component. Usually, we want radio buttons to be in groups, representing a set of options. In a group, when a radio button is selected all the other options in this group are automatically deselected. But you can also choose to have interdependent radio buttons in your application, ...

Read More »

Android Password Field Example

In this tutorial we will see how you can use a normal EditText component in order to take a password as an input. Additionally we’ll see how to create a custom Label with some text in it, as well as a simple Button. When the user press the button, the password will be displayed in a toast message.     ...

Read More »

Displaying Graphical Elements with OpenGL ES

In this example we shall show you how to display graphical elements with OpenGL ES on Android. First off, 3D graphics happens in the Cartesian Coordinate System. That means that the coordinate system used has three dimensions. X, Y and Z. Traditionally X goes from left to right, Y from bottom to top, and Z from me into the screen ...

Read More »