Comparing native Android and jQuery Mobile capabilities Zlatko Stapić, Dražen Patekar Bahun, Dunja Maslić University of Zagreb, Faculty of Organization and Informatics Pavlinska 2, 42000 Varaždin, Croatia http://www.foi.unizg.hr/ VERN’ University of Applied Sciences Trg bana J. Jelačića 3, 10000 Zagreb, Croatia http://www.vern.hr/ CASE25 – Developers conference - 11.06.2013. – Zagreb, Croatia
46
Embed
Comparing native Android and jQuery Mobile capabilities (Presentation)
Presented at CASE25 developers conference. Abstract: The distribution of mobile operating systems shows that development of mobile applications for multiple target platforms is necessary in order to reach a critical amount of users in any business model. Additionally, the platform fragmentation is not the only problem as for some platforms a device fragmentation has become a night mare for developers too. Thus, reaching for some "of the shelf" solutions that will enable developers to have single code base deployable to multiple mobile platforms became a usual practice for small companies or teams. One of these is quickly emerging and often used solution called jQuery Mobile. jQuery Mobile is touch-optimized web framework based on HTML5 and (web) applications written in it can be executed on any popular mobile platform. On the other side, this approach of running application in web browser has some disadvantages too. Thus, this paper will critically compare the possibilities of jQuery Mobile (including APIs and plugins) aligned with native Android possibilities in order to define the level of coverage of functionality provided by such framework. The complete and comparable set of possibilities should make the decision on using the web based framework or the native development kit easier for any specific mobile application.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Comparing native Android and jQuery Mobile capabilities
Zlatko Stapić, Dražen Patekar Bahun, Dunja Maslić University of Zagreb, Faculty of Organization and Informatics
Pavlinska 2, 42000 Varaždin, Croatia
http://www.foi.unizg.hr/
VERN’ University of Applied Sciences
Trg bana J. Jelačića 3, 10000 Zagreb, Croatia
http://www.vern.hr/
CASE25 – Developers conference - 11.06.2013. – Zagreb, Croatia
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
jQuery Mobile
Result
18
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
jQuery Mobile
Widgets – Filterable list
<ul data-role="listview" data-filter="true">
<li><a href="#">Acura</a></li>
<li><a href="#">Audi</a></li>
<li><a href="#">BMW</a></li>
<li><a href="#">Cadillac</a></li>
<li><a href="#">Chrysler</a></li>
<li><a href="#">Dodge</a></li>
<li><a href="#">Ferrari</a></li>
<li><a href="#">GMC</a></li>
</ul>
19
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
jQuery Mobile
Result
20
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
jQuery Mobile
Events
$('div.box').on( 'swipe', swipeHandler );
function swipeHandler(event){
alert('do stuff');
}
Methods
$.mobile.changePage( "/confirm.html", {
transition: "pop"
});
21
Agenda
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 22
Introduction
jQuery Mobile
Android
Comparing capabilites
Conclusion
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
• First full release in December 2008.
• Rapid release cycle
• Android evolution
• Open-source
• Powerful API libraries
• > 800,000 apps
• Inevitable interest
23
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
Development environment
• Java
• Dalvik VM
• Eclipse IDE
• Android SDK = tools + APIs
• ADT plugin extends capabilities of Eclipse
24
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
jQuery Mobile
FEATURES
Android 4.2 – Jelly Bean
25
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
User interface improvements
• Renderscript Compute
• Optimized drawing
• WebView rendering optimizations
• Refined UI
• One tablet, many users
• Lock screen widgets
• Daydream
• Nested Fragments
• Accessibility
• Full native support for RTL layouts
• RTL layout mirroring
26
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
External display support
• Display manager
• Presentation window
• Preferred display selection
• Protected content
• Wireless display
27
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
Performance improvements
• Filterscript
• Script intrinsics
• Script groups
• Ongoing optimization improvements
• New built-in developer options
• GPU
Compute
28
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Android
New platform technologies
• Hardware-accelerated 2D renderer
• New camera hardware interface
• Security enhancements
• New Bluetooth stack
• Low-latency audio
• NFC hardware interface and controller interface
• Dalvik runtime optimizations
29
Agenda
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 30
Introduction
jQuery Mobile
Android
Comparing capabilites
Conclusion
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Speed and graphics performance
31
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Access to underlying mobile platform
32
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Development tools
33
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Development community and support
34
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Developer's learning curve
35
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Offline mode
36
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Multiplatform support
37
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
Comparing capabilites
Monetization options
38
Comparing capabilites
• Speed and graphics performance
• Access to underlying mobile platform
• Development tools
• Development community and support
• Developer's learning curve
• Offline mode
• Multiplatform support
• Monetization options
Stapić, Bahun, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 39
Agenda
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 40
Introduction
jQuery Mobile
Android
Comparing capabilites
Conclusion
Looking forward to your qeustions
41 Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
[1] Z. Stapić, L. de-Marcos, and J. M. Gutiérrez Martínez, “Approaches in Development of Multi-platform Mobile Applications: State of the Art,” in Proceedings of IV International Conference on Application of Advanced Information and Communication Technologies, Loja, Ecuador, 2012, pp. 429–436.
[6] International Data Corporation (IDC), “Smartphones Expected to Outship Feature Phones for First Time in 2013,” 2013. [Online]. Available: http://www.idc.com/getdoc.jsp?containerId=prUS23982813. [Accessed: 15-May-2013].
References
42 Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013
[7] International Data Corporation (IDC), “IDC Raises Tablet Forecast for 2012 and Beyond As iOS Picks Up Steam, Android Gains Traction, and Windows Finally Enters the Market,” 2012. [Online]. Available: http://www.idc.com/getdoc.jsp?containerId=prUS23833612#.UMYzLawRtG9. [Accessed: 15-May-2013].
[8] E. Ravenscraft, “Google: There Are More Than 850,000 Android Devices Activated Daily, 300 Million Activated To Date - 450,000 Apps On The Market,” Android Police: Looking after all things Android, 2013. [Online]. Available: http://www.androidpolice.com/2012/02/27/google-there-are-more-than-850000-android-devices-activated-daily-300-million-activated-to-date-450000-apps-on-the-market/. [Accessed: 15-May-2013].
[9] J. Levi, “Why Project Butter in Jelly Bean Makes Android Faster,” Pocketnow, 2012. [Online]. Available: http://pocketnow.com/2012/06/27/what-is-googles-project-butter-and-why-its-so-awesome. [Accessed: 15-May-2013].
Zlatko Stapić, M.A. works from 2006 as a Teaching assistant at the Information Systems Development Department at Faculty of Organization and Informatics in Varaždin, and attends two doctoral programs: Information sciences at the same Faculty and Information and Knowledge Engineering at the Computer Science Department at the University of Alcalá in Spain.
Recently, Zlatko is intensively engaged in developing applications for mobile devices, which is also the subject of his research in the dissertation, and it is particularly important to notice that he is developing for multiple mobile platforms, including Android, Symbian, Windows Phone 7, Nokia Qt etc. Zlatko's more detailed resume, a list of all papers, projects and awards, and other important information can be found on his personal website: http://www.foi.unizg.hr/djelatnici/zlatko.stapic.
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 44
Dražen Patekar Bahun is assistant teacher for Introduction to computer architecture course at VERN’ University of Applied Sciences. He is implementing modern concepts and devices into lab exercises for more efficiency and entertainment in learning basic concepts of computing, programming and building logical circuits and electronic devices. Drazen is also an IT manager at Zdravestvari.hr and system administration department manager at Baltazar i prijatelji Ltd. Drazen’s affinities include Web application development (Microsoft .NET Framework, ASP.NET, MVC, jQuery, jQuery Mobile, Microsoft SQL Server), Programing languages (C#, JAVA, C/C++, JavaScript) and Digital systems design and development.
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 45
Dunja Maslić is a student of two graduate studies: specialist graduate professional study “IT Management” at VERN’ University of Applied Sciences and graduate study “Business Systems Organization” at Faculty of Organization and Informatics. She is learning concepts of effective management of business processes and organizations by applying information technology, comprehensive knowledge of business functions and contemporary business management and effective use of software tools for reorganization of business processes.
Stapić, Patekar, Maslić: Comparing native Android and jQuery Mobile capabilities - CASE25, 11th June 2013 46