Android
Android Architecture ================================== 1. Linux Kernal 2. Hardware Abstraction Layer 3. Native C/C++ Library along with ART 4. Java API framework 5. System Apps Application components ======================= 1. Application components are the essential building blocks of the application, 2. This components are loosely coupled from the manifest file, 3. AndroidManifest.xml describes each component of the application and how they interact 4. Basic Components : Activities,services,broadcastreciver,contentproviders,Notifications 5. Additional components: Fragments,views,Layouts,resources and manifest. Activities : ============ 1. Activity represents a single screen with an user interface. 2. One app can contain any number of activities all activities must be registered in the androidmanifest.xml file 3. To create an Activity we must create a class that Extends AppCompatActivity and overide onCreate() method Syntax: Class MyActivity Extends Appco...



Comments
Post a Comment