SlideShare une entreprise Scribd logo
1  sur  16
Mobile Applications
Chapter 5
BY
MR. A. B. MOMIN
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
ATS’S, SANJAY BHOKARE GROUP OF INSTITUTES, MIRAJ
UI Frameworks
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Sencha Touch
• jQuery Mobile
• Enyo
• Montage
• iUI
• jQTouch
Sencha Touch
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Sencha Touch is a JavaScript-based framework for mobile app development.
• It has a free commercial license and it is compatible with iOS, Android, BlackBerry 7/10, and
Windows Phone 8.
• Sencha provide sencha sdk platform for make app.
• It supports 50 components and built in MVC with javascript.
• A basic “Hello World” application in Sencha Touch will look like this:
Ext.application({
name: 'Sencha Touch Demo’,
launch: function() {
Ext.create("Ext.tab.Panel", {
fullscreen: true,
items: [
{
title: 'Hello World’,
iconCls: 'home’,
html: 'Welcome to Sencha Touch’
}]});}});
jQuery Mobile
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• jQuery Mobile is a cross-platform UI framework optimized for touch smartphones.
• jQuery Mobile works over jQuery and it manages only the user interface of our web apps.
• jQuery Mobile is compatible with more than 10 different platforms, including all the modern smartphone
and tablet browsers.
• jQuery Mobile manages a series of rich controls, as well as page navigation and transitions using CSS3
animations.
• It is compatible with Apache Cordova/PhoneGap apps.
• Example:
<div data-role="page">
<div data-role="header" data-position="fixed">
<h1>Hello World</h1>
<a href="#">Action</a>
</div>
<div data-role="content">
<ul data-role="listview" data-filter="true">
<li>Option 1
<li>Option 2
<li>Option 3
<li>Option 4
</ul>
</div>
<div data-role="footer" data-position="fixed" data-theme="e">
<h4>O'Reilly Media</h4>
</div>
</div>
Enyo
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Enyo is a cross-device (desktop, tablet, and phone), cross-platform web app UI framework.
• The framework originated with the HP Palm team from webOS, but after the open sourcing of
that platform the Enyo effort was converted to a multiplatform solution, including support for
iOS, Android, Firefox, Chrome, Windows Phone, BlackBerry, and more.
• Enyo is modular and component-based and the basic core is only 25 KB zipped, making it a
mobile-optimized framework.
• It has a range of useful widgets, including image carousels and date pickers, and we can
encapsulate our own controls really easily.
Montage
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Montage is a complete web app development framework, including a client-side Java‐Script
library and a server-side Node.js library.
• One of the big advantages of Montage is the usage of a two-way data binding mechanism
using custom HTML5 data.
• It also includes components and templates, data persistence, and event management.
• Montage is an open source project created by Motorola Mobility, now owned by Google.
• One of the key targets of Montage is Apache Flex (formerly Adobe Flex) developers trying to
move into the HTML5 world.
iUI
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• iUI was one of the first libraries developed for iPhone-style application development.
• iUI is a very simple-to-use, nonintrusive JavaScript library, including CSS and assets (generally
backgrounds) that emulate the native iPhone application controls, animations, and application
workflow.
• The main features are:
• No JavaScript coding required
• Extends the behavior of standard HTML markup
• Overrides links and forms with Ajax requests
• Updates the page with smooth iPhone transitions with no code
• Other advanced features that iUI supports include:
• Modal dialog pop-ups
• Form designs
• Emulation of native form controls
• Stripped tables
• Right (>) toolbar button
jQTouch
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• jQTouch is a jQuery plug-in for iPhone web development that produces similar results to iUI,
but with more powerful graphics and animations.
• It does require some JavaScript code to initialize the page.
• The supported features include:
• Native WebKit animations using jQuery methods
• Callback events
• Flexible themes
• Swipe detection
• Extensions: floaty bar, geolocation, offline capability
• Visual controls
• Animations
J2ME Basics
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• J2ME is the short form for Java 2 Micro Edition.
• J2ME is meant for tiny devices such as mobile phones, TV set top boxes, Vehicle telematics, pagers, PDAs
etc.
• Some of the main differences between computers and the J2ME devices are:
• Limited processing power
• Limited system memory
• Limited storage capacity
• Small display
• Less Battery power
• Limited connectivity to internet
• The J2ME applications can be used to do many useful things. A few of the capabilities of a J2ME program
are:
• Making UDP connections back to the server or communication between two devices.
• Making HTTP connections back to a HTTP server to make rich applications
• Making Socket connections
• Bar Code scanning
• Bluetooth programming
• and many other programs limited only by your imagination.
J2ME ToolKit
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Sun Java Wireless Toolkit
A free development environment directly from SUN is the Sun Java Wireless toolkit. It is a free
IDE which can be downloaded at http://java.sun.com/products/sjwtoolkit/index.html
• Netbeans mobility pack
If you are more comfortable with Netbeans development, this is another free toolkit which you
can use to develop J2ME applications. This is downloadable
from http://developers.sun.com/prodtech/javatools/mobility/downloads/index.jsp
HTML 5 Script Extension
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• HTML5 includes new attributes to the script element that may improve performance on
compatible devices.
• The script elements used to block the parallel download of any other resource, and that harms
performance.
Code Execution
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
You can execute JavaScript code in four different ways:
• From a script tag
• From an event handler
• From a link, using the javascript: URL protocol
• From a bookmarklet, using the javascript: URL protocol
JS Debugging and Profiling
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Debugger the enables you to step through code, analyse stack frames and set breakpoints.
• profilers run code and give you a detailed breakdown of execution times, allowing you to
identify bottlenecks in your programs.
• Example: Firebug from Mozilla Firefox
Native Web API
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
There are other extensions available for native web applications on some
devices, and
many other JavaScript APIs are supported in installed applications.
These JavaScript APIs can include support for:
• Messaging
• Address book management
• Gallery
• Camera
• Calendar
• Device status information
• Native menus
Mobile Libraries
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• Zepto.js:
Zepto.js is a minimized JavaScript library optimized for performance. Its goal is to provide a 5– 10 KB
modular library that downloads and executes fast, with a jQuery-like syntax. With its inclusion with the
HTML5 Mobile Boilerplate template, Zepto.js has become the most popular replacement for jQuery in
mobile web development.
• baseJS:
baseJS is a lightweight library (8 KB) compatible with Safari on iOS and other Web Kit based
browsers. It has only been fully tested on Safari, from iOS 1.0 to 3.0.
• jQMobi:
jQMobi is a query selector library optimized for mobile devices that takes 5 KB of JavaScript code
using a jQuery syntax. Based on Zepto and jQuery, this library focuses on ways to reduce the API to its
most useful features and offers a fast version of a similar API. It includes basic DOM and Ajax
management through the $ object and chained functions.
• QuoJS:
Quo is a micro JavaScript library (14 KB) optimized for mobile devices that includes DOM, event, and
Ajax functionality and a good quantity of touch gesture event handlers, such as pinch out, drag, rotate,
hold, swipe, and two-finger tap.
Mobile Libraries
Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE
• XUI:
XUI is a simple JavaScript framework for building mobile websites that takes up only 4.2 KB
compressed. It is available for free and has been fully tested on Web Kit-based browsers and Opera
Mobile.

