Android mobile applications have the advantage of being deployed on mobile devices that have touch displays. This enhance the user experience and allows developers to design the user interface so it will be dynamic, easy to use and efficient. Despite this advantage, the display size and usability concepts (one golden rule is to have all […]
Category: Android
Android Tutorial (7) – How to debug the Android mobile application with LogCat
In computer science and especially in programming, things can go wrong easily. Even simple things, that you have done it before, can generate runtime exceptions that crash the application. Most of the time, the reason is the inability to think to all aspects every time you do something. And because this will not happen, the […]
Android Tutorial (6) – How to create and display a new form, window or activity
In this post we will see what are the basics for developing an Android mobile application that has multiple windows or activities. To do that, we need to know how to create and display a new form, window or activity (for the rest of the post we will use the Android vocabulary and call it […]
Android Tutorial (5) – How to create a new Activity class with the Manifest editor or without it
Behind any window or form in the Android mobile application there is an Activity instance. In order to develop a mobile application with multiple windows you must create, for each display, a new class that extends Activity class. In this post we will see how to create a new Activity programmatically or using the Manifest […]
Android Tutorial (4) – Procedural vs. Declarative Design of User Interfaces
Android mobile applications are relying on user interfaces composed on dialog windows, visual controls, 2D graphics and other multimedia elements for efficiency and usability. The Android platforms allows programmers to use two methods to design user interfaces: procedural or declarative. In this post we develop a simple Android mobile applications that will help to make […]
Android Tutorial – Overview and contents
The Android tutorial covers all important concepts that will allow a new programmer to learn how to develop mobile applications for the Android platform. The tutorial is written from a programmer perspective and dives after few topics into simple and do-by-example applications which are easy to follow. Despite the apparently simplicity, each topic highlights important […]
Android Tutorial (3) – How to create, run and read your first application, Hello World
In this article we will see how to use the Eclipse IDE and the ADT (Android Development Toolkit) Plugin for Eclipse to create a very simple Android mobile application, the classic Hello World !. Despite its simplicity, the application just prints a message on the screen, its is very important to understand it, because its […]
Android Tutorial (2) – Applications key concepts, activities and resources
In order to understand the Android application architecture you need some basic knowledge regarding Android applications key concepts. Understanding these elements will allow you to control: application components application lifecycle application resources In this post are described all these key concepts in order to highlight their role, utility and importance. Other posts will describe in more […]
Android Tutorial (01) – Setting the development environment
Android is an open source software toolkit created by Google and Open Handset Alliance. Initially developed for mobile phones, it has become a major application platform for a wide range of mobile devices. The scope of this post is to summarize the steps needed to set the development environment and to start learning and developing […]
How to Consume Web Services from Android Applications Using kSOAP2
Android API does not provide support for Web services. Thus, Web services are consumed using a third-party libraries. One example is kSOAP2 (http://ksoap2.sourceforge.net/), optimized for Android.
