Of this fact Android when you write a desktop application, you are master of your own domain. Your run your main window and secondary Windows that are needed. From his point of view, you are your own world, taking advantage of the features supported by the system operating, but ignorant in great d any other programs that are running on the computer at the same time. If you unable to interact with other programs, it is usually through an API, such as the use of JDBC to communicate with MySQL or another database. When programming in Android, must be considered a series of concepts to perform a good development, described below: Actividades Activities applications that have graphical interfaces must be at least one kind of the Activity type, since this acts as what is commonly known as a form. The GUI elements are placed in an Activity. Services Services are what are commonly known as processes.
These will continue running even if There is no graphical interface to display the application. For example, when one has a program for playing music and minimizes it sound will continue listening since it will have created a Service responsible for the reproduction of sounds. Intents Attempts is a mechanism to communicate to different applications and Activities. Android is developed on the basis of existing applications, and code reuse is why this feature is so important. Content Providers Providers of content is the mechanism responsible for managing the information that is intended to endure.
Broadcast Recivers are used so that an application responds to a specific event in the system. For example. It can be a Broadcast Reciver in a program so that when the phone is running out of battery a message warning the user about its use. Things at your disposal thanks to ANDROID Storage Storage can package data files with your application, by things that cannot change, such as icons or as help files. You can also make a small space on the device itself, for databases or data entered by the user or the data needed for your application files. Network Network Android devices are generally prepared for the Internet, through a communication medium or another. You can take advantage of the Internet access to any desired level, from sockets in Java all the way to incorporate a Web Browser Widget based on WebKit on the application. Multimedia Android devices have the ability to play and record audio and video. Although details may vary from one device to another, you should consult the device to learn of their possibilities and then take advantage of the capabilities as it sees best, either to play music, take pictures with your camera, or use the microphone to the audio note taking. GPS Android devices often have access to location providers, such as GPS, which can tell your application where this your device in the face of the Earth. In turn, you can display the maps or take advantage of location data, such as tracking the movements of a device if the device has been stolen. Phone Services Services of telephone and, of course, Android devices are typically mobile phones, enabling the software to initiate calls, send and receive SMS messages, and everything what is expected of a bit of modern telephony technology.