Contenu connexe

Tendances

Cross Platform Mobile App Development
Cross Platform Mobile App DevelopmentCross Platform Mobile App Development
Cross Platform Mobile App DevelopmentAnnmarie Lanesey
 
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...Bala Subra
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app developmentChamil Madusanka
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Sura Gonzalez
 
Developing a Modern Mobile App Strategy
Developing a Modern Mobile App StrategyDeveloping a Modern Mobile App Strategy
Developing a Modern Mobile App StrategyTodd Anglin
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile DevelopmentPragnesh Vaghela
 
01 01 - introduction to mobile application development
01  01 - introduction to mobile application development01  01 - introduction to mobile application development
01 01 - introduction to mobile application developmentSiva Kumar reddy Vasipally
 
Native vs Hybrid - Options to develop your mobile application
Native vs Hybrid - Options to develop your mobile applicationNative vs Hybrid - Options to develop your mobile application
Native vs Hybrid - Options to develop your mobile applicationLoic Ortola
 
Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Ahsanul Karim
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4Akib B. Momin
 
Mobile architecture options
Mobile architecture optionsMobile architecture options
Mobile architecture optionsjohnsprunger
 
Mobile app development - course intro
Mobile app development - course introMobile app development - course intro
Mobile app development - course introIvano Malavolta
 
The Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentThe Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentNick Landry
 
Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?Justin O'Neill
 
Introduction of Mobile applications
Introduction of Mobile applicationsIntroduction of Mobile applications
Introduction of Mobile applicationsAkib B. Momin
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentDotitude
 
Building Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicBuilding Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicYounes Adounis
 

Tendances (20)

Cross Platform Mobile App Development
Cross Platform Mobile App DevelopmentCross Platform Mobile App Development
Cross Platform Mobile App Development
 
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?
 
