5. Libraries Android Libraries implementation Android includes a set of C/C++ libraries used by various components of the Android system. These capabilities are exposed to developers through the Android application framework.
18. Difference XML Based UI UI created within Application 1. It is easy to create as one can create UI using design tool. No development skill required for this. 2. This helps developer to create consistant UI. If property of any component is modified in XML then same changes will be reflected everywhere, where component is used. 1. This require testing every time user add any component if developer makes any changes. 2. Developer need to dig into the code and need to find all usage and replace and test every case as he/she may forget to keep update to same properties everywhere. So its time consming process for developers.
24. Broadcast Receiver A broadcast receiver is a class which extends "BroadcastReceiver" and which is registered as a receiver in an Android Application via the AndroidManifest.xml (or via code). This class will be able to receive intents via the sendBroadcast() method. "BroadCastReceiver" defines the method "onReceive()". Only during this method your broadcast receiver object will be valid, afterwards the Android system will consider your object as no longer active. Therefore you cannot perform any asynchronous operation. AndroidManifest.XML <receiver android:name="MyPhoneReceiver"> <intent-filter> <action android:name="android.intent.action.PHONE_STATE"> </action> </intent-filter> </receiver>