You are previewing Beginning Hybrid Mobile Application Development.
O'Reilly logo
Beginning Hybrid Mobile Application Development

Book Description

Today, a mobile device user prefers installed application over browsing internet; e.g. booking cab, buying movie tickets, watching you tube videos etc. Market share of mobile devices based on android, iOS & Windows Phone is considerable. Creating an installable application targeting these multiple devices involves too much of pain because of expertise required e.g. Java for android, Objective C for iOS and DotNET for Windows Phone. Shortcomings of this development approach are - more development time, it requires different expertise & involves less reusability of the code.

A solution to this problem is HTML 5, JQuery, CSS 3 based - Hybrid Mobile Applications .

These hybrid applications needs to be created once but after packaging can be deployed on multiple mobile devices like Android, iOS amp; Windows Phone. This kind of application development has edge over native application development.

Beginning Hybrid Mobile Application Development by Panhale can help each entity involved in mobile application development. With availability of multiple coding and packaging platforms; HMAD has even become more easy. Since HMAD happens in HTML & Javascript it's even possible that with small effort conditionally; existing web application can be converted into mobile based application. HMAD can give larger audience for many web applications by making it available as mobile application.

This book covers:

  • Basics of Hybrid Application Development
  • Platforms, Frameworks used for Hybrid Application Development
  • Internals of how hybrid applications work
  • Hybrid Application Development using available APIs
  • Accessing data in hybrid application
  • Role of JSON over XML in hybrid application
  • Code Security
  • This book will change the paradigm of mobile application development as the efforts are less, learning curve is small, success ratio is high and monetary benefit is on higher side!

    Table of Contents

    1. Cover
    2. Title
    3. Copyright
    4. Dedication
    5. Contents at a Glance
    6. Contents
    7. About the Author
    8. About the Technical Reviewer
    9. Acknowledgments
    10. What Is in This Book
    11. Chapter 1 : Introduction to Mobile Application Development Ecosystems
      1. History of Mobile Application Development
      2. Understanding Ecosystems
        1. The Apple Ecosystem
        2. The Google Ecosystem
        3. The Microsoft Ecosystem
      3. Ecosystems Are Growing
      4. Web Sites and Web Views for Mobile Devices
      5. Adding JavaScript to the Mix
      6. Hybrid Application Frameworks
      7. Challenges by Mobile Application Layers
        1. Front-End Development
        2. Back-End Development
      8. System Software
      9. Mobile Application Testing
        1. Android Testing
        2. Apple Testing
        3. Microsoft Testing
        4. Hybrid Testing
      10. Summary
    12. Chapter 2 : Native vs. Hybrid Mobile Applications
      1. Native Mobile Application Development
        1. History
        2. Pros and Cons
        3. What Does the Market Say?
      2. Hybrid Mobile Application Development
        1. Why HMAD?
        2. History
        3. Technologies and Frameworks Used in HMAD
        4. Pros and Cons
      3. Summary
    13. Chapter 3 : Building Blocks of HMAD
      1. Architecture
        1. OS Runtime
        2. Browser-Based Applications and Browser Runtime
      2. How Hybrid Applications Work
        1. Apache Cordova
        2. Web Applications vs. Hybrid Mobile Applications
      3. Technologies, Frameworks, and Languages
        1. HTML5
        2. Why HTML 5?
        3. Basics of HTML5 and Useful APIs
        4. HTML5 Detection
        5. HTML5-Specific APIs
        6. Data Formats
      4. Server-Side Support
      5. Service-Oriented Architecture
        1. Web Services
        2. Windows Communication Foundation Service
        3. REST-Based Services
        4. Cascading Style Sheets (CSS) Version 3
        5. Responsive CSS
        6. Twitter Bootstrap
        7. Skeleton
      6. HMAD Development and Packaging Frameworks
        1. Ionic
        2. PhoneGap
        3. AppBuilder
        4. Kendo UI
        5. Angular UI
        6. Sencha Touch
        7. Intel XDK
      7. Testing Mobile Applications
        1. Testing with Browsers
        2. Testing on Devices
        3. Testing with Packaging Frameworks
      8. Deploying Applications
      9. Considering Cost
      10. Summary
    14. Chapter 4 : Creating Your First Hybrid Application
      1. Choosing a Packaging Platform
      2. Setting Up an AppBuilder Account
      3. Authoring a Basic Service Returning JSON
      4. Writing a Code Snippet Based on HTML5
      5. Injecting jQuery into the Code
      6. Testing the Hybrid Application UI and Code by Using a Browser
      7. Packaging an Application for the First Time Using AppBuilder
      8. Running a Local Test on the Device
        1. iPhone
        2. Android
        3. Windows Phone
      9. Summary
    15. Chapter 5 : HMAD: Internals
      1. Mobile Devices
        1. Architecture
        2. OS
        3. Application Frameworks and Platforms
      2. How Do Hybrid Applications Work on Devices?
        1. Webview Hybrid Limitations
      3. Comparison: Native vs. Hybrid Applications
      4. Summary
    16. Chapter 6 : Data Access in HMAD
      1. Exploring Data Access Possibilities
      2. Data Serialization Techniques
      3. Tips to GET or SET Data
      4. Browser-based Debug, Monitor, and Trace
      5. Code and Data Security
      6. Summary
    17. Chapter 7 : UI for HMAD
      1. HTML with JQuery
        1. Event Handling in JQuery
        2. JQuery Plug-in-based Approach to Generating a UI
      2. Miscellaneous Libraries and Plugins
        1. Fusion Chart
        2. Touch Punch
      3. Responsive UI
        1. Frequently Used Style Classes in Bootstrap
      4. Summary
    18. Chapter 8 : Using Device Features in HMAD
      1. Geolocation Services
        1. Using the HTML5 API
        2. Geolocation Plug-ins and Helpers
      2. I/O Operations
      3. Access and Use a Device-Based Camera
      4. Access a Unique ID
      5. Building Offline Applications
      6. Common Issues and Solutions
        1. Patterns and Practices
      7. Tips and Tricks
      8. Summary
    19. Chapter 9 : How to Advertise with HMAD
      1. Current Market Trends
      2. Ad Frameworks
        1. Google AdSense (Google AdMob for Mobiles)
        2. Mobile Ad Frameworks: A Quick Comparison
      3. Using the AdMob Framework
        1. Banner Ads
        2. Interstitial
      4. Summary
    20. Chapter 10 : Working with Third-Party Services in HMAD
      1. CAPTCHA APIs
      2. OPEN ID Authentication
        1. Twitter API
      3. Payment Gateways
      4. GPS Services
      5. Summary
    21. Chapter 11 : Setup and Deployment
      1. Obtaining Vendor-Specific Developer Licenses
      2. Deploying to the Apple App Store
      3. Deploying to Google Play
      4. Deploying to Windows Store
      5. Understanding the Pros and Cons
      6. Tracing and Logging
      7. Summary
    22. Chapter 12 : XAMARIN vs. HMAD
      1. Introduction to Managed Applications
      2. How Does Xamarin Work?
        1. Using Xamarin for Windows Phone
        2. Using Xamarin for Android
        3. Using Xamarin for iPhone
        4. Exploring Xamarin Features
      3. Xamarin vs. HMAD
      4. Summary
    23. Chapter 13 : Case Study: A Practical Approach
      1. Creating a Feedback Application
      2. Writing the Business Logic
      3. Summary
    24. Index