Developing a Modern Mobile App Strategy
Developing a Modern Mobile App StrategyDeveloping a Modern Mobile App Strategy
Developing a Modern Mobile App Strategy
 
Introduction to Mobile Development
Introduction to Mobile DevelopmentIntroduction to Mobile Development
Introduction to Mobile Development
 
01 01 - introduction to mobile application development
01  01 - introduction to mobile application development01  01 - introduction to mobile application development
01 01 - introduction to mobile application development
 
App development
App developmentApp development
App development
 
Native vs Hybrid - Options to develop your mobile application
Native vs Hybrid - Options to develop your mobile applicationNative vs Hybrid - Options to develop your mobile application
Native vs Hybrid - Options to develop your mobile application
 
Native vs. Hybrid Apps
Native vs. Hybrid AppsNative vs. Hybrid Apps
Native vs. Hybrid Apps
 
Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)Day: 1 Introduction to Mobile Application Development (in Android)
Day: 1 Introduction to Mobile Application Development (in Android)
 
Mobile applications chapter 4
Mobile applications chapter 4Mobile applications chapter 4
Mobile applications chapter 4
 
Mobile architecture options
Mobile architecture optionsMobile architecture options
Mobile architecture options
 
Mobile app development - course intro
Mobile app development - course introMobile app development - course intro
Mobile app development - course intro
 
Hybrid Mobile App
Hybrid Mobile AppHybrid Mobile App
Hybrid Mobile App
 
The Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App DevelopmentThe Great Mobile Debate: Native vs. Hybrid App Development
The Great Mobile Debate: Native vs. Hybrid App Development
 
Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?Web App VS. Hybrid App VS. Native App?
Web App VS. Hybrid App VS. Native App?
 
Introduction of Mobile applications
Introduction of Mobile applicationsIntroduction of Mobile applications
Introduction of Mobile applications
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application Development
 
Building Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and IonicBuilding Hybrid Apps with AngularJS and Ionic
Building Hybrid Apps with AngularJS and Ionic
 

Similaire à Mobile applications chapter 5

Nonintrusive semantic html5
Nonintrusive semantic html5Nonintrusive semantic html5
Nonintrusive semantic html5Muhamad Arief
 
J query mobile tech talk
J query mobile tech talkJ query mobile tech talk
J query mobile tech talkwoliverj
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile DevelopmentManesh Lad
 
Mobile JS Frameworks
Mobile JS FrameworksMobile JS Frameworks
Mobile JS FrameworksIbrahim Ersoy
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application developmentKunjan Thakkar
 
Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Sanjeev Kumar
 
Flutter vs Ionic: Which framework is better for cross platform application d...
Flutter vs Ionic: Which framework is better  for cross platform application d...Flutter vs Ionic: Which framework is better  for cross platform application d...
Flutter vs Ionic: Which framework is better for cross platform application d...Mobiloitte
 
Top 4 Cross Platform tools for Mobile App Development
Top 4 Cross Platform tools for Mobile App DevelopmentTop 4 Cross Platform tools for Mobile App Development
Top 4 Cross Platform tools for Mobile App Developmenttechugo
 
Top 11 Front-End Web Development Tools To Consider in 2020
 Top 11 Front-End Web Development Tools To Consider in 2020 Top 11 Front-End Web Development Tools To Consider in 2020
Top 11 Front-End Web Development Tools To Consider in 2020Katy Slemon
 
Synapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentSynapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentsaritasingh19866
 
Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011Nuxeo
 
Intro to tech stacks bonny
Intro to tech stacks bonnyIntro to tech stacks bonny
Intro to tech stacks bonnyLama K Banna
 
Synapse india reviews on mobile application development
Synapse india reviews on mobile application developmentSynapse india reviews on mobile application development
Synapse india reviews on mobile application developmentsaritasingh19866
 
top-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdftop-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdfPixelQA
 
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworksvarshasolanki7
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1NAILBITER
 

Similaire à Mobile applications chapter 5 (20)

Nonintrusive semantic html5
Nonintrusive semantic html5Nonintrusive semantic html5
Nonintrusive semantic html5
 
J query mobile tech talk
J query mobile tech talkJ query mobile tech talk
J query mobile tech talk
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile Development
 
Mobile JS Frameworks
Mobile JS FrameworksMobile JS Frameworks
Mobile JS Frameworks
 
Introduction to hybrid application development
Introduction to hybrid application developmentIntroduction to hybrid application development
Introduction to hybrid application development
 
Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First Mobilefirst - Build Enterprise Class Apps for Mobile First
Mobilefirst - Build Enterprise Class Apps for Mobile First
 
