Describe the APK format.
The APK file is compressed the AndroidManifest.xml file, application code (.dex files), resource files, and other files. A project is compiled into a single .apk file.
What is an action?
A description of something that an Intent sender desires.
What is activity?
A single screen in an application, with supporting Java code.
What is intent?
A class (Intent) describes what a caller desires to do. The caller sends this intent to Android's intent resolver, which finds the most suitable activity for the intent.
How is nine-patch image different from a regular bitmap?
It is a resizable bitmap resource that can be used for backgrounds or other images on the device. The NinePatch class permits drawing a bitmap in nine sections. The four corners are unscaled; the four edges are scaled in one axis, and the middle is scaled in
both axes.
What languages does Android support for application development?
Android applications are written using the Java programming language.
What is a resource?
A user-supplied XML, bitmap, or other file, injected into the application build process, which can later be loaded from code.
How will you record a phone call in Android? How to get a handle on Audio Stream for a call in Android?
Permissions.PROCESS_OUTGOING_CALLS: Allows an application to monitor, modify, or abort outgoing calls.
What's the difference between file, class and activity in android?
File - It is a block of arbitrary information, or resource for storing information. It can be of any type.
Class - Its a compiled form of .Java file . Android finally used this .class files to produce an executable apk
Activity - An activity is the equivalent of a Frame/Window in GUI toolkits. It is not a file or a file type it is just a class that can be extended in Android for loading UI elements on view.
What is a Sticky Intent?
sendStickyBroadcast() performs a sendBroadcast (Intent) that is "sticky," i.e. the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver (BroadcastReceiver,
IntentFilter). In all other ways, this behaves the same as sendBroadcast(Intent).
One example of a sticky broadcast sent via the operating system is ACTION_BATTERY_CHANGED. When you call registerReceiver() for that action -- even with a null BroadcastReceiver -- you get the Intent that was last broadcast for that action. Hence, you can use
this to find the state of the battery without necessarily registering for all future state changes in the battery.
分享到:
相关推荐
"Android面试题及答案" Android面试题及答案是Android开发者的必备知识,涵盖了Java、C/C++、Android操作系统、面试题等多方面的内容。 1. Android手机操作系统的四层架构 Android手机操作系统的四层架构分别是:...
【Android面试题大全及答案】 在准备Android面试时,了解并掌握关键知识点是至关重要的。以下是一些面试常问的问题及对应的答案: 1. **Android DVM与Linux进程的关系** - DVM(Dalvik虚拟机)是Android系统中...
### 全面的Android面试题及答案解析 #### 1. Android DVM的进程与Linux的进程、应用程序的进程是否为同一概念? - **解答**:DVM(Dalvik Virtual Machine)是Android平台上用于执行应用程序代码的一种轻量级...
以下是一些关键的Android面试题及相关的知识点解析: 1. **Android DVM与Linux进程的关系** - DVM(Dalvik Virtual Machine)是Android早期使用的虚拟机,每个Android应用在自己的进程中运行,拥有独立的DVM实例。...
### 百度Android开发面试题解析 #### 1. Android DVM、Linux 进程与应用程序进程的关系 在Android环境中,DVM(Dalvik虚拟机)是为Android平台设计的虚拟机,每个Android应用都在其自己的进程中运行,并拥有独立的...
### Android面试题库知识点解析 #### 一、Android版本历史 1. **“姜饼”代号**:指的是Android 2.3版本,这一版本带来了性能优化和UI改进,包括更快的网页浏览速度、增强的电源管理和全新的键盘设计。 2. **...
根据给定的文件信息,以下是对其中提及的关键知识点的详细解释: ### 内存回收机制 ...以上知识点涵盖了Android开发、Java编程基础、数据库事务处理等多个方面,是Android开发面试中常见的考察点。
标题“Android开发笔试题及答案”和描述“Android开发笔试题及答案”表明,本文内容主要是关于Android开发领域的技术性笔试题及对应的答案。这些问题涵盖了Android开发的不同知识点,如Java I/O流、编程基本概念、...
【Android面试知识点详解】 1. **Android DVM与Linux进程的关系** 在Android系统中,每个应用程序都在自己的Dalvik虚拟机(DVM)中运行,每个DVM实例对应于Linux中的一个独立进程。这意味着,从某种程度上讲,...
### Android面试题知识点详解 #### 一、Java IO流分类及应用场景 - **知识点概述**: - Java的`java.io`包提供了多种用于输入输出的流类,这些类可以根据功能、数据类型等不同标准进行分类。 - 按功能分类主要有...
智乐面试题 职位是测试 在这个资源中,我们可以总结出以下几个重要的知识点: 1. 公司简介:Gameloft是一家全球游戏产业的领导者,已经为众多玩家创作并发行了大量的视频游戏。Gameloft的游戏遍及全球任何角落,...
### 百度Android开发面试题解析 #### 1. Android DVM 的进程和 Linux 的进程,应用程序的进程是否为同一个概念? **知识点解析**: - **DVM (Dalvik Virtual Machine)**:每个 Android 应用程序都在自己的进程中...
### Android招聘面试题解答 #### 1. Android DVM 的进程和 Linux 的进程...通过以上分析可以看出,Android 招聘面试题涵盖了从基础概念到高级主题的各种知识点,面试者需要对这些内容有深入的理解才能给出准确的答案。
Android面试题则更多地面向移动应用开发领域的求职者,尤其是那些专注于Android平台的开发者。在面试中,应聘者可能会被问及Java或Kotlin编程语言知识、Android SDK的运用、UI设计原则、多线程编程、内存管理、数据...
【Android测试知识点】 1. **Android布局**:Android中常用的五种布局包括FrameLayout、RelativeLayout、LinearLayout、...这些知识点对于Android开发者来说至关重要,尤其在面试和实际开发中都会频繁遇到。
3. **练习题和解决方案**:帮助学习者通过实践巩固理论知识的练习题目,可能还包括答案解析。 4. **项目文件**:实际的应用程序项目,让学习者能够体验完整的开发流程,可能包括Maven或Gradle构建文件。 5. **测试...