Jquery Mobile Cookbook

Total Page:16

File Type:pdf, Size:1020Kb

Jquery Mobile Cookbook www.it-ebooks.info jQuery Mobile Cookbook Over 80 recipes with examples and practical tips to help you quickly learn and develop cross-platform applications with jQuery Mobile Chetan K Jain BIRMINGHAM - MUMBAI www.it-ebooks.info jQuery Mobile Cookbook Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: November 2012 Production Reference: 1011112 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-722-5 www.packtpub.com Cover Image by Abhishek Pandey ([email protected]) www.it-ebooks.info Credits Author Project Coordinator Chetan K Jain Vishal Bodwani Reviewers Proofreader Shaun Dunne Aaron Nash Ankit Garg Maria Gould Yousef Jadallah Indexer Acquisition Editor Hemangini Bari Usha Iyer Production Coordinator Lead Technical Editor Arvindkumar Gupta Arun Nadar Cover Work Technical Editors Arvindkumar Gupta Kirti Puajri Lubna Shaikh www.it-ebooks.info About the Author Chetan K Jain loves to code, and has been writing code for over 16 years now. He is a Senior Architect, and has worked on mobile technologies for over 4 years for Nokia. Since then, he has moved on to work as a freelance consultant. Chetan has significant experience in writing cross-platform mobile apps using jQuery Mobile, HTML5, CSS3, JavaScript, Nodejs, and has also worked extensively on Qt. Prior to mobile technologies, he has worked with Java technology and was also certified as an MCSD and MCSE in his early days. Chetan is an active contributor to open source development, and tries to help jQuery Mobile development whenever he can. He regularly participates in developer forums, and was earlier a top-ranked member and a "mad scientist" in the Nokia Qt Developer Forum. Chetan was born in Bangalore and lives there with his wife Shwetha and son Tanmay. The only time he ventured to live away from Bangalore was when he worked for over 4 years in the USA. His adventure didn't end there. He did a solo US cross country drive in his two door coupe from the east coast to the west and back, driving alone for over 8000 plus miles in 16 days to experience and live life as he calls it. His travelogue can be found at http://adventure.chetankjain.net. Chetan has contributed and published over 15 books to Gutenberg as a volunteer. He has also published four books on Jaina Literature and History written by his mother Saraswathamma. He is a voracious reader, and his other interests include music, movies, and travelling. Photography is his favorite hobby, and his clicks can be found at http://www.facebook.com/chetankjainphotos/photos_stream. Chetan can be reached at [email protected]. He also blogs at http://dev.chetankjain.net. www.it-ebooks.info Acknowledgement First and foremost, my wife Shwetha and son Tanmay deserve full credit for the completion of this book. This book was possible only because of their understanding, support, and countless sacrifices. For days I would be unavailable, miss many family events, and yet they continued to shower me with all their love and affection. I thank my parents, Mahendra Kumar Jaini and Saraswathamma, for their love, support, and for everything that I am today. I miss my father, but he is always there with me. My mother is my muse, and I follow her footsteps now as an author. I have a very supportive sister Suma Jain and nephew Poojith Jain who never fail to pep me up. Ashwin Das, is family, and I enjoy bouncing all my ideas with him. I thank my very close friend, Chidananda P, for all the help and support that he continues to give me. I thank my childhood friend Anand Rao for always being there as my buddy and for encouraging every project of mine. My venture into mobile space has been very enjoyable. I thank all my former colleagues in Nokia—Prahalad Rao for being a great manager and for directly supporting me at work when I started this book, Sathish EV for all those initial reviews, Bhuwan Lodha for encouraging me to blog, Ashwin Das, Karthik S, Prasad S, Pavanesh, and Krishna KN for all the suggestions given. A very special thanks to Govind Ashrit, who actually urged me to write this book. Thank you guys! I also thank Shaun Dunne, Ankit Garg, and Yousef Jadallah for reviewing the technical content of the book, and suggesting valuable changes and corrections. Finally, I thank Packt Publishers and Usha Iyer for giving me this opportunity. My heartfelt thanks to my editors Vishal Bodwani, Arun Nadar, Kirti Pujari, and Lubna Shaikh for tirelessly reviewing my writing—multiple times, and giving me many valuable suggestions. You guys were just great! www.it-ebooks.info About the Reviewers Shaun Dunne is a Developer working for SapientNitro in London, UK, and has been coding since 2008 with a passion for JavaScript and all the front-end goodness. Working for a large agency over the past few years, Shaun has had the chance to use various web technologies to build large scale applications, and found a passion for getting other people excited about the web. Shaun has been hacking the mobile web for a couple of years, trying and testing all the tools available and sharing his discoveries where he can, to ensure that others are aware of what is available to use and in what situation. When he's not working or spending some family time with his kids, he can usually be found on the web, tinkering, blogging, and building things. He's currently working on his own book, a self-published title about SASS and Friends called UberCSS, which is due to be released in the winter of 2012. Ankit Garg is a Front-End Developer at iGate Global Solutions. He likes to call himself a Mobile Web Application Developer, a JavaScript Developer, and a blogger. He likes reading, practicing, and blogging new things in the Mobile Web and JavaScript space. If you would like to reach him, send him an e-mail to [email protected]. www.it-ebooks.info Yousef J. Jadallah is a software developer. He has good hands-on experience of web and .NET technologies, such as ASP.NET, SQL Server, AJAX, ASP.NET AJAX, C#,VB.NET, jQuery Mobile, HTML5, Web Services, and REST. He spends most of his leisure time helping the communities on Microsoft technologies, specifically in the Microsoft official forum. He is honored with the Microsoft Community Contributor Award - 2011 (CCA). He is from Jordan. You can contact with him through his blog: http://weblogs.asp.net/yousefjadallah. www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version atwww.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why Subscribe? f Fully searchable across every book published by Packt f Copy and paste, print and bookmark content f On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. www.it-ebooks.info www.it-ebooks.info www.it-ebooks.info To Shwetha and Tanmay, you fill my life with joy and wonder. www.it-ebooks.info www.it-ebooks.info Table of Contents Preface 1 Chapter 1: Get Rolling 7 Introduction 7 Writing your first jQuery Mobile application 9 Using JS Bin to create a simple application 12 Chapter 2: Pages and Dialogs 17 Introduction 17 Writing a single-page template application 18 Writing a multi-page template application 22 Prefetching pages for faster navigation 25 Using the DOM cache to improve performance 29 Custom styling a dialog 32 Using CSS to create a bouncing page transition 36 Using JS to create a slide and fade page transition 40 Using data-url to handle the login page navigation 44 Using History API to create a custom error pop up 48 Chapter 3: Toolbars 55 Introduction 55 Using fullscreen fixed toolbars 55 Using persistent navbars in toolbars 59 Customizing the header with multiple buttons 64 Adding a customized round button to the header 66 Adding an image to the header 69 Adding
Recommended publications
  • Arcgis API for Javascript: Building Native Apps Using Phonegap and Jquery
    Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jQuery Andy Gup, Lloyd Heberlie Agenda • Getting to know PhoneGap • jQuery and jQuery mobile overview • jQuery and ArcGIS API for JavaScript • Putting it all together • Additional information Technical workshops at Dev Summit • Web - Building Mobile Web Apps with the ArcGIS API for JavaScript • Hybrid - You are here! • Native - Search the agenda for “Runtime SDK” Application comparison: Native vs. Web • ArcGIS Runtime SDK for Android • https://developers.arcgis.com/android/guide/native-vs-web.htm • ArcGIS Runtime SDK for iOS • https://developers.arcgis.com/ios/objective-c/guide/native-vs-web.htm Hello Cordova and Resources Lloyd Heberlie Enable Safari remote web inspection What is PhoneGap? • Application container technology • Core engine is 100% open source • Web view container, plus JS API • HTML5, CSS3, JS = Native App PhoneGap PhoneGap architecture PhoneGap PhoneGap Application Native Plugins Code App PhoneGap Plugins PhoneGap Plugin options Setup a developer machine Code quality and verification web server Source Control Preparing for PhoneGap Installing PhoneGap and Apache Cordova Check versions of PhoneGap and Apache Cordova Updating PhoneGap and Apache Cordova Creating your first PhoneGap CLI project phonegap create path/to/my-app "com.example.app" "My App" Hello Cordova (cont.) Lloyd Heberlie PhoneGap: Featured Apps Featured Apps: Tripcase, Untappd Agenda • Getting to know PhoneGap • jQuery and jQuery mobile overview • jQuery and ArcGIS API for JavaScript •
    [Show full text]
  • Apache Cordova Training
    Apache Cordova Cross-Platform Mobile Application Development Duration: 3 Days (Face-to-Face & Remote-Live), or 21 Hours (On-Demand) Price: $1695 (Face-to-Face & Remote-Live), or $1495 (On-Demand) Discounts: We offer multiple discount options. Click here for more information. Delivery Options: Attend face-to-face in the classroom or remote-live attendance. Students Will Learn The jQuery Mobile Toolkit Introduction to Apache Cordova (PhoneGap) Style Class Manipulation Using the Contacts Database API DOM Manipulation Using the the Cordova File API Introduction to Ajax Accessing the Camera with Cordova Using jQuery Mobile Lists, Forms, Buttons and Themes Using the Accelerometer Overview of Geolocation Course Description Apache Cordova (formerly PhoneGap) is an open-source is a mobile application development framework. It utilizes HTML5, CSS3 and JavaScript to create apps for a variety of mobile platforms. Students will learn how to build applications using jQuery Mobile and Apache Cordova that run on a variety of mobile platforms including iOS, Android and Windows Mobile. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency. Course Prerequisites Knowledge of HTML and JavaScript equivalent to attending the Website Development with HTML5, CSS and Bootstrap and JavaScript Programming courses. Course Overview The Mobile Landscape Technology Stack Devices Types HTML5 Main Objectives Browser-Side Data Storage Smartphones Tablets Declaring HTML5 Device Convergence Detecting Support for HTML5
    [Show full text]
  • Voyager Mobile Skin Developed Using the Jquery Mobile Web Framework
    Voyager Mobile Skin Developed Using the jQuery Mobile Web Framework By Wes Clawson University of Rochester Libraries Contact: Denise Dunham - [email protected] en_US Rochester Original Mobile skin After Adding jQuery Mobile How We Did It We needed to make some simple changes to a few XML/XSL files. To start using jQuery Mobile You need three new things: jQuery JavaScript - jQuery Mobile JavaScript - jQuery CSS These are placed in frameWork.xsl To make things easier: We trimmed down an original skin first. By getting rid of features that we knew weren’t going to be used on mobile devices, we had a lot less to worry about when we added jQuery Mobile. Generates a divider with collapsible content Button shape and color can be based on existing jQuery Mobile themes Generates a clickable button When the page is loaded by a browser, jQuery Mobile makes changes to markup that has been indicated with special tags. These special tags were added to markup where we wanted jQuery to form certain types of elements. Collapsible Divider (closed) Collapsible Divider (open) Stylized Drop-down Menus Value Slider Stylized Buttons In the end, roughly 27 files were modified to include jQuery-specific markup tags, giving a sleek, simple, yet robust mobile interface. Why We Did It jQuery Mobile save a lot of the time and resources that are normally needed to develop stylistic graphics and formatting. Items are auto-generated! Buttons Search Box Active Item Styling Icons Button Icons (standard jQuery Mobile) 3rd party icons also available! The jQuery Mobile framework allows developers a fast and simple way to create skins that are easily accessible on mobile devices.
    [Show full text]
  • Sams Teach Yourself Jquery Mobile in 24 Hours
    ptg8286219 www.finebook.ir Praise for Sams Teach Yourself jQuery Mobile in 24 Hours “Phil does a great job taking you through the mobile ecosystem and how jQuery Mobile makes it dead simple to break into it. Going from the fundamentals of web and mobile to advanced topics like video and themes, anyone looking to gain greater knowledge in mobile development will profit from this book.” —Brett Child, Software Consultant, Software Technology Group “Sams Teach Yourself jQuery Mobile in 24 Hours by Phil Dutson is full of rock-solid real-world examples that can be easily built upon to create a functional, rich, custom, completely ptg8286219 usable mobile website. The book reads incredibly easy; you find that the learning comes almost effortlessly as you read and work through the tutorials. In addition to learning the elements you need to build your own website, you’ll also learn how to extend and fill your mobile website with elements such as video and the creation and scanning of QR and Microsoft Tag codes. It even covers the introduction of jQuery Mobile into WordPress and the development of Android-based applications using jQuery Mobile and PhoneGap. I highly recommend a read if you’re doing any type of mobile web development.” —Drew Harvey, Solution Architect, CrossView, Inc. “This book is an excellent resource for any developer looking to integrate jQuery mobile into their next project. Phil covers the fundamentals of jQuery mobile while also providing best practices for mobile development.” —Jim Hathaway, Web Developer “This book is an excellent read for beginners and web veterans alike.
    [Show full text]
  • With Jquery Mobile & Phonegap by Pete Freitag / Foundeo Inc
    MOBILE DEVELOPMENT With jQuery Mobile & PhoneGap by Pete Freitag / Foundeo Inc. petefreitag.com / foundeo.com Monday, January 10, 2011 AGENDA • Learn to build mobile web sites using jQueryMobile and HTML5 • Learn about PhoneGap for building native iPhone/iOS & Android Apps Monday, January 10, 2011 JQUERYMOBILE A touch optimized HTML5 Framework for building mobile websites and apps. Monday, January 10, 2011 ALPHA jQuery Mobile is currently in Alpha 2, so keep in mind that not all features are implemented or stable at this time. Monday, January 10, 2011 TOUCH OPTIMIZED? • UI Controls need to be big enough to touch. • Minimize the need for typing • No mouseover, mousemove events, instead you have events like swipe, swipeleft, swiperight, orientationchange, tap, taphold, etc. • Optomized Form Controls Monday, January 10, 2011 MOBILE OS SUPPORT Monday, January 10, 2011 BUT I DON’T KNOW JQUERY • You don’t even need to know JavaScript to build a simple jQuery Mobile Web Site or App. • If you know jQuery you will feel right at home, when it comes time to add dynamic interactions. • But don’t worry if you don’t know any jQuery! Monday, January 10, 2011 WHAT’S IN JQUERY MOBILE? • Pages & Dialogs • Toolbars (Header & Footer bars) • Button’s (Including a set of stock icons) • Form Controls (Slider’s, Toggles, enhanced radio, checkbox, etc) • List View Control Monday, January 10, 2011 LET’S GET STARTED <!doctype html> <html> <head> <title>jQuery Mobile Example</title> <link rel="stylesheet" href="jquery.mobile-1.0a2/jquery.mobile-1.0a2.css" /> <script src="jquery-1.4.4.min.js"></script> <script src="jquery.mobile-1.0a2/jquery.mobile-1.0a2.js"></script> </head> <body> </body> </html> 1) HTML5 Doctype 2) jQuery Mobile CSS 2) jQuery Core JS 3) jQuery Mobile JS Monday, January 10, 2011 DATA-ROLE’S • jQuery Mobile uses an HTML attribute called: data-role to associate an element with a widget.
    [Show full text]
  • Cordova - Guide - App Development - Basics
    Cordova - Guide - App Development - Basics Dr Nick Hayward A brief overview and introduction to Apache Cordova application development and design. Contents intro Cordova CLI - build initial project Cordova App - structure recap - app directory www directory index.html add Cordova specifics add some jQuery add some jQuery Mobile jQuery Mobile - test transitions jQuery Mobile - navigation intro example navigation jQuery Mobile - using widgets listviews listviews - example listviews - adding some formatted content listviews - updated example Cordova app - current design Cordova CLI - build initial project Cordova app development begins with creation of a new app using the Cordova CLI tool. An example pattern and usage is as follows for initial project creation. cd /Users/ancientlives/Development/cordova cordova create basic com.example.basic Basic cd basic creates new project ready for development cordova platform add android --save cordova build adds support for native SDK, Android then builds the project ready for testing and use on native device cordova emulate android outputs current project app for testing on Android emulator Cordova App - structure recap - app directory A newly created project will include the following type of structure for design and development. e.g. |- config.xml |- hooks |- README.md |- platforms |- android |- platforms.json |- plugins | |- android.json | |- cordova-plugin-whitelist | |- fetch.json |- res | |- icon | |- screen |- www | |- css | |- img | |- index.html | |- js initially, our main focus will be the
    [Show full text]
  • Developing a Cross-Platform Mobile Smart Meter Application Using Html5, Jquery Mobile and Phonegap
    DEVELOPING A CROSS-PLATFORM MOBILE SMART METER APPLICATION USING HTML5, JQUERY MOBILE AND PHONEGAP Alexander Zibula1 and Tim A. Majchrzak2 1Best Practice Consulting AG (bpc), Munster,¨ Germany 2Department of Information Systems, University of Munster,¨ Munster,¨ Germany Keywords: App, Mobile Application, Cross-platform, iOS, Android, HTML5, PhoneGap, jQuery Mobile, Smart Meter, iPhone, Apache Cordova, Apache Callback. Abstract: Mobile computing devices are becoming more prevalent. Mobile applications extend their scope and utility. Developing such apps introduces a problem: developers are being forced to develop their applications to target each mobile platform from scratch or to rely on Web-based solutions that do not provide a “native” look and feel. In order to investigate novel methods of multi-platform app development and to review HTML5, we built an app using several cutting-edge development frameworks. Our scenario—a smart meter tool—is an active area of research in itself. We present approaches in the field of multi-platform app development and illustrate the technological background. We provide an overview of our development process. Finally, we evaluate our app and discuss our findings in order to provide generalizable results. 1 INTRODUCTION ers’ perception. The third category are native apps that have been written for a specific platform—either Since the advent of the Internet as a universal technol- a virtual machine or a mobile (device) operating sys- ogy, mobile computing has continuously increased in tem. importance. Beginning with smartphones, in partic- Developing apps is far from hassle-free. Due to ular the iPhone in 2007 (Macedonia, 2007), mobile rapid progress in hardware development, software de- Internet usage has greatly increased.
    [Show full text]
  • An Approach to Hybrid Technology for Mobile
    AN APPROACH TO HYBRID TECHNOLOGY FOR MOBILE APPLICATION DEVELOPMENT H T Palliyagurua, L I E P Weerathungab, E A L R Ekanayakec, S P Wijesuriyad, M P A W Gamagee abcde Sri Lanka Institute of Information Technology, Colombo, Sri Lanka Corresponding email: [email protected] Abstract Today, as the development of mobile hardware is getting better, the performance index is much higher than the actual requirements of the software configuration. Mobile Phone's features depend more on software. As the Android operating system is getting more widespread in the population of smart devices, the application based on Android SDK attracts much more attention and becomes more useful. Since the differences among programming languages between these devices, a lot of developers spend much time studying the programming language for development. In the case of conducting the research on Fine Payment and Penalty Point System to Sri-Lankan government problems related to the development of native android applications arise. Also, the most significant point is that all the available applications that are developed are not good at cross-platform, which causes some inconvenience to the users as well. In this paper, we propose a method to build an application for smart devices using the Cordova framework, which uses building apps in HTML and JavaScript. It is also good for web developer dives in mobile development and a simple way of making applications for cross-platform within a short time Keywords: M-government, Hybrid Mobile Application, Cordova 1.Introduction In recent years, the emergence of smart phones has changed the definition of mobile phones.
    [Show full text]
  • Building Native Apps with Arcgis API for Javascript Using Phonegap and Jquery Andy Gup, Lloyd Heberlie Agenda
    Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jQuery Andy Gup, Lloyd Heberlie Agenda • Getting to know PhoneGap • jQuery overview • jQuery and ArcGIS API for JavaScript • Putting it all together • Additional information Technical workshops at Dev Summit • Web - Building Mobile Web Apps with the ArcGIS API for JavaScript • Hybrid - You are here! • Native - Building iOS Apps with ArcGIS Runtime SDK - Building Android Apps with ArcGIS Runtime SDK - Building Windows Store and Windows Phone Apps with ArcGIS Runtime SDK Application comparison Web Hybrid Native Development Cost Reasonable Reasonable Expensive Development Time Short Short Long App Portability High High None Performance Fast Native speed if Very Fast needed Native Functionality No All All App Store Distribution No Yes Yes Extensible No Yes Yes PhoneGap Day - IBM, PhoneGap and the Enterprise by Bryce Curtis Further reading http://esriurl.com/7478 App Lloyd Heberlie What is PhoneGap? • Application container technology • Core engine is 100% open source • Web view container, plus JS API • HTML5, CSS3, JS = Native App PhoneGap PhoneGap architecture PhoneGap PhoneGap Application Native Plugins Code App PhoneGap Plugins PhoneGap Plugin options Setup a developer machine Code quality and verification web server Source Control Preparing for PhoneGap Installing PhoneGap and Apache Cordova Check versions of PhoneGap and Apache Cordova Updating PhoneGap and Apache Cordova Creating your first PhoneGap CLI project phonegap create path/to/my-app "com.example.app" "My App"
    [Show full text]
  • Developing Portable Tizen Apps
    i “portizapps” — 2013/4/28 — 0:48 — page i — #1 i i i Developing Portable Tizen Apps Companion to Tizen Application Portability and JavaScripting Tizen Web Apps Michael Schloh von Bennewitz 28. April 2013, Version 0.93 i i i i i “portizapps” — 2013/4/28 — 0:48 — page ii — #2 i i i This text originates from Tizen research undertaken by the author and associates. It attempts to explain emerging technology in a changing state. If updates of the information in this article become necessary, they will be posted on the web sites: http://mobile.dzone.com/articles/devportizapps/ http://css.dzone.com/articles/devportizapps/ Copyright c 2013 Michael Schloh von Bennewitz All rights reserved Published by DZone, Incorporated 150 Preston Executive, Suite 201 Cary, North Carolina 27513 United States of America i i i i i “portizapps” — 2013/4/28 — 0:48 — page iii — #3 i i i Contents 1 Introducing Tizen 1 1.1 Motivation behind portable development .................... 1 1.2 The world wide soup ............................... 2 2 Tizen Architecture 3 2.1 Vendors and device segments ........................... 3 2.2 Web Runtime and Web Framework ....................... 4 2.3 WebKit adoption ................................. 4 2.4 GNU/Linux and sources ............................. 5 3 JavaScript Libraries 6 3.1 JQuery Mobile .................................. 6 3.2 Sencha Touch ................................... 7 3.3 Dojo Mobile .................................... 8 3.4 Enyo JS ...................................... 9 3.5 HTML5 Boilerplate ................................ 9 3.6 Native-to-JavaScript bridges ........................... 9 3.7 Package standard ................................. 10 3.8 Store deployment ................................. 11 4 Tizen Development Tools 12 4.1 Tizen integrated development environment ................... 12 4.2 Tizen emulator .................................
    [Show full text]
  • Tizen Web Application Development for Beginners
    Tizen Web Application Development for Beginners Version 1.0 (2014/09/XX) Tizen Web Application Development for Beginners Table of Contents 1. Introduction to Tizen ............................................................................ 6 Understanding Tizen ............................................................................................................... 6 Tizen as an Open-source Software Platform ................................................................... 6 Tizen as a Web Software Platform .................................................................................. 6 Tizen as an Industry Software Platform ........................................................................... 6 Tizen Community Web Sites ................................................................................................... 6 2. Tizen Architecture ................................................................................. 8 3. Introduction to Tizen Web APIs ........................................................... 9 Tizen Device APIs ................................................................................................................... 9 4. Getting Started with Web Application Development ..................... 12 Planning and Designing the Application.............................................................................. 12 Installing the Tizen SDK ...................................................................................................... 12 Prerequisites ...............................................................................................................
    [Show full text]
  • Evaluating Frameworks for Creating Mobile Web Apps
    Evaluating Frameworks for Creating Mobile Web Apps Henning Heitkotter,¨ Tim A. Majchrzak, Benjamin Ruland and Till Weber Department of Information Systems, University of Munster,¨ Munster,¨ Germany Keywords: App, Mobile Web App, Framework, Cross-platform, Comparison, Evaluation, User Interface. Abstract: Mobile Web apps are an alternative to native apps when developing mobile applications for more than one platform. They can be accessed from almost any current smartphone and tablet using a browser. However, de- veloping a Web app adapted to the particularities of mobile devices such as limited screen size and touch-based interaction requires consideration and effort. Several frameworks with different strengths and weaknesses sup- port creating mobile Web apps. In this paper, we develop a set of criteria to be met by mobile Web frameworks of high quality. Based on these criteria, we evaluate jQuery Mobile, Sencha Touch, The-M-Project, and Google Web Toolkit combined with mgwt, thereby assessing their suitability for certain situations. We find Sencha Touch suited for mobile Web apps of moderate and increased complexity, while jQuery Mobile is a good starting point for apps primarily concerned with a mobile user interface. 1 INTRODUCTION using a platform’s source development kit (SDK) and should be employed if truly native performance and look & feel are desirable. Unfortunately, the require- Mobile devices such as smartphones and tablets are ments for Web apps on mobile devices differ from still gaining popularity among consumers and enter- Web apps in general. To effectively implement them prises (Gartner, 2012). In some areas they are already or to make existing Web apps suitable for mobile de- replacing – rather than just complementing – PCs and vices, sophisticated framework support is advisable.
    [Show full text]