Hybrid Apps Introduction
Hybrid Apps Introduction
Welcome to the world of mobile app and its anatomy. In this course, let’s understand the
fundamentals of Native, Web and Hybrid Apps; the differences, advantages and
disadvantages.
The thing that all of these apps have in common is that, they are all purely native. But, what
does that actually mean?
Tool : Xcode
Executable Files : .app
Language : Java (Some C, C++)
Tool : Android SDK
Executable Files : .apk
Executed directly
Propriety operating-system APIs
App gets access to all the different hardware components of the device
Very Fast and Powerful
Let you do amazing things and really tap the full potential of the mobile device.
However,
These APIs are proprietary and each mobile OS provides its own unique APIs for each
function.
The differences in APIs make porting of an app to multiple devices expensive.
Similar approach, but different source code and expertise results in expensive development
and maintenance!
Examples: Google, WikiPedia, YouTube, and Amazon etc.
HTML5 provides many client-side graphics capabilities with the canvas element SVG and
things like rounded corners.
HTML5 and CSS3 has several mechanisms that enable offline support such as application
caching.
Offline storage data URLs also make it easy for apps to perform client side rendering without
contacting the server.
Web apps run within the browser and the browser is itself a native app.
App has direct access to the OS APIs but it only exposes some of them to Web
Apps.
One specific element of the browser is Rendering engine the heart of the browser .
This rendering engine is called Webkit and it's an open source project.
Almost all the leading smartphone vendors are using the same.
QUIZ:
1. Native apps are not a choice for implementation because of its (I) Portability (II) Efficiency I ONLY
2. _________ is the type executable for Windows. .XAP
3. Process of obtaining a binary executable image and preparing it for distribution is same across
platforms. T
4. The right order of Native App Development is _________. (I) Package the binary executable with
resources. (II) Create a binary executable (III)Distribute through the app store. II…III...I
5. The right order of Native App Development is _________. (I) Set the configuration info and OS specific
declaration files. (II) Create additional resources like images, audio signals etc. (III) Compile and link the
sources code. II....I....III
6. The right order of Native App Development is _________. (I) Set the configuration info and OS specific
declaration files. (II) Writes the source code of the application (III) Create additional resources like
images, audio signals etc. II..III..1
7. Natives apps can be downloaded from (I) App Store (II) Enterprise Distributed Mechanism (III)Market
Place of the Device I AND III
8. Native Apps require another container app to execute in a mobile device. F
9. _________ is the type executable for Blackberry. .COD
10. Native apps are a choice for implementation because, it is (I) Executed directly by OS. (II) Makes explicit
use of OS APIs. (III) cheaper to build in one platform. I and II
11. _________ is the type executable for Android. .APK
12. Native apps are executed directly by the OS of mobile device. T
13. GUI Toolkit is an example of low-level API for Native Apps. F
14. _________ is the type executable for iOS. .IPA
15. Purely Native apps are binary executable image that is explicitly downloaded and stored on the file
system of the mobile device. T
16. Built-in Apps have direct access to low-level APIs only through High-level APIs. F
17. Looking at the mobile app and its features, is it possible to distinguish between the type as Native, Web
or Hybrid? F
18. Built-in Apps have direct access to low-level APIs. T
19. In case of Pure mobile web apps, the code is executed by the _______. BROWSER
20. The rendering engine in the pure mobile web apps is called as WEBKIT
21. Web apps are much easier to maintain, as they have a common code base across multiple mobile
platforms. Is this statement true of false? T
22. Pure mobile websites are same as Pure mobile Apps. F
23. Application caching is enabled with latest features of _________. HTML5 AND CSS3
24. Pure mobile web apps are written only in _________. HTML/CSS/JAVASCRIPT
25. JavaScript Toolkit library includes, which of the following? SENCHA TOUCH AND JQUERY MOBILE
26. The main cons of Web app comprises _________.
27. The advantage that hybrid apps carry over native is that it's All the options
28. In hybrid apps, some native code is used to allow the app to access the wider functionality of the
device. Is this True or False T