Voyager Mobile Skin Developed Using the Jquery Mobile Web Framework

Total Page:16

File Type:pdf, Size:1020Kb

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. Automatically formed “nav bars” will adjust size based on the number of links loaded on the particular page. Contains out of the box theming abilities! Different layouts can easily be done using ONLY simple HTML changes! Taken from http://jquerymobile.com/demos/ Examples of Fully Compatible Systems Apple iOS - iPhone (3.1 + ) - iPad (4.3 / 5.0) Android (2.1 + ) Blackberry (6.0 + ) Windows Phone (7.0 + ) Palm WebOS (1.4 + ) Kindle 3, Kindle Fire .
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]
  • 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]
  • Implementation of Android Based Mobile Learning Application As a Flexible Learning Media
    IJCSI International Journal of Computer Science Issues, Vol. 11, Issue 3, No 1, May 2014 ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784 www.IJCSI.org 168 IMPLEMENTATION OF ANDROID BASED MOBILE LEARNING APPLICATION AS A FLEXIBLE LEARNING MEDIA Kurniawan Teguh Martono 1, Oky Dwi Nurhayati 2 1 Computer Engineering Department, Diponegoro University Semarang, Central Java 50275, Indonesia 2 Computer Engineering Department, Diponegoro University Semarang, Central Java 50275, Indonesia and anytime and capable of involving many users either Abstract individually or in a group. In addition, this technology Computer technology has been experiencing a quite rapid offers all its simplicities. For these features, internet has development in which it, in turn, has also caused a change in been becoming a very suitable media for the development human life style. One of technologies bringing an impact on such of the next education. The implementation of Information life style is in the use of computer technology embedded in mobile and Communication Technology (ICT) in educational communication devices. Nowadays, a new trend in e-learning is world, in turn, will improve the quality of the education known as Mobile Learning, the use of portable media such as itself. smartphone. This research uses the Development and Research method a The implementation of ICT in educational institution today research to build and develop m-learning that can be used as a has been a must since it can be one of indicators for flexible learning media. Meanwhile, for the design of software, achievement of an educational institution. Many teachers or this research uses waterfall method.
    [Show full text]