Android is definitely an free mobile platform launched by Google in 2008 and ever-because it grew to become the widely used for individuals and developers all over the world. Android is Linux based multiprocess and multithreaded OS. Google’s Android Operating System isn’t restricted to phones but technology-not only to construct a DVR, a handheld Gps navigation, a music player etc.
Although Android platform is definitely an free and customizable, Android users and developers have grown to be habitual towards the constructs produced by Google for Android devices. Using these Android concepts is essential for developing a credit card applicatoin rapidly.
Key Concepts of Android are:-
Apps and APK Files
Views and ViewGroups
Layout XML Files
I’m providing you with an introduction to the Android key concepts. After getting a fundamental knowledge of Android’s key concepts you are able to go much deeper in to the many different topics.
Apps and APK Files
An Android application is definitely an Android Application. An application is packaged within an APK file i.e. Android application package. The APK file provides the compiled Java code along with other sources like images and texts for that Android application
An Android activity is really a Graphical user interface component. You are able to comprehend it like a window inside a desktop application. As cell phone screens are small, a task occupies the entire screen. Should you open multiple activities they are stacked on the top of one another. You can’t arrange activities alongside like that you can do with desktop home windows.
Activities are unique, focused actions that your user may take. Because it is hard to scroll, focus or click links on the small screen hence it’s suggested that the application display just one activity per screen. This can present probably the most relevant information towards the user and enables these to launch a brand new screen to acquire more information or click on the back button to see the prior activity. The screen can expose multiple tasks however it will help the consumer complete only one activity at any given time.
In Android, part is really a fragment of the total interface. Part takes only up area of the screen. Fragments are utilized within the activities. Fragments may also be used within different activities. Fragments contain Views and ViewGroups included.
View and ViewGroups
Android Graphical user interface elements enter into three groups i.e. Activities, Views and ViewGroups. Activities would be the home windows/screens. Views would be the individual Graphical user interface elements, just like a TextView which displays a text, a control button that users can click etc. ViewGroups are containers for Views. A ViewGroup really groups an accumulation of Views together. Views and ViewGroups could be nested in a activity or inside a fragment that is nested in a activity.
Layout XML Files
Activities, fragments and ViewGroups may use XML files to define their layout and contents. Design XML files tell which Graphical user interface components a task or fragment contains as well as the styling from the Graphical user interface components i.e. The dimensions, margins, padding etc.
In case your application requires conducting a function beyond its core abilities like opening a photograph, playing a relevant video or searching up a message then you need to discover whether something that may perform that function already exists within the OS or perhaps in another-party application. If so you’ll be able to get the advantage of that functionality using intents.
For e.g. In case your application accesses user contacts you’ll be able to use intent objects to produce the device’s existing Contacts application. This removes the programming duplication as well as accelerate anyone’s interaction using the device because the user does not need to learn again how you can give a contact for your application.
Android Widgets are really Graphical user interface components which may be displayed outdoors of the activity. For e.g. A weather widget which shows today’s weather conditions are proven on the majority of Android homepages. Widgets happen to be packaged and implemented included in an Android application. Also sometimes Views in Android are also known as widgets. For e.g. Many Graphical user interface components are put inside a Java package known as android.widget. Graphical user interface components aren’t just like a widget which could stick to the house screen of the Android device. Hence you’ll know the main difference between Graphical user interface components that you can use inside ViewGroups, Fragments and components that you can use inside ViewGroups, Fragments and Activities as well as inside Widgets and Widgets which could stick to the house screen from the Android device.
In Android, Services are background process which may be performed with an Android device even when no application is seen. Services don’t require a person interface. For e.g. Something can check an online server for updates or backup data every hour.
Android devices have numerous inbuilt sensors which you’ll access out of your Android applications. For e.g the inbuilt Gps navigation in smartphones is really a sensor. Therefore you will get accessibility Gps navigation from the inside your Android applications.
Check out this great website.