34) When dealing with multiple resources, which one takes precedence?
Assuming that all of these multiple resources are able to match the configuration of a device, the ‘locale’ qualifier almost always takes the highest precedence over the others.
The ANR dialog is displayed to the user based on two possible conditions. One is when there is no response to an input event within 5 seconds, and the other is when a broadcast receiver is not done executing within 10 seconds.
AIDL, or Android Interface Definition Language, handles the interface requirements between a client and a service so both can communicate at the same level through interprocess communication or IPC. This process involves breaking down objects into primitives that Android can understand. This part is required simply because a process cannot access the memory of the other process.
28) How can the ANR be prevented?
One technique that prevents the Android system from concluding a code that has been responsive for a long period of time is to create a child thread. Within the child thread, most of the actual workings of the codes can be placed, so that the main thread runs with minimal periods of unresponsive times.
20) Which elements can occur only once and must be present?
Among the different elements, the “and” elements must be present and can occur only once. The rest are optional, which can occur as many times as needed.
43) What are the core components under the Android application architecture?
There are 5 key components under the Android application architecture:
– services – intent – resource externalization – notifications – content providers
46) Do all mobile phones support the latest Android operating system?
Some Android-powered phone allows you to upgrade to the higher Android operating system version. However, not all upgrades would allow you to get the latest version. It depends largely on the capability and specs of the phone, whether it can support the newer features available under the latest Android version.
GPRS is General Packet Radio Service which works on mobile network with the help of IP transmissions. GPRS provides the transmission of IP packets over existing cellular networks. It provides you internet services on mobile.
They are many depend upon the application. SOAP and REST web services are used but RESRful is more common now.
Give a name in name field -> select target API from the list -> enter the size -> select the required skin section -> click on create AVD -> select the required AVD -> click on start button -> launch it
Sending message is known as MO (Message originate) and receiving the message is known as MT(Message Terminate)
16) What do you think are some disadvantages of Android?
Given that Android is an open-source platform, and the fact that different Android operating systems have been released on different mobile devices, there’s no clear cut policy to how applications can adapt with various OS versions and upgrades. One app that runs on this particular version of Android OS may or may not run on another version. Another disadvantage is that since mobile devices such as phones and tabs come in different sizes and forms, it poses a challenge for developers to create apps that can adjust correctly to the right screen size and other varying features and specs.
Adb is short for Android Debug Bridge. It allows developers the power to execute remote shell commands. Its basic function is to allow and control communication towards and from the emulator port.