Home » Archives for Chryssa Aliferi » Page 4

Author Archives: Chryssa Aliferi

Chryssa is a Computer Science graduate from Athens University of Economic and Business. During her studies, Chryssa carried out a great variety of projects ranging from networking to software engineering. She is very keen on front end development especially on mobile technologies and web applications. She has worked as a junior Software Engineer in the telecommunications area and currently works as an Android Developer.

Android Cursor Example

In Android programming, storing data into a database is not a common practice, as we have other and most suitable methods to store our data, such as the SharedPreferences way. However, we do have a very strong tool, that can help our Android Application communicate with a database, and this is SQLite. SQLite is an Open Source Database for structured ...

Read More »

Android Bundle Example

As we have seen in our previous example Android StartActivityForResult Example, in Android, the Intent describes the activity to be executed. An Intent contains certain header, action and type, but also can contain data. The data of the Intent is described as a Bundle. The Bundle object is used to pass data between activities. This data can be retrieved from ...

Read More »

Android startActivityForResult Example

In Android, the startActivity(Intent) method is used to start a new activity, which will be placed at the top of the activity stack. It takes a single argument, an Intent, which describes the activity to be executed. However, sometimes we might want to get a result back from an activity when it ends. For example, you may start an activity ...

Read More »

Android TimerTask Example

In this example, we are going to see, how a java.util method, can help us deal with timer recurring tasks that are scheduled with either a fixed period or a fixed rate on Android. We will use the abstract class TimerTask. With the default fixed-period execution, each successive run of a task is scheduled relative to the start time of ...

Read More »

Android Calendarview Example

When we want to create an Android application that has an Android Activity inside of which we are planning to use a calendar, or if we want to make a simple calendar like application, we should consider in the first place Android Calendarview class. This class is a calendar widget for displaying and selecting dates. The range of dates supported ...

Read More »

JUnit Assertions Example

JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks which is collectively known as xUnit that originated with SUnit. The JUnit testing is done through assertions. The tests include assertions which are conditions that should be always correct. ...

Read More »

JUnit Annotations Example

JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks which is collectively known as xUnit that originated with SUnit. JUnit 4 has been updated, and on the latest version supports annotations for the testing methods. Annotations are a ...

Read More »

Android MediaPlayer Example

The Android multimedia framework includes support for playing variety of common media types, so that you can easily integrate audio, video and images into your applications using MediaPlayer APIs. Android MediaPlayer class can be used to control playback of audio/video files and streams. So, in this example, we will make a Media Player Activity that can play an mp3 audio ...

Read More »

Android Accelerometer Example

The Android platform provides several sensors that let you monitor the motion of a device. Some of these sensors are hardware-based and some are software-based. The Android platform supports three broad categories of sensors: • Motion sensors • Environmental sensors thermometers. • Position sensors Motion sensors are useful for monitoring device movement, such as tilt, shake, rotation, or swing. In ...

Read More »

Android VideoView Example

When we want to create an Android application that has an Android Activity inside of which we are planning to play a video file, we should consider in the first place Android VideoView class. The VideoView class manages and displays a video file for applications and can load images from various sources (such as resources or content providers), taking care ...

Read More »