reklama - zainteresowany?

Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs - Helion

Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs
ebook
Autor: Nizamettin Gok, Nitin Khanna
ISBN: 978-14-493-6187-7
stron: 156, Format: ebook
Data wydania: 2013-07-23
Księgarnia: Helion

Cena książki: 46,74 zł (poprzednio: 54,99 zł)
Oszczędzasz: 15% (-8,25 zł)

Dodaj do koszyka Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs

Tagi: Android | API | JavaScript - Programowanie

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

Dodaj do koszyka Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs

 

Osoby które kupowały "Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs", wybierały także:

  • Systemy operacyjne. Architektura, funkcjonowanie i projektowanie. Wydanie IX
  • Kotlin w praktyce. Kurs video. Tworzenie aplikacji webowych za pomocÄ… Spring Boota
  • Platforma Xamarin. Kurs video. Poziom drugi. Zaawansowane techniki tworzenia aplikacji cross-platform
  • Android Studio. Kurs video. NarzÄ™dzia Android developera
  • Android. Techniki efektywnej pracy. Kurs video. Poziom pierwszy. Skróty klawiszowe i biblioteki

Dodaj do koszyka Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs

Spis treści

Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs eBook -- spis treści

  • Building Hybrid Android Apps with Java and JavaScript
  • Preface
    • Conventions Used in This Book
    • Using Code Examples
    • Safari Books Online
    • How to Contact Us
    • Acknowledgments
      • Nizamettin Gok
      • Nitin Khanna
      • About the Technical Reviewer
  • Dedication
  • 1. What Is Android?
    • Android Applications
    • What Is a Hybrid Application?
    • Categories of Applications
    • Key Characteristics of Hybrid Apps
    • Why Developing Hybrid Apps Makes Sense
    • Hybrid Application Architecture
    • How Do Hybrid Apps Work on the Android Platform?
  • 2. Setting Up Your Android Development Environment
    • Installing Eclipse on Mac OS X
    • Installing Android Development Tools
    • Creating Your First Hybrid Android Project Using Eclipse IDE
    • Android Development Using the Command Line
      • Setting PATH Environment Variables
    • What Is ADB (Android Debug Bridge)?
      • Connecting an Android Device to the Development Host
      • Connecting to an Android Device Over WiFi
    • Using Apache Ant to Automate Building Android Applications
    • Understanding the Android Build Process
      • Resource Precompilation
      • Service Interface Precompilation
      • Java Compilation
      • DEX Generation
      • Resource Packaging
      • Creation of the APK File
      • Alignment
    • CSS Preprocessors
    • Installing SASS
      • Integrating SASS into the Android Command-Line Build System
    • JSLint Framework and Strict Coding Conventions
    • Process HTML Templates
    • Minifying CSS and JavaScript Files Using YUI Compressor
    • Using Safari and Chrome Browsers for Faster JavaScript Debugging and UI Changes
  • 3. Android Fundamentals
    • Android Application Architecture
    • Key Android Components
      • Dalvik Virtual Machine (DVM)
      • View
      • Activity
      • Fragment
      • Intent
      • Services
      • Content Providers
      • Broadcast Receiver
    • Security Model in Android
    • Resources
      • String Resources
      • Layout Resources
    • Compiled and Uncompiled Android Resources
    • Assets
    • Structure of an Android App
    • Application Manifest
      • Application Package Name
      • Application
    • Activity
    • Intents
    • Intent Resolution
    • Intent Filter
    • Services
    • Broadcast Receiver
    • Specifying Compatible Device Configuration
    • Declaring Needed Device Features
    • Permissions
    • SDK Version
    • Hands-on Coding: Hybrid Hello World! Application
  • 4. WebView, WebKit, and WebSettings
    • The WebView as a Web Browser
    • So What Is WebKit?
    • Requesting Internet Permission from Android Manifest
    • Instantiating and Accessing the WebView Control
    • Loading a Web Page
    • Loading HTML into WebView
    • WebViewClient
      • WebChromeClient
    • Loading Local Files into the WebView
    • Load Flash Files into the WebView
    • Reading Files from the res/raw Directory
    • Triggering JavaScript Functions from the Java Layer
    • Opening a WebView in Fullscreen Mode
    • Enabling a Resize Event in JavaScript While Your Application Is Fullscreen
    • Binding Java Objects to WebView Using the addJavaScriptInterface() Method
      • @JavaScriptInterface Annotations
    • Security Considerations for Hybrid Applications
    • HttpOnly Cookies and the Secure Flag
    • Domain Whitelisting
    • Configuring WebView Settings with WebSettings
    • Preventing Local Files from Being Loaded in the WebView
    • Enabling JavaScript
    • Setting Default Font Size
    • Zoom Controls
    • Hardware Acceleration
  • 5. Inter-workings of the JavaScript and Java Layers
    • Architecture of a Hybrid Application
    • Calling Java Methods from JavaScript
    • Synchronous APIs
    • Asynchronous APIs
    • Calling JavaScript Methods from Java
    • Routing Data to the Correct JavaScript Receiver
    • Deferred Object Pattern
    • Register Success Callback Using deferred.done()
    • Register Failure Callback Using deferred.fail()
    • Register Progress Callback Using deferred.progress()
    • Simpler Callback registration with .then()
    • Synchronizing Multiple Asynchronous Events with $.when()
    • Resolve a Deferred Object
    • Reject a Deferred Object
    • Use of Promise
    • Use of deferred.progress()
    • Cache Manager for Handling Multiple Deferred Objects
    • Thread Safety
  • 6. HTML Architecture for Hybrid Applications
    • Architecture of a Web Application
    • Single Page Applications (SPA)
    • Key Design Considerations for Single Page Applications
    • The Libraries and Frameworks for Your Hybrid Apps
    • Backbone.js for MVC Framework
    • Underscore.js for Utility Support
    • iScroll.js for scrolling
    • iScroll Caveats
    • jQuery.js for JavaScript application
      • Preload Images Within the CSS Files
    • CSS Reset Avoids Browser Inconsistencies
    • Your Home index.html
    • Viewport Meta Tag
    • Viewport Width
    • Viewport Scaling with the Content Attribute
    • Responsive Design and Media Queries
    • EM or Percent (%) unit for scalable interface
    • CSS3 Introduces rem Unit
    • Opacity or RGBA: What Is the Difference?
    • Event Pooling
  • 7. CSS, DOM, and JavaScript: Optimization Tips and Useful Snippets
  • 8. Publishing Apps for Android
    • Digitally Signing Applications
    • Protecting Your Application with ProGuard
    • Google Play
    • Registering as a Publisher
    • Developer Console
    • Uploading an Application
    • Amazon App Store
    • Self-Signing and the Amazon App Store
    • Amazon App Store Sign Up Process
    • Uploading an Application
    • Understanding the Application Approval Process
  • About the Authors
  • Colophon
  • Copyright

Dodaj do koszyka Building Hybrid Android Apps with Java and JavaScript. Applying Native Device APIs

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.