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.
分享到:
相关推荐
This book covers useful Interview Questions and Answers on ASP.NET MVC. This book is appropriate for novice as well as for senior level professionals who wants to strengthen their skills before ...
This book is not only the ASP.NET MVC interview book but it is more than that. This book helps you to get the depth knowledge of ASP.NET MVC with a simple and elegant way. This book is updated to ...
Top 200 Data Engineer Interview Questions & Answers.epub
devops interview questions by tech interviews get it for devops interview
这份"ITIL Foundations V4 Real Exam Questions & Answers - PDF"压缩包文件,显然是为了帮助备考ITIL V4基础认证考试的学员准备的。 在深入讨论ITIL V4的知识点之前,先来理解一下ITIL V4的核心概念。ITIL V4引入...
从文件《ServiceNow Admin Questions & Answers.pdf》中,我们可以看到CSA(Customer Service Administration,客户服务中心管理)相关的一些基础知识,以及ServiceNow界面的基本组成、搜索方法、记录、表单、列表等...
从国外网站上下载的Java面试题。可以看看国外公司的Java面试常用题,以及如何用英文回答。
The Ultimate Reference & Learning Guide for SAP MM/PP Consultants SAP PP Interview Questions, Answers, and Explanations! It's clear that Production Planning is a key specialization for SAP MM ...
Android Interview Questions > Android Interview Questions - Your Cheat Sheet For Android Interview We will be adding answers to the more questions on our MindOrks website. Prepared and maintained ...
### IT面试问题与答案解析 #### 1. 如何描述自己? **优秀示例回答:** 我的背景至今一直围绕着成为一名最优秀的财务顾问而努力。让我具体介绍一下我是如何准备自己的。我是一名在______大学主修金融和会计的本科...
根据提供的文件信息,本文将对其中涉及的C++面试题目进行详细解析,并提供相应的答案,旨在帮助准备参加C++职位面试的求职者更好地理解和掌握相关的技术要点。 ### 1. C++基础知识 #### 1.1 什么是C++?...
根据提供的文件信息,我们可以从中提炼出三个重要的面试问题及其回答策略。这不仅是对求职者面试技巧的考验,也是展示个人专业素养与职业态度的关键时刻。接下来,我们将详细解析这三个问题及如何给出恰当的回答。...
CISA Interview Questions and Answers学习文档手册.pdf
SAP ABAP Certification Review SAP ABAP Interview Questions, Answers, And Explanations.pdf
### SAP SD 面试问题、答案与解释 #### 概述 SAP SD(Sales and Distribution)是SAP ERP中的一个核心模块,主要用于管理企业的销售流程和物流配送过程。对于希望进入SAP领域的专业人士来说,掌握SD模块的相关知识...
### SQL面试题与解答知识点详解 #### 一、关系型数据库管理系统(RDBMS) **定义:** 关系型数据库管理系统(Relational Database Management System,简称RDBMS)是一种用于存储和管理数据的软件系统,它将数据...
SAP Basis Interview Questions 在进行 SAP Basis 的面试准备时,面试官通常会关注应聘者对 SAP Basis 的基础知识和实践经验的理解。例如: - **问题示例**:“请简要介绍 SAP Basis 并解释它的主要功能。” - **...
本资料“Java-Spring-Boot-Interview-Questions-and-Answers”集合了最受欢迎的Java及Spring Boot面试问题,帮助求职者准备相关面试。 一、Java基础 1. 讲解Java内存模型(JVM)的结构,包括堆内存、栈内存、方法区...
【CFA一级考试职业道德标准详解】 CFA(特许金融分析师)考试是全球金融行业内备受认可的专业资格认证,其中职业道德标准是考核的重要部分。在2015年CFA一级的模拟考试中,有两个问题涉及了CFA考生应遵循的职业道德...