12
As the technology evolves, so does the power of Mobile apps As the technology evolves, so does the power of Mobile apps More and more companies introduce their own mobile apps More and more companies introduce their own mobile apps Three common types of applications Three common types of applications Web mobile applications Web mobile applications Native mobile applications Native mobile applications Hybrid mobile applications Hybrid mobile applications

14
Web mobile apps are not real applications Web mobile apps are not real applications They are web sites that has the look and feel of a mobile app They are web sites that has the look and feel of a mobile app Developed in any Web technology Developed in any Web technology ASP.NET, SPA application, PHP, Java, etc… ASP.NET, SPA application, PHP, Java, etc… Web mobile apps run in the browser Web mobile apps run in the browser Installed from an URL Installed from an URL They are actually a web site/application, working in chromeless browser They are actually a web site/application, working in chromeless browser

15
For security reasons web mobile apps cannot use the full power of the mobile OS For security reasons web mobile apps cannot use the full power of the mobile OS APIs like Geolocation, File System and Camera are inaccessible APIs like Geolocation, File System and Camera are inaccessible The users must explicitly confirm the access to some of the APIs, every time s/he opens the app The users must explicitly confirm the access to some of the APIs, every time s/he opens the app Web mobile application are most suitable for information applications and apps not using mobile functionality Web mobile application are most suitable for information applications and apps not using mobile functionality Like a RSS application, news app Like a RSS application, news app

17
Native applications are applications developed for running on a specific Operating Native applications are applications developed for running on a specific Operating They run only on its operating system They run only on its operating system Native apps must be installed either using an Application Store (Google Play, App Store) or through an external app installer Native apps must be installed either using an Application Store (Google Play, App Store) or through an external app installer

18
Native apps have full access to resources of OS Native apps have full access to resources of OS Geolocation, File System, Accelerometer, etc. Geolocation, File System, Accelerometer, etc. The user must confirm the access to device APIs The user must confirm the access to device APIs Yet, only once, at the installation of the app Yet, only once, at the installation of the app Native apps are developed on the platform and are hard to be ported to other platforms Native apps are developed on the platform and are hard to be ported to other platforms iPhone apps with Objective-C iPhone apps with Objective-C Android apps with Java Android apps with Java Windows Phone apps with C# Windows Phone apps with C#

19
Native apps are suitable when developing: Native apps are suitable when developing: Games Games The developer can use the devices GPU The developer can use the devices GPU Apps with complex processing Apps with complex processing The app must do a work of processing The app must do a work of processing Apps where 10 milliseconds slowdown is crucial Apps where 10 milliseconds slowdown is crucial

21
Hybrid apps are part native, part web apps Hybrid apps are part native, part web apps Yet they are neither Yet they are neither Also called cross-platform Also called cross-platform Hybrid apps are like native apps Hybrid apps are like native apps They can be published to an application store They can be published to an application store They can be installed on the device They can be installed on the device They can use the power of the device They can use the power of the device Hybrid apps are like web apps Hybrid apps are like web apps Coded in web technologies like HTML and JS Coded in web technologies like HTML and JS

22
Hybrid applications leverage the engine of the default browsers for the platform Hybrid applications leverage the engine of the default browsers for the platform Safari mobile for iOS Safari mobile for iOS Android browser for Android Android browser for Android IE 9 mobile for Windows Phone 7 IE 9 mobile for Windows Phone 7 IE 10 mobile for Windows Phone 8 IE 10 mobile for Windows Phone 8 The browser engine renders the HTML and process the JavaScript locally to the device The browser engine renders the HTML and process the JavaScript locally to the device There is an abstraction layer, enabling the app to access device capabilities There is an abstraction layer, enabling the app to access device capabilities

23
Hybrid applications run in a native container on a mobile device Hybrid applications run in a native container on a mobile device The native container uses the browser engine to run the app The native container uses the browser engine to run the app UIWebView for iOS UIWebView for iOS WebView for Android WebView for Android WebBrowser in Windows Phone 8 WebBrowser in Windows Phone 8 This enables the app to use the device capabilities This enables the app to use the device capabilities

24
Most of the default mobile browsers use WebKit rendering engine Most of the default mobile browsers use WebKit rendering engine That means iOS, Android, Blackberry, etc. That means iOS, Android, Blackberry, etc. Windows Phones IE uses Trident engine Windows Phones IE uses Trident engine That is why most hybrid applications can be tested on simulators, not only on emulators That is why most hybrid applications can be tested on simulators, not only on emulators

26
Since the rise of HTML 5 (2010) more and more hybrid application platforms surfaced Since the rise of HTML 5 (2010) more and more hybrid application platforms surfaced Apache Cordova (late PhoneGap) Apache Cordova (late PhoneGap) Appcelerator Titanium Appcelerator Titanium Xamarin Xamarin And more And more Most hybrid app platforms targeted web developers with JavaScript skills Most hybrid app platforms targeted web developers with JavaScript skills Since HTML is supported everywhere Since HTML is supported everywhere

27
Apache Cordova (late PhoneGap) is a platform for creating mobile applications using web technologies Apache Cordova (late PhoneGap) is a platform for creating mobile applications using web technologies The applications run on the most used platforms The applications run on the most used platforms iOS, Android, BlackBerry, Windows Phone, etc… iOS, Android, BlackBerry, Windows Phone, etc… Applications run in a web view Applications run in a web view Apache Cordova was created by Nitobi Software, and was acquired by Adobe Systems in 2011 Apache Cordova was created by Nitobi Software, and was acquired by Adobe Systems in 2011

28
Appcelerator Titanium is a product of Appcelerator Inc. Appcelerator Titanium is a product of Appcelerator Inc. Use web technologies (like HTML and JS) to build cross-platform (hybrid) applications Use web technologies (like HTML and JS) to build cross-platform (hybrid) applications Apps run on most platforms – Android, BlackBerry, iOS and Tizen Apps run on most platforms – Android, BlackBerry, iOS and Tizen Applications run in a web view Applications run in a web view Titanium has its own IDE, called Titatinum Studio and simulators Titanium has its own IDE, called Titatinum Studio and simulators

29
Xamarin is a cross-mobile applications platform Xamarin is a cross-mobile applications platform Yet, it does not use web technologies Yet, it does not use web technologies Xamarin now continues the development of the Mono platform Xamarin now continues the development of the Mono platform Mono, MonoTouch, and Mono for Android Mono, MonoTouch, and Mono for Android Applications are developed using C# and.NET like platform (Mono) Applications are developed using C# and.NET like platform (Mono) Apps run on iOS, Android and Windows Phone Apps run on iOS, Android and Windows Phone