Interview Question for Experience Level 1. What is Application? The Application class in Android is the base class within an Android app that contains all other components such as activities and services. The Application class, or any subclass of the Application class, is instantiated before any other class when the process for your application/package is created. 2. What is Context? getApplicationContext() - Returns the context for all activities running in application. getBaseContext() - If you want to access Context from another context within application you can access. getContext() - Returns the context view only current running activity. getActivity() - R eturns the Activity the fragment is associated with. 3. What is Armv7(Advanced RISC Machines - RISC(Reduced Instruction Set Computer))? There are 3 CPU architectures in Android. ARMv7 is the most common as it is optimised for battery consumption. ARM64 is an evolved version of...
Posts
Showing posts from December, 2018