Programming for Android: how to start creating your own applications and games?
Programming is one of thosedirections, where everyone can feel himself as a creator. Usually it means the development of applications for personal computers, units of production equipment or simply for electronic homemade products. But with the proliferation of touchscreen mobile devices, programming for Android, iOS, or another system shell of this type is becoming more popular. Well, I must admit, the occupation is promising. Therefore, within the framework of the article, we will consider how to start programming with Android from scratch. What features are there? What language is used?
Before you write programs yourself, you need to learn all the necessary components for this:
- Select the development environment. In the language we will stop in detail, as, indeed, and on the software products, where applications will be created. But first, let's talk a little about development environments. Conditionally they can be divided into three components:
To create programs, it should be noted that nowit is difficult to put forward an idea that would not have been previously worked out. Therefore, if there is a problem or simply in the absence of knowledge, it is necessary to correctly formulate the misunderstanding that has arisen and turn to more experienced programmers. They can help in the creation of programs by constructive advice.
In what language are the programs written?
Choose a typical development environment
As the most serious playersConsider Eclipse and the Android SDK. They are both free. In general, it should be noted that these development environments are serious competitors, and each of them has a number of strengths and weaknesses. Each of them should be studied. Separately, let us just dwell on one aspect of the Android SDK - the emulator. It is a program that poses as a phone or tablet, which works on the basis of "Android." The emulator works quietly on an ordinary computer and looks like a standard mobile device on the desktop. There is a unique feature - it is controlled by the mouse and keyboard, and not by a finger. In the emulator you can test the application for various screen extensions, as well as on different versions of the mobile operating system "Android". Therefore, no matter how strange it may sound to you, but during the development of applications aimed at Android, to have a phone is not necessary.
What do you need to develop your application?
Graphical development environments
This option is suitable for those who do not know aboutprogramming in general, but wants to get its application here and now. First, you should familiarize yourself with the description and capabilities of the graphical development environment. So, some can only place the simplest elements and attach to them a minimal functional. It is better not to use such resources, because with their help it will be difficult to understand the logic of work and create a developed end product. It is desirable to make a selection for such parameters:
- Presence of the intuitively clear interface.
- Use of understandable work logic.
- The ability to create elements in the graphic and code modes.
- Availability of documentation for working with the development environment and support forum.
Online Development Environment
We hope that the questions on the first steps towardsthe creation of their programs is no more. If you decide to seriously engage in programming, then you can use the special literature. For example, the book "Programming for Android" Hardy Brian. Of course, this is not the only good work, but with something you need to start. And with the introduction to this manual, you can start the path to success.