Blackberry Webworks 2.2-Development Guide

Total Page:16

File Type:pdf, Size:1020Kb

Blackberry Webworks 2.2-Development Guide BlackBerry WebWorks 2.2 Development Guide Published: 2015-03-13 SWD-20150313105458214 Contents Getting Started ........................................................................................................................................... 5 What's a BlackBerry WebWorks app?..............................................................................................................5 Components of the BlackBerry 10 WebWorks SDK..........................................................................................7 Setting up your system................................................................................................................................. 12 Creating a WebWorks project........................................................................................................................21 Creating your first app.................................................................................................................................. 24 Porting and Upgrading...............................................................................................................................27 Upgrading from WebWorks 1.0.....................................................................................................................27 Updating your WebWorks project................................................................................................................. 34 Porting from Cordova................................................................................................................................... 35 Porting to other platforms.............................................................................................................................37 Porting AIR apps to WebWorks..................................................................................................................... 38 Adding Features........................................................................................................................................ 43 Adding and removing plugins....................................................................................................................... 43 Using custom plugins...................................................................................................................................48 Modifying your app configuration..................................................................................................................56 Creating headless WebWorks apps............................................................................................................. 108 App integration.......................................................................................................................................... 114 BBM Social Platform.................................................................................................................................. 225 Payment Service........................................................................................................................................ 232 Push Service.............................................................................................................................................. 247 Frameworks.............................................................................................................................................267 jQuery ....................................................................................................................................................... 267 Sencha Touch 2.........................................................................................................................................270 Dojo Toolkit................................................................................................................................................272 Enyo 2.0.................................................................................................................................................... 275 Construct 2................................................................................................................................................277 bbUI toolkit................................................................................................................................................ 281 Building and Testing................................................................................................................................ 283 Setting up test targets................................................................................................................................ 283 Previewing your app in a browser................................................................................................................286 Building your app in debug mode............................................................................................................... 286 Deploying your app to a simulator...............................................................................................................287 Deploying your app to a device................................................................................................................... 289 Debugging using Web Inspector................................................................................................................. 292 Testing and debugging apps in the work space .......................................................................................... 315 Building and signing your completed app................................................................................................... 316 Distributing your app..................................................................................................................................321 Best Practices......................................................................................................................................... 323 UI guidelines..............................................................................................................................................323 Personally identifiable information..............................................................................................................323 HTML best practices.................................................................................................................................. 324 CSS best practices..................................................................................................................................... 331 JavaScript best practices........................................................................................................................... 336 Legal notice............................................................................................................................................. 347 Getting Started Learn what HTML5 and the Cordova for BlackBerry platform have to offer, and build your first app. In this section, you can find resources to help you get started developing applications for the BlackBerry WebWorks platform. What's a BlackBerry WebWorks app? A BlackBerry WebWorks app is a web application that runs on a BlackBerry device. As of BlackBerry WebWorks 2.0, the BlackBerry 10 WebWorks SDK is now built on Apache Cordova, an open- source development framework that lets you create applications using web technologies. Be sure to check out some of the BlackBerry WebWorks Samples. Although adopting Cordova as the development standard has resulted in some changes to the way WebWorks applications are structured, the process is not complicated. Creating a BlackBerry WebWorks app involves the following high-level steps: 1. Create your project: Use the BlackBerry 10 WebWorks SDK web tool or the command line tool to create the folder structure and template files for your new WebWorks project. 2. Design and develop your app logic and resources: Create the HTML, CSS, JavaScript files and other resources, or reuse existing ones, and save them in the appropriate locations in your project's /www folder. 3. Add the required plugins: A plugin represents a set of APIs that allow your app to access the features of the platform by binding the JavaScript functions to the native methods of the device code. 4. Build and test your app: Use the web tool or the command line to test your app in a simulator or on a device. 5. Distribute your app: Build and sign your completed app and submit it to BlackBerry World. Why create a BlackBerry WebWorks app? Some reasons to consider are: • portability • integration with core BlackBerry apps • ease of access, even when users do not have an Internet connection available Portability Because you create them using common web standards, BlackBerry WebWorks apps are not platform- dependent. When you port to other mobile platforms, such as iOS or Android, you can reuse many of your existing web assets. By aligning with Apache Cordova for BlackBerry WebWorks 2.0, your WebWorks apps will now have an even greater level of compatibility. Cordova provides a common development layer, and makes adapting the output Getting Started 5 to multiple mobile platforms much simpler. You create an app using the languages you know, and Cordova handles the bindings to the native layer of the various platforms. You can also take advantage of popular mobile web frameworks, such as Sencha Touch, jQuery Mobile, Dojo, and others. These frameworks provide a wide range of useful APIs
Recommended publications
  • Hypertext Semiotics in the Commercialized Internet
    Hypertext Semiotics in the Commercialized Internet Moritz Neumüller Wien, Oktober 2001 DOKTORAT DER SOZIAL- UND WIRTSCHAFTSWISSENSCHAFTEN 1. Beurteiler: Univ. Prof. Dipl.-Ing. Dr. Wolfgang Panny, Institut für Informationsver- arbeitung und Informationswirtschaft der Wirtschaftsuniversität Wien, Abteilung für Angewandte Informatik. 2. Beurteiler: Univ. Prof. Dr. Herbert Hrachovec, Institut für Philosophie der Universität Wien. Betreuer: Gastprofessor Univ. Doz. Dipl.-Ing. Dr. Veith Risak Eingereicht am: Hypertext Semiotics in the Commercialized Internet Dissertation zur Erlangung des akademischen Grades eines Doktors der Sozial- und Wirtschaftswissenschaften an der Wirtschaftsuniversität Wien eingereicht bei 1. Beurteiler: Univ. Prof. Dr. Wolfgang Panny, Institut für Informationsverarbeitung und Informationswirtschaft der Wirtschaftsuniversität Wien, Abteilung für Angewandte Informatik 2. Beurteiler: Univ. Prof. Dr. Herbert Hrachovec, Institut für Philosophie der Universität Wien Betreuer: Gastprofessor Univ. Doz. Dipl.-Ing. Dr. Veith Risak Fachgebiet: Informationswirtschaft von MMag. Moritz Neumüller Wien, im Oktober 2001 Ich versichere: 1. daß ich die Dissertation selbständig verfaßt, andere als die angegebenen Quellen und Hilfsmittel nicht benutzt und mich auch sonst keiner unerlaubten Hilfe bedient habe. 2. daß ich diese Dissertation bisher weder im In- noch im Ausland (einer Beurteilerin / einem Beurteiler zur Begutachtung) in irgendeiner Form als Prüfungsarbeit vorgelegt habe. 3. daß dieses Exemplar mit der beurteilten Arbeit überein
    [Show full text]
  • An Improved Method for Selection of COTS Components Based on Quality Requirements
    An Improved Method for Selection of COTS Components Based on Quality Requirements Thesis submitted in partial fulfillment of the requirements for the award of degree of Master of Engineering in Software Engineering Submitted By Ravneet Kaur Grewal (800931018) Under the supervision of: Ms. Shivani Goel (Assistant Professor) COMPUTER SCIENCE AND ENGINEERING DEPARTMENT THAPAR UNIVERSITY PATIALA – 147004 June 2011 Acknowledgement I would like to express my sincere gratitude to all who have made possible the fulfillment of this work. Firstly, I would like to thank my guide, Ms. Shivani Goel, Assistant Professor, CSED, Thapar University, Patiala for the time, patience, guidance and invaluable advises she has given me not only while my thesis work but throughout the course. It was a great opportunity to work under her supervision. Then I would like to thank Dr. Maninder Singh, Head of the Department, CSED, Thapar University, Patiala for providing all the facilities and environment. I would also like to thank all my Teachers for their support and invaluable suggestions during the period of my work. I would also like to thank my parents for always supporting me in the tough and happy moments, for their never ending support and inspiration; and especially to my grandfather and my late grandmother for the love and care. Finally, I wish to thank my brother, Arman Singh Grewal and my friends, Arpita Sharma, Ravneet Kaur Chawla, Vaneet Kaur Bhatia, Amandeep Kaur Johar, Vishonika Kaushal , Ipneet Kaur, Sonam Chawla, Aradhana Majithia and Aarti Sharma for being with me through the good and the bad. Ravneet Kaur Grewal (800931018) i Abstract Commercial Off-The-Shelf (COTS) software products have received a lot of attention in the last decade.
    [Show full text]
  • 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]
  • Processing and Integration of Sensory Information in Spatial Navigation
    Processing and Integration of Sensory Information in Spatial Navigation Dissertation zur Erlangung des Grades Doktor der Naturwissenschaften (Dr. rer. nat.) im Fachbereich Humanwissenschaften der Universität Osnabrück vorgelegt von Caspar Mathias Goeke Osnabrück, im November 2016 Supervisors 1st Supervisor: Prof. Dr. Peter König University of Osnabrück, Osnabrück, Germany 2nd Supervisor: Prof. Dr. Klaus Gramann Technical University of Berlin, Berlin, Germany 3rd Supervisor: Prof. Dr. Bernhard Riecke Simon Fraser University, Vancouver, Canada Additional Supervisor: Prof. Dr. Gordon Pipa University of Osnabrück, Osnabrück, Germany Curriculum Vitae Caspar Goeke Schepelerstr. 21, [email protected] 49074 Osnabrück +49 157 5521 5307 Germany Journal Articles Goeke, C., König, S. U., Meilinger, T., & König, P. (submitted). Are non- egocentric spatial reference frames compatible with enacted theories? Scientific Reports König, S. U., Schumann, F., Keyser, J., Goeke, C., Krause, C., Wache, S., … Peter, K. (in press). Learning New Sensorimotor Contingencies: Effects of Long- term Use of Sensory Augmentation on the Brain and Conscious Perception. PloS One. Goeke, C. M., Planera, S., Finger, H., & König, P. (2016). Bayesian Alternation during Tactile Augmentation. Frontiers in Behavioral Neuroscience, 10, 187. Goeke, C., Kornpetpanee, S., Köster, M., Fernández-Revelles, A. B., Gramann, K., & König, P. (2015). Cultural background shapes spatial reference frame proclivity. Scientific reports, 5. Goeke, C. M., König, P., & Gramann, K. (2013). Different strategies for spatial updating in yaw and pitch path integration. Front Behav Neurosci,7. Conference Contributions A Bayesian Approach to Multimodal Integration between Augmented and Innate Sensory Modalities, Osnabrück Computational Cognition Alliance Meeting, Osnabrück, Germany 2014 Cultural impact on strategy selection mechanisms, Annual Meeting of Experimental Psychologists, Gießen, Germany, 2014.
    [Show full text]
  • Navwell: a Simplified Virtual-Reality Platform for Spatial Navigation and Memory Experiments
    Behavior Research Methods (2020) 52:1189–1207 https://doi.org/10.3758/s13428-019-01310-5 BRIEF REPORT NavWell: A simplified virtual-reality platform for spatial navigation and memory experiments Sean Commins1 & Joseph Duffin2 & Keylor Chaves2 & Diarmuid Leahy2 & Kevin Corcoran2 & Michelle Caffrey1 & Lisa Keenan1 & Deirdre Finan2 & Conor Thornberry1 Published online: 21 October 2019 # The Psychonomic Society, Inc. 2019 Abstract Being able to navigate, recall important locations, and find the way home are critical skills, essential for survival for both humans and animals. These skills can be examined in the laboratory using the Morris water maze, often considered the gold standard test of animal navigation. In this task, animals are required to locate and recall the location of an escape platform hidden in a pool filled with water. Because animals can not see the platform directly, they must use various landmarks in the environment to escape. With recent advances in technology and virtual reality (VR), many tasks originally used in the animal literature can now be translated for human studies. The virtual water maze task is no exception. However, a number of issues are associated with these mazes, including cost, lack of flexibility, and lack of standardization in terms of experimental designs and procedures. Here we present a virtual water maze system (NavWell) that is readily downloadable and free to use. The system allows for the easy design of experiments and the testing of participants on a desktop computer or fully immersive VR environment. The data from four independent experiments are presented in order to validate the software. From these experiments, a set of procedures for use with a number of well-known memory tests is suggested.
    [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]
  • Download Download
    Acta Scientiarum http://periodicos.uem.br/ojs ISSN on-line: 1807-8664 Doi: 10.4025/actascitechnol.v43i1.51718 GEOCIENCES Proposal of a spatial database for indoor navigation Rhaíssa Viana Sarot*, Luciene Stamato Delazari and Silvana Philippi Camboim Programa de Pós-graduação em Ciências Geodésicas, Departamento de Geomática, Universidade Federal do Paraná, Av. Coronel Francisco Heráclito dos Santos, 210, 81531-990, Curitiba, Paraná, Brazil. *Author for correspondence. E-mail: [email protected] ABSTRACT. This paper presents an approach to build a spatial database for indoor environments. It will be presented the main requirements for the implementation of an object-relational database for the representation and analysis of indoor environments, which considers the solutions for both type of representations, floor plan and schematic map. These representations consider the high number of information found in an indoor environment and the fact that they are disposed in different floors of the structure. The relationship between objects and their attributes defines the links and restrictions between them. Hence, the model should describe the entities and their interrelationships, as well as the attributes of the elements and their characteristics. After the database was developed, it was implemented an algorithm that calculates routes between points in the indoor environment, considering not only the shortest distance but also the floor change. The model was tested by Antunes and Delazari (2019) using an application and some interviews with users to evaluate the elements included in the database considering a navigating task. Some results pointed out the need to insert new information in the database regarding physical characteristics (color, material) of elements found in the indoor environment to assist users during orientation and navigation tasks.
    [Show full text]
  • Program Book
    2 16 HBM GENEVA 22ND ANNUAL MEETING OF THE ORGANIZATION FOR HUMAN BRAIN MAPPING PROGRAM June 26-30, 2016 Palexpo Exhibition and Congress Centre | Geneva, Switzerland Simultaneous Multi-Slice Accelerate advanced neuro applications for clinical routine siemens.com/sms Simultaneous Multi-Slice is a paradigm shift in MRI Simulataneous Multi-Slice helps you to: acquisition – helping to drastically cut neuro DWI 1 scan times, and improving temporal resolution for ◾ reduce imaging time for diffusion MRI by up to 68% BOLD fMRI significantly. ◾ bring advanced DTI and BOLD into clinical routine ◾ push the limits in brain imaging research with 1 MAGNETOM Prisma, Head/Neck 64 acceleration factors up to 81 2 3654_MR_Ads_SMS_7,5x10_Zoll_DD.indd 1 24.03.16 09:45 WELCOME We would like to personally welcome each of you to the 22nd Annual Meeting TABLE OF CONTENTS of the Organization for Human Brain Mapping! The world of neuroimaging technology is more exciting today than ever before, and we’ll continue our Welcome Remarks . .3 tradition of bringing inspiration to you through the exceptional scientific sessions, General Information ..................6 poster presentations and networking forums that ensure you remain at the Registration, Exhibit Hours, Social Events, cutting edge. Speaker Ready Room, Hackathon Room, Evaluations, Mobile App, CME Credits, etc. Here is but a glimpse of what you can expect and what we hope to achieve over Daily Schedule ......................10 the next few days. Sunday, June 26: • Talairach Lecture presenter Daniel Wolpert, Univ. Cambridge UK, who Educational Courses Full Day:........10 will share his work on how humans learn to make skilled movements MR Diffusion Imaging: From the Basics covering probabilistic models of learning, the role and content in activating to Advanced Applications ............10 motor memories and the intimate interaction between decision making and Anatomy and Its Impact on Structural and Functional Imaging ..................11 sensorimotor control.
    [Show full text]
  • Architectural Frameworks for Automated Content Adaptation to Mobile Devices Based on Open-Source Technologies
    Architectural Frameworks for Automated Content Adaptation to Mobile Devices Based on Open-Source Technologies Thesis submitted to the Faculty of Economics of the European University Viadrina (Frankfurt/Oder) in fulfillment of the requirements for the degree of Dr. rer. pol. Author: Bożena Jankowska First Advisor: Prof. Dr. Eberhard Stickel Second Advisor: Prof. Dr. Karl Kurbel Submitted: 03.11.2006 Thesis defense: 06.09.2007 Abstract The Web and enterprise information systems are gradually increasing their reach to a wide range of mobile devices. Although analysts hope for a breakthrough in the popularity of mobile solutions, field studies show that, except for Japan and South Korea, there is still a large gap between the technical capabilities of wireless devices/networks and the adoption of mobile services for business and private use. This paradox can be attributed to a high extent to low quality of existing mobile solutions and to their insufficient usability, represented particularly by two attributes: simplicity of use and content relevance. Additionally, network providers are afraid that mobile Internet could cannibalize their revenues from SMS and entertainment services and do not want to cooperate with service providers to improve the quality of services offered. Wireless applications depend on device-specific features such as input/output mechanisms, screen sizes, computing resources, and support for various multimedia formats and languages. This leads to the need for multi-source authoring - the creation of separate presentations for each device type or, at least, for each class of devices. Multi-source authoring is not a cost-efficient and feasible solution, especially for mobile services consisting of numerous pages.
    [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]