Flutter vs Ionic: Which framework is better for cross platform application d...
Flutter vs Ionic: Which framework is better  for cross platform application d...Flutter vs Ionic: Which framework is better  for cross platform application d...
Flutter vs Ionic: Which framework is better for cross platform application d...
 
Top 4 Cross Platform tools for Mobile App Development
Top 4 Cross Platform tools for Mobile App DevelopmentTop 4 Cross Platform tools for Mobile App Development
Top 4 Cross Platform tools for Mobile App Development
 
Top 11 Front-End Web Development Tools To Consider in 2020
 Top 11 Front-End Web Development Tools To Consider in 2020 Top 11 Front-End Web Development Tools To Consider in 2020
Top 11 Front-End Web Development Tools To Consider in 2020
 
Synapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentSynapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps development
 
Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011Mobile ECM with JavaScript - JSE 2011
Mobile ECM with JavaScript - JSE 2011
 
Intro to tech stacks bonny
Intro to tech stacks bonnyIntro to tech stacks bonny
Intro to tech stacks bonny
 
Synapse india reviews on mobile application development
Synapse india reviews on mobile application developmentSynapse india reviews on mobile application development
Synapse india reviews on mobile application development
 
top-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdftop-10-best-mobile-app-development-frameworks-in-2021.pdf
top-10-best-mobile-app-development-frameworks-in-2021.pdf
 
Multiplatform
MultiplatformMultiplatform
Multiplatform
 
AppNotch
AppNotchAppNotch
AppNotch
 
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworks
 
Andrew Resume
Andrew ResumeAndrew Resume
Andrew Resume
 
PhoneGap Credentials @ Neev
PhoneGap Credentials @ NeevPhoneGap Credentials @ Neev
PhoneGap Credentials @ Neev
 
Android Workshop Part 1
Android Workshop Part 1Android Workshop Part 1
Android Workshop Part 1
 

