Android is an open source operating system that is based on Linux kernel based system mainly used in phones, cell phones or tablets to run and create basic and advanced apps.
It is a toolset that helps the developers to write apps in the Android-enabled environment. This SDK toolkit contains the graphical interface that helps to make the developers to test android application’s and debug their codes.
These following 4 key components are key components to make the android architecture complete. • Linux Kernel • Libraries • Android Framework • Android Applications
The Android framework is an important aspect of the Android architecture that allows the developers to find the classes and methods that are needed in writing Android applications.
AAPT stands for Android Asset Packaging Tool. It has the ability to make the application developers do operations on zip-compatible archives like opening it, extracting it and viewing its content.
The Emulator is like a prototype of the actual device, it works like the device and we can test, code, debug and use it as a device. It is safe to test the application in an emulator in the early design phases.
Activity Creator is made up of the shell script that is needed to create the file structure in the Android IDE to write codes in it, it is the first step of the creation of the project.
Activity is like a window or tab that is in the user interface that is used to get input from the user in the form of dialogue boxes as a user interface or to show the output of the previously taken data. It may not always be in the form of the user interface.
Intents are used to show the status of the particular application in the form of notification message that is available in the Android-enabled device. User can respond to the intents.
Activities are under control of the user one can terminate it or open it anytime he wants but the services designed behind the scenes it works in the background and it run continuously and independently if certailn activities are running or not it always works in the background.
These are the min and essential items that need to present while making the project. • AndroidManifest.xml • build.xml • bin/ • src/ • res/ • assets/
While creating the project the design of layouts are placed in the XML files and other files are placed in the source file that makes the GUI definition setting of the project compatible with the standard level.
The name itself defines it, the containers contain the objects and widgets together, if needed it holds the labels, fields, buttons or even child containers.
We can set orientation can be set using the set Orientation() method which checks the Linear layout is represented as a row or column and sets its values as HORIZONTAL or VERTICAL.
Developers can write and register apps in the market that can be run on any android device specifically, the apps made in the android are the most used application in the market, so the developers are making apps in the Android and publishing it in the market so people can download it and use it.
Android has got many versions of it as an open source platform on many different devices. There is no clarification done that how the application will adapt each version and upgrades of it, one app may or may not run in different devices. Another disadvantage is about the size of the Android devices, many devices come in many different sizes, the developers have the challenge to develop the application in such form that it can adapt the size of the device it is installed in.
ADB stands for Android Debug Bridge that allows the developers to execute the remote shell commands. Its main use is to control the communication towards and from the emulator ports.
• Active– IF the activity s running in the foreground. • Paused – If the activity is running in the background but it is still visible. • Stopped– If the activity is not visible or been occupied by another activity. • Destroyed– If the activity is killed or terminated it is in a destroyed state.
ANR stands for Application is not responding, this message is shown to the user when the application is been unresponsive for the longer period of the time.
The and elements are occurred once and must be present, others are optional they can occur as many time as they want.
The Escapes Characters are denied by the double backslashes before the character like ‘\\j’.
Permissions are used in the application to protect data and code, with our permissions the codes could be compromised and can get defects in the functionality in the application.
Intent filters are used to distinguish which component can respond to which intent. There can be one or more filter applied to intent as per activity or service.
• Entire lifetime – This activity happens between onCreate and onDestroy • Visible lifetime – This activity happens between onStart and onStop • Foreground lifetime – This activity happens between onResume and onPause
The onStop() method is invoked when the activity is no longer visible to the user or another activity has taken over that activity.
Yes, There are two cases where other qualifiers in multiple resources take precedence over the locale, the first one is MCC(Mobile Country Code) and the second one is MNC(Mobile Network Code)
There are main 4 possible states: • Foreground activity • Visible activity • Background activity • Empty process
There is one method that prevents the ANR, with using child thread we can place the code in the child thread, so the actual coding can work in the child thread and the main thread can run with minimal chance of being unresponsive for the longer periods of the time.
Dalvik is the place where all the applications run, it serves as a virtual machine. Using dalvik, one device can work with multiple virtual machines efficiently with proper memory management.
This file declared in the root directory. It is essential for every a[pplication. this file contains all the information that the android os must now about the project before coding is executed.
Mobile apps and websites have changed the way we live our lives, right from the way we work to the way we run business, create content, and find entertainment! With the rapid advancement in technologies such as IoT and wearable devices, mobile developers need to keep expanding their skills and […]
A lot of final year students and graduates looking for placements in Android Application development are curious to know about android interview questions what employers ask in interviews. At times subject matter technical Interviews are not just restricted to the subject but employers also check the candidate’s fundamental knowledge, ability […]
Innumerable mobile applications are being rapidly increased since its birth so there are all the possibilities that your application might just go unnoticed. Developing a mobile application is not only about getting things done from your programmers but these applications should also be organized, strategized, and designed to satisfy the […]