Android 基础知识

Android - 主页 Android - 概述 Android - 下载安装和设置 Android - Studio IDE Android - 架构 Android - 应用程序组件 Android - Hello World 示例 Android - 资源 Android - 活动 Android - 服务 Android - 广播接收器 Android - 内容提供者 Android - 片段 Android - Intents/Filters

Android - 用户界面

Android - UI 布局 Android - UI 控件 Android - 事件处理 Android - 样式和主题 Android - 自定义组件

Android 高级概念

Android - 拖放 Android - 通知 Android - 基于位置的服务 Android - 发送电子邮件 Android - 发送短信 Android - 拨打电话 Android - 发布应用程序

Android 实用示例

Android - 警报对话框 Android - 动画 Android - 音频捕捉 Android - 音频管理器 Android - 自动完成 Android - 最佳实践 Android - 蓝牙 Android - 相机 Android - 剪贴板 Android - 自定义字体 Android - 数据备份 Android - 开发者工具 Android - 模拟器 Android - Facebook 集成 Android - 手势 Android - 谷歌地图 Android - 图像效果 Android - 图像切换 Android - 内部存储 Android - JetPlayer Android - JSON 解析器 Android - Linkedin 集成 Android - 旋转加载器 Android - 本地化 Android - 登录应用 Android - 媒体播放器 Android - 多点触控 Android - 导航 Android - 网络连接 Android - NFC 指南 Android - PHP/MySQL Android - 进度圈 Android - 进度条 Android - 推送通知 Android - 渲染脚本 Android - RSS 阅读器 Android - 屏幕投射 Android - SDK 管理器 Android - 传感器 Android - 会话管理 Android - 共享首选项 Android - SIP 协议 Android - 拼写检查器 Android - SQLite 数据库 Android - 支持库 Android - 测试 Android - 文字转语音 Android - TextureView Android - Twitter 集成 Android - UI 设计 Android - UI 模式 Android - UI 测试 Android - WebView 布局 Android - Wi-Fi Android - Widgets Android - XML 解析器

Android 其他

Android - 面试问题 Android - 有用的资源 Android - 测验


Android Online Quiz

Following quiz provides Multiple Choice Questions (MCQs) related to Android. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

问题与解答

Q 1 - Is it possible to have an activity without UI to perform action/actions?

A - Not possible

B - Wrong question

C - Yes, it is possible

D - None of the above

Answer : C

Explanation

Generally, every activity is having its UI(Layout). But if a developer wants to create an activity without UI, he can do it.

Answer : A

Explanation

View Group is collaborating with views and other child views,It is an invisible container and base classes for layouts.

Answer : A

Explanation

It is a main component of android. It reacts on the system broadcast announcements, and it acts as a gateway between outside application environment with your application.

Answer : C

Explanation

Content provider is used to share the data between applications

Answer : A

Explanation

We can change bitmap images to 9 sections as four corners, four edges and one axis.

Q 6 - WHich method is used to find GPS enabled or disabled pro-grammatically in android?

A - finish()

B - getGPSStatus()

C - onProviderDisable()

D - getGPS().

Answer : C

The onProviderDisable() method is used to find whether GPS is enabled or disabled in android pro-grammatically

Q 7 - In which technique, we can refresh the dynamic content in android?

A - Java

B - Ajax

C - Android

D - None of the Above

Answer : B

Using with Ajax technology, we can refresh the dynamic data in web pages.

Answer : A

Using with google could messaging, we can push the data from the servers to client devices. In short, we can send messages to mobile devices through the cloud(Push Notification).

Q 9 - What is ANR responding time in android?

A - 10 sec

B - 5 sec

C - 1 min

D - None of the above

Answer : B

ANR responding time is 5 sec. If an application is not responding within 5 sec, ANR will occur

Answer : C

Foreground activity should be onCreate() −> onStart() −> onResume() in activity life cycle.

❮ Android 问答