Book Description
Building Hybrid Android Apps with Java and JavaScript: Applying Native Device APIs
Build HTML5-based hybrid applications for Android with a mix of native Java and JavaScript components, without using third-party libraries and wrappers such as PhoneGap or Titanium. This concise, hands-on book takes you through the entire process, from setting up your development environment to deploying your product to an app store.
Learn how to create apps that have access to native APIs, such as location, vibrator, sensors, and the camera, using a JavaScript/Java bridge—and choose the language that gives you better performance for each task. If you have experience with HTML5 and JavaScript, you’ll quickly discover why hybrid app development is the wave of the future.
- Set up a development environment with HTML, CSS, and JavaScript tools
- Create your first hybrid Android project, using Eclipse IDE
- Use the WebView control to host your hybrid application
- Explore hybrid application architecture, including JavaScript/Java communication
- Build single-page applications, using JavaScript libraries such as Backbone and Underscore
- Get optimization tips and useful snippets for CSS, DOM, and JavaScript
- Distribute your application to Google Play and the Amazon Appstore
Table of Contents
Chapter 1. What Is Android?
Chapter 2. Setting Up Your Android Development Environment
Chapter 3. Android Fundamentals
Chapter 4. WebView, WebKit, and WebSettings
Chapter 5. Inter-workings of the JavaScript and Java Layers
Chapter 6. HTML Architecture for Hybrid Applications
Chapter 7. CSS, DOM, and JavaScript: Optimization Tips and Useful Snippets
Chapter 8. Publishing Apps for Android
中文:
书名:用Java和Java构建混合的Android应用
使用Java和JavaScript构建混合Android应用程序:应用本机设备API
混合使用原生Java和Java组件为Android构建基于HTML5的混合应用程序,而无需使用第三方库和包装器,如PhoneGap或Tiania。这本简明、动手的书将向您介绍从设置开发环境到将产品部署到应用程序商店的整个过程。
了解如何使用JavaScript/Java桥创建可以访问本地API(如位置、可控震源、传感器和相机)的应用程序,并选择为每项任务提供更好性能的语言。如果你有HTML5和JavaScript的经验,你很快就会发现为什么混合应用开发是未来的潮流。
- 使用HTML、CSS和JavaScript工具设置开发环境
- Create your first hybrid Android project, using Eclipse IDE
- 使用WebView控件承载混合应用程序
- 探索混合应用程序体系结构,包括JavaScript/Java通信
- 使用主干和下划线等脚本库构建单页面应用程序
- 获取针对CSS、DOM和JavaScript的优化提示和有用的代码片段
- 将您的应用程序分发到Google Play和Amazon Appstore
目录表
第一章:什么是安卓?
第2章:设置Android开发环境
第三章:Android基础知识
第4章.WebView、WebKit和WebSetting
第5章.Java层和Java层的相互作用
第6章混合应用程序的HTML体系结构
第7章:CSS、DOM和JavaScript:优化提示和有用的代码片段
Chapter 8. Publishing Apps for Android
评论前必须登录!
注册