Mobile applications chapter 5

  • 1. Mobile Applications Chapter 5 BY MR. A. B. MOMIN ASSISTANT PROFESSOR DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ATS’S, SANJAY BHOKARE GROUP OF INSTITUTES, MIRAJ
  • 2. UI Frameworks Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Sencha Touch • jQuery Mobile • Enyo • Montage • iUI • jQTouch
  • 3. Sencha Touch Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Sencha Touch is a JavaScript-based framework for mobile app development. • It has a free commercial license and it is compatible with iOS, Android, BlackBerry 7/10, and Windows Phone 8. • Sencha provide sencha sdk platform for make app. • It supports 50 components and built in MVC with javascript. • A basic “Hello World” application in Sencha Touch will look like this: Ext.application({ name: 'Sencha Touch Demo’, launch: function() { Ext.create("Ext.tab.Panel", { fullscreen: true, items: [ { title: 'Hello World’, iconCls: 'home’, html: 'Welcome to Sencha Touch’ }]});}});
  • 4. jQuery Mobile Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • jQuery Mobile is a cross-platform UI framework optimized for touch smartphones. • jQuery Mobile works over jQuery and it manages only the user interface of our web apps. • jQuery Mobile is compatible with more than 10 different platforms, including all the modern smartphone and tablet browsers. • jQuery Mobile manages a series of rich controls, as well as page navigation and transitions using CSS3 animations. • It is compatible with Apache Cordova/PhoneGap apps. • Example: <div data-role="page"> <div data-role="header" data-position="fixed"> <h1>Hello World</h1> <a href="#">Action</a> </div> <div data-role="content"> <ul data-role="listview" data-filter="true"> <li>Option 1 <li>Option 2 <li>Option 3 <li>Option 4 </ul> </div> <div data-role="footer" data-position="fixed" data-theme="e"> <h4>O'Reilly Media</h4> </div> </div>
  • 5. Enyo Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Enyo is a cross-device (desktop, tablet, and phone), cross-platform web app UI framework. • The framework originated with the HP Palm team from webOS, but after the open sourcing of that platform the Enyo effort was converted to a multiplatform solution, including support for iOS, Android, Firefox, Chrome, Windows Phone, BlackBerry, and more. • Enyo is modular and component-based and the basic core is only 25 KB zipped, making it a mobile-optimized framework. • It has a range of useful widgets, including image carousels and date pickers, and we can encapsulate our own controls really easily.
  • 6. Montage Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Montage is a complete web app development framework, including a client-side Java‐Script library and a server-side Node.js library. • One of the big advantages of Montage is the usage of a two-way data binding mechanism using custom HTML5 data. • It also includes components and templates, data persistence, and event management. • Montage is an open source project created by Motorola Mobility, now owned by Google. • One of the key targets of Montage is Apache Flex (formerly Adobe Flex) developers trying to move into the HTML5 world.
  • 7. iUI Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • iUI was one of the first libraries developed for iPhone-style application development. • iUI is a very simple-to-use, nonintrusive JavaScript library, including CSS and assets (generally backgrounds) that emulate the native iPhone application controls, animations, and application workflow. • The main features are: • No JavaScript coding required • Extends the behavior of standard HTML markup • Overrides links and forms with Ajax requests • Updates the page with smooth iPhone transitions with no code • Other advanced features that iUI supports include: • Modal dialog pop-ups • Form designs • Emulation of native form controls • Stripped tables • Right (>) toolbar button
  • 8. jQTouch Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • jQTouch is a jQuery plug-in for iPhone web development that produces similar results to iUI, but with more powerful graphics and animations. • It does require some JavaScript code to initialize the page. • The supported features include: • Native WebKit animations using jQuery methods • Callback events • Flexible themes • Swipe detection • Extensions: floaty bar, geolocation, offline capability • Visual controls • Animations
  • 9. J2ME Basics Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • J2ME is the short form for Java 2 Micro Edition. • J2ME is meant for tiny devices such as mobile phones, TV set top boxes, Vehicle telematics, pagers, PDAs etc. • Some of the main differences between computers and the J2ME devices are: • Limited processing power • Limited system memory • Limited storage capacity • Small display • Less Battery power • Limited connectivity to internet • The J2ME applications can be used to do many useful things. A few of the capabilities of a J2ME program are: • Making UDP connections back to the server or communication between two devices. • Making HTTP connections back to a HTTP server to make rich applications • Making Socket connections • Bar Code scanning • Bluetooth programming • and many other programs limited only by your imagination.
  • 10. J2ME ToolKit Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Sun Java Wireless Toolkit A free development environment directly from SUN is the Sun Java Wireless toolkit. It is a free IDE which can be downloaded at http://java.sun.com/products/sjwtoolkit/index.html • Netbeans mobility pack If you are more comfortable with Netbeans development, this is another free toolkit which you can use to develop J2ME applications. This is downloadable from http://developers.sun.com/prodtech/javatools/mobility/downloads/index.jsp
  • 11. HTML 5 Script Extension Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • HTML5 includes new attributes to the script element that may improve performance on compatible devices. • The script elements used to block the parallel download of any other resource, and that harms performance.
  • 12. Code Execution Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE You can execute JavaScript code in four different ways: • From a script tag • From an event handler • From a link, using the javascript: URL protocol • From a bookmarklet, using the javascript: URL protocol
  • 13. JS Debugging and Profiling Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Debugger the enables you to step through code, analyse stack frames and set breakpoints. • profilers run code and give you a detailed breakdown of execution times, allowing you to identify bottlenecks in your programs. • Example: Firebug from Mozilla Firefox
  • 14. Native Web API Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE There are other extensions available for native web applications on some devices, and many other JavaScript APIs are supported in installed applications. These JavaScript APIs can include support for: • Messaging • Address book management • Gallery • Camera • Calendar • Device status information • Native menus
  • 15. Mobile Libraries Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • Zepto.js: Zepto.js is a minimized JavaScript library optimized for performance. Its goal is to provide a 5– 10 KB modular library that downloads and executes fast, with a jQuery-like syntax. With its inclusion with the HTML5 Mobile Boilerplate template, Zepto.js has become the most popular replacement for jQuery in mobile web development. • baseJS: baseJS is a lightweight library (8 KB) compatible with Safari on iOS and other Web Kit based browsers. It has only been fully tested on Safari, from iOS 1.0 to 3.0. • jQMobi: jQMobi is a query selector library optimized for mobile devices that takes 5 KB of JavaScript code using a jQuery syntax. Based on Zepto and jQuery, this library focuses on ways to reduce the API to its most useful features and offers a fast version of a similar API. It includes basic DOM and Ajax management through the $ object and chained functions. • QuoJS: Quo is a micro JavaScript library (14 KB) optimized for mobile devices that includes DOM, event, and Ajax functionality and a good quantity of touch gesture event handlers, such as pinch out, drag, rotate, hold, swipe, and two-finger tap.
  • 16. Mobile Libraries Mobile Applications Mr. A. B. Momin, Assistant Professor, Department of CSE • XUI: XUI is a simple JavaScript framework for building mobile websites that takes up only 4.2 KB compressed. It is available for free and has been fully tested on Web Kit-based browsers and Opera Mobile.