0% found this document useful (0 votes)
136 views

Solution Assignment 02 CS 710

The document is Khalique Zafar's solution assignment for a mobile and pervasive computing course. It addresses two questions: 1) The benefits of cross-platform mobile development tools, such as reducing required skills, code reuse across platforms, and decreased development time and costs. 2) The major components of the PhoneGap and MoSync architectures for cross-platform mobile app development. PhoneGap uses a wrapper approach with a web application layer, PhoneGap layer, and OS layer. MoSync has a service layer, application framework, syscalls, resource system, internal extensions, and core.

Uploaded by

Khalique Zafar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
136 views

Solution Assignment 02 CS 710

The document is Khalique Zafar's solution assignment for a mobile and pervasive computing course. It addresses two questions: 1) The benefits of cross-platform mobile development tools, such as reducing required skills, code reuse across platforms, and decreased development time and costs. 2) The major components of the PhoneGap and MoSync architectures for cross-platform mobile app development. PhoneGap uses a wrapper approach with a web application layer, PhoneGap layer, and OS layer. MoSync has a service layer, application framework, syscalls, resource system, internal extensions, and core.

Uploaded by

Khalique Zafar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

MSCS Solution Assignment CS-710 (Khalique Zafar -- ms160400272)

Solution Assignment No.2


CS710 Mobile and Pervasive Computing
Khalique Zafar (ms160400272)

Question No. 1
a. How the cross-platform mobile development tools are helpful to develop an application
source code which is runnable on various operating systems? Give the answer in points
not in paragraphs.

The use of common programming language reduces the skill required to develop
applications
Source code written once and reused and compiled for different OS cut down on coding.
Above mentioned two points directly effect in reducing development time and long-term
support and maintenance cost.
Development in cross platform reduce gaining the knowledge about APIs except a few
selected APIs of Oss required by tools.
Development become a lot easier than development of native OS applications.
Market share increased for application business development model with reference to ROI.

b. In this paper, what are the parameters used by the authors for comparison of different
tools? Give the answer in points not in paragraphs.

Supported mobile operating system to know the effects on business model.


Licenses offered by tools to take in consideration the evaluation of term and conditions of
use.
Programming languages for application development presented for developers.
To consider the hardware parts approachability by mobile operating systems APIs
availability considered.
Native APIs availability are taken into consideration to make sure the comparison of
accessibility among different tools
Application architecture offered by development process.
Integrated Development Environement(IDE) present for developing mobile applications.

1|Page
MSCS Solution Assignment CS-710 (Khalique Zafar -- ms160400272)

Question No. 2
a. Analyze the phone gap architecture in your own words. Give the answer in points not in
paragraphs.

PhoneGap 1.9.0 is an open source mobile development tools developed by Adobe Systems
Inc.
Licensing under Apache 2.0
Cross platform development tool fro Android, Bada, BlackBerry,iOS, Symbian, webOS
and windows Phone OS.
Use of modern programming language like HTML, HTML5, CSS, CSS3 and JavaScript
and functionality of known SDKs.
It is a wrapper that allow developer to wrap the application code for native applications.
Its hybrid no purely native nor web based.
PhoneGap composed of three layers
o Web Application
o PhoneGap
o OS and native APIs.
Web application layer represent source code
PhoneGap layer has JavaScript APIs and Native APIs
PhoneGap layer is responsible for interfacing with web Application layer as well as
interface between JavaScript and OS native APIs on OS and native APIs layer
PhoneGap provide developers JavaScript APIs to access the advance functionality of the
device.

b. Which are major components of MonSync architecture? Give the answer in points not
in paragraphs.

MoSync 4.0 is an opensource tool developed by a Swedish company


It has full-fledged SDK to build and package all type of application.
Provide full-fledged Eclips based IDE.
Standard C/C++ usage alongwith added support of web-based programming like HTML,
HTML5, CSS and JavaScript.
MoSync has two architectures for C/C++ and web based programming language.
It has layered architecture consist of eight components explained as below.
o Service layer which support I/O threading, networking, memory management and
many more functions.
o Application Framework provide runtime point responsible to manage platform
specific events such as event management, initialization and destruction.

2|Page
MSCS Solution Assignment CS-710 (Khalique Zafar -- ms160400272)

o Syscalls provide necessary support for OS features like camera, contact, images,
audio and networking etc. Syscalls also take care the interpretation of MoSync
resource files and events.
o Resource System which manage resource objects like images, sound and data blobs
with support dynamic creation and destruction of resources.
o Internal extensions which provides design and configuration of each OS.
o Core take care of execution of MoSync programs by interoperation with Syscalls
and resources. Core has three types which are explained as under.
Virtual Machine Core provide support to load, interpret and run MoSync
bytecode directly
In VM core execution is done by small function which allow efficient just
in time(JIT) optimization which has same structure as core of Java ME.
Recompiler Core loads MoSync bytecode and recompiles it on specific
platform or typically ARM platform.
Recompiler core recompile and then code is generated executed.
Generated Core is the component which is responsible for the exhibiting the
interface with generated native code.

3|Page

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy