相關主題
商品描述
Pro Android 5 shows you how to build real-world and fun mobile apps using the Android 5 SDK. This book updates the best-selling Pro Android and covers everything from the fundamentals of building apps for smartphones, tablets, and embedded devices to advanced concepts such as custom components, multi-tasking, sensors/augmented reality, better accessories support and much more.
- Using the tutorials and expert advice, you'll quickly be able to build cool mobile apps and run them on dozens of Android-based smartphones.
- You'll explore and use the Android APIs, including those for media and sensors.
- And you'll check out what's new in Android, including the improved user interface across all Android platforms, integration with services, and more.
By reading this definitive tutorial and reference, you'll gain the knowledge and experience to create stunning, cutting-edge Android apps that can make you money, while keeping you agile enough to respond to changes in the future.
What you’ll learn
- How to use Android to build Java-based mobile apps for Android smartphones and tablets
- How to build irresistible user interfaces (UIs) and user experiences (UXs) across Android devices
- How to populate your application with data from data sources, using Content Providers
- How to build multimedia and game apps using Android's media APIs
- How to use Android's location-based services, network-based services, and security
- How to use key Android features, such as Fragments and the ActionBar
Who this book is for
This book is for professional software engineers and programmers looking to move their ideas and applications into the mobile space with Android. It assumes a passable understanding of Java, including how to write classes and handle basic inheritance structures.
Table of Contents
1 Hello, World
2 Introduction to Android Applications
3 Basic User Interface Controls
4 Adapters and List Controls
5 Making Advanced UI Layouts
6 Adding Menus and ActionBar
7 Styles and Themes
8 Fragments
9 Responding to Configuration Changes
10 Dialogs: Regular and Fragment
11 Working with Preferences and Saving State
12 Compatibility Library
13 Exploring Packages, Processes, Components, Threads and Handlers
14 Working with Services
15 Advanced Async Task & Progress Dialogs
16 Exploring Broadcast Receivers and Long Running Services
17 Exploring the Alarm Manager
18 Unveiling 2D Animation
19 Exploring Maps and Location Services
20 Understanding the Media Frameworks
21 Home Screen Widgets
22 Touchscreens
23 Drag and Drop
24 Using Sensors
25 Understanding Content Providers
26 Understanding the Contacts API
27 Loaders
28 Security and Permissions
29 Google Cloud messaging and services
30 Deploying Your Application: Google Play Store and Beyond
商品描述(中文翻譯)
《Pro Android 5》向您展示如何使用Android 5 SDK构建真实世界和有趣的移动应用程序。本书是畅销书《Pro Android》的更新版本,涵盖了从为智能手机、平板电脑和嵌入式设备构建应用程序的基础知识到高级概念,如自定义组件、多任务处理、传感器/增强现实、更好的配件支持等等。
通过阅读本书中的教程和专家建议,您将能够快速构建酷炫的移动应用程序,并在数十款基于Android的智能手机上运行它们。您将探索并使用Android的API,包括媒体和传感器API。
您还将了解Android的最新功能,包括在所有Android平台上改进的用户界面、与服务的集成等等。
通过阅读这本权威的教程和参考资料,您将获得创建令人惊叹的、尖端的Android应用程序的知识和经验,这些应用程序可以为您赚钱,并使您足够灵活,以应对未来的变化。
您将学到什么:
- 如何使用Android为Android智能手机和平板电脑构建基于Java的移动应用程序
- 如何在Android设备上创建不可抗拒的用户界面(UI)和用户体验(UX)
- 如何使用内容提供程序从数据源填充应用程序
- 如何使用Android的媒体API构建多媒体和游戏应用程序
- 如何使用Android的基于位置的服务、基于网络的服务和安全功能
- 如何使用关键的Android功能,如片段(Fragments)和操作栏(ActionBar)
本书适合专业软件工程师和程序员,他们希望将自己的想法和应用程序移植到Android移动平台。它假设您对Java有一定的了解,包括如何编写类和处理基本继承结构。
目录:
1. 你好,世界
2. Android应用程序简介
3. 基本用户界面控件
4. 适配器和列表控件
5. 创建高级UI布局
6. 添加菜单和操作栏
7. 样式和主题
8. 片段(Fragments)
9. 响应配置更改
10. 对话框:常规和片段
11. 使用首选项和保存状态
12. 兼容库
13. 探索包、进程、组件、线程和处理程序
14. 使用服务
15. 高级异步任务和进度对话框
16. 探索广播接收器和长时间运行的服务
17. 探索闹钟管理器
18. 2D动画揭秘
19. 探索地图和位置服务
20. 理解媒体框架
21. 主屏幕小部件
22. 触摸屏
23. 拖放
24. 使用传感器
25. 理解内容提供程序
26. 理解联系人API
27. 加载器
28. 安全性和权限
29. Google云消息和服务
30. 部署您的应用程序:Google Play商店及其他平台