YouTube Icon

Interview Questions.

Top 100+ Phonegap Interview Questions And Answers - Jun 01, 2020

fluid

Top 100+ Phonegap Interview Questions And Answers

Question 1. What Is Phonegap?

Answer :

PhoneGap is an open supply solution for constructing go-platform cell apps with standards-based Web technologies like HTML, JavaScript, CSS.
It is a wrapper used for local packaging of cell web application that is used to build cross platform cellular Application.
Question 2. Who Developed Phonegap ?

Answer :

It is advanced by way of Nitobi, a enterprise based in Vancouver, Canada.
Nitobi became received via Adobe Corporation at the 12 months of 2011.
After the purchase Adobe launched PhoneGap era as open source beneath the call Apache Cordova.
C Interview Questions
Question 3. Explain Phonegap Architecture?

Answer :

PhoneGap has a plugin-based totally structure. Each tool-precise function is a plugin, which includes javascript and native sides.
 Js facet should be as go-platform as feasible, while local facet may be applied handiest as soon as, for 1 tool. Nevertheless built-in plugins are advanced for all of the maximum popular structures, so no need to reinvent the wheel.
This structure, collectively with open supply code, no longer best lets in a developer to fix their insects, however also lets in them to tweak their plugins for as consistent with requirements. Also, a developer can construct his very own plugin, and help any platform of his desire.
Question four. Why Should Mobile Developers Consider Phonegap?

Answer :

Mobile developers use PhoneGap because it allows them to have a commonplace codebase for all their application code. It doesn’t pressure builders to reinvent the wheel whenever they circulate from platform to platform.

C Tutorial
Question 5. How Does Phonegap Simplifies Mobile Development?

Answer :

Building packages for each device–iPhone, Android, Windows Mobile and greater–calls for special frameworks and languages.
One day, the big players in mobile may also decide to paintings together and unify third-celebration app development procedures.
Until then, PhoneGap will use requirements-based totally internet technologies to bridge internet applications and cellular gadgets. Plus, because PhoneGap apps are standards compliant, they’re future-proofed to paintings with browsers as they evolve.
PhoneGap is an open supply implementation of open requirements. That way developers and groups can use PhoneGap for cellular programs which can be unfastened, business, open supply, or any combination of these.
IPHONE APPS Interview Questions
Question 6. What Are The Platforms That Phonegap Supports ?

Answer :

The structures smartphone hole helps are:

iphone/iphone 3G and Higher
Blackberry os five.X and Newer
Android
Web OS
Tizen
Windows Phone 7
Symbian
Bada
Question 7. What Is Phonegap Features?

Answer :

It is not most effective the purpose of PhoneGap to distribute the internet application to application shop.
It is likewise presenting the feature to get right of entry to the device hardware from internet utility.
It lets in you to package your mobile net application code and sources right into a binary app and ready to distribute to Apple, Android, Palm, Symbian, and BlackBerry devices.
IPHONE APPS Tutorial Android Interview Questions
Question eight. Advantages Of Phonegap ?

Answer :

One codebase can be maintained for multiple  structures
Reuse present net developer abilities
Faster improvement
Based on open standards
Question nine. What Is Phonegap Cordova ?

Answer :

Mobile marketplace is large with bunch of opportunities. At the equal time it's far actually painful revel in for the developers to make an application attain to the wider target audience.
There are a couple of structures like android, iPhone, Blackberry, windows comes with lot exceptional competencies. Every platform makes use of one of a kind programming language syntax and unique distribution technique.
As the programming systems are special, growing an utility requires putting the separate improvement effort for distinct systems.
Mobile Testing Interview Questions
Question 10. What Is The Difference Between Phonegap And Cordova?

Answer :

PhoneGap become donated to the Apache Software Foundation (ASF) under the call Apache Cordova. Through the ASF, future PhoneGap development will make certain open stewardship of the task. It will stay unfastened and open source below the Apache License, Version 2.Zero.

PhoneGap is an open source distribution of Cordova. Think approximately Cordova’s courting to PhoneGap like WebKit’s courting to Safari or Chrome.

Android Tutorial
Question eleven. What Is Phonegap Build, And How Is It Different From Phonegap Framework?

Answer :

PhoneGap is a cellular application development framework, primarily based upon the open supply Apache Cordova mission.It permits you to put in writing an app as soon as with HTML, CSS and JavaScript, after which set up it to a extensive range of cellular devices with out dropping the functions of a native app.
PhoneGap Build is a cloud-primarily based provider constructed on top of the PhoneGap framework.
It allows you to easily construct those same cell apps inside the cloud. 
Java Native Interface (JNI) Interview Questions
Question 12. What Is A Hybrid App?

Answer :

A hybrid utility is one that has features of both a web utility and a native application. Certain features, along with Image Capture, NFC or Android OpenAccessory, can be applied natively since there's currently no way to do that in JavaScript. But the utility good judgment and the UI are carried out the usage of web technology to allow for a steady and particular user revel in across gadgets.

C Interview Questions
Question thirteen. What Are The Phonegap Events

Answer :

 The phone gap activities are listed under:

deviceready
pause
resume
online
offline
backbutton
batterycriticalbatterylow
batterystatus
menubutton
searchbutton
startcallbutton
endcallbutton
volumedownbutton
volumeupbutton
Mobile Testing Tutorial
Question 14. Can You Use Php/asp/jsf/java/.Internet With Phonegap?

Answer :

A PhoneGap application might also simplest use HTML, CSS, and JavaScript. However, you may employ community protocols (XmlHTTPRequest, Web Sockets, and many others) to easily speak with backend offerings written in any language. This permits your PhoneGap app to remotely access present commercial enterprise methods at the same time as the tool is attached to the Internet.

Question 15. How Much Does Phonegap Cost?

Answer :

 PhoneGap is an open source implementation of open requirements and FREE. That way builders and groups can use PhoneGap for cellular programs which might be free, business, open source, or any mixture of these.

JNDI (Java Naming and Directory Interface) Interview Questions
Question 16. What Does Phonegap Plugin Consist Of? What Are The Files Required To Create Your Own Phonegap Plugin For Ios?

Answer :

PhoneGap plugin incorporates  files

JavaScript document that defines the feature for accessing the local hooks
Implementation files written in the local language to co-ordinate with local telephone capabilities
To create your personal PhoneGap plugins, you have to
Make a new directory on your $PROJECT_DIR/plugins listing
Make a JavaScript report inside that new listing
Make a new Objective-C elegance that extends the PhoneGap command elegance and additionally in the new listing
Mobile computing Tutorial
Question 17. Explain How You Can Upgrade Phonegap?

Answer :

To improve PhoneGap in Mac and Linux

$ sudo npm installation –g phonegap
For Windows:

C:> npm deploy –g phonegap
Mobile computing Interview Questions
Question 18. Explain What Are The Limitation Of Phonegap?

Answer :

As the the front-quit uses JavaScript it does have a few trouble

Data processing: Compare to JavaScript local language is a good deal faster
Back-ground processing: Large wide variety of utility relies upon on background thread at the same time as PhoneGap API are constructed the usage of JavaScript which does no longer guide multi-threaded and therefore does not guide lower back ground processing
Advanced images: Apps that use superior graphics can be accessed explicitly by means of third birthday celebration libraries, which may be first-rate performed natively
Complex business good judgment: Number of complex business app may be accessed better with a native code
Access superior native functionality: Number of native API’s are not supported with the aid of PhoneGap’s API
IPHONE APPS Interview Questions
Question 19. Mention What Are The Storage Option Does Phonegap Can Access?

Answer :

Memory-save.Js (MemoryStore)
Is-keep.Js (LocalStorageStore)
Websql-save.Js (WebSqlStore)
Mobile Security Tutorial
Question 20. List Out Some Of The Phonegap Api?

Answer :

Some of the PhoneGap API are

Accelerometer
Camera
Capture
Compass
Connection
Contacts
Device
Geo-area and so on
jQuery Mobile Interview Questions
Question 21. Explain What Do You Need To Develop In Phonegap?

Answer :

IOS: Xcode, iOS SDK
Android: Android SDK, ADT plugin
BlackBerry: Sun SDK, Apache ant and BlackBerry Webworks SDK
Symbian: SDK
Question 22. Mention What Is The Difference Between Phonegap And Phonegap Build?

Answer :

PhoneGap: It is a framework for cell software development, constructed upon the open source Apache Cordova task. It lets in you to write an app once with CSS, JavaScript, HTML and then deploys it to a vast variety of cell gadgets without losing the features of a native app.
PhoneGap Build: It is a cloud-primarily based provider built on top of the PhoneGap framework.
Objective C Tutorial
Question 23. List Out Some Of The Phonegap Events?

Answer :

Some of the PhoneGap occasions encompass

Pause
Resume
Deviceready
Offline
Endcallbutton
Volumedownbutton and so forth
Mobile Security Interview Questions
Question 24. Mention The Difference Between Air And Phonegap?

Answer :

The most fundamental differences between AIR and PhoneGap is that you build AIR programs the use of equipment rooted in the Flash Platform, and you could expand PhoneGap application the usage of HTML, CSS and JavaScript.  AIR applications use the AIR runtime, it permits you to have a single code base, with the precise comparable expected behavior via all supported systems.  PhoneGap applications execute inner of the local net browser factor for every supported platform.  For separate platform, PhoneGap may behave differently.

Android Interview Questions
Question 25. Explain How Do You Architect Phonegap Applications?

Answer :

PhoneGap applications can be architect, inside the equal manner, like different cellular internet offerings. The primary distinction is that the initial HTML belongings are to be had regionally, in preference to a faraway server.  The PhoneGap application hundreds the preliminary HTML which could request assets from a server or from the neighborhood surroundings.  PhoneGap also supports the unmarried web page internet skilled model.

Mobile Marketing Tutorial
Question 26. List Out What Features Are Available In Phonegap Cameraoptions?

Answer :

PhoneGap cameraoptions available are

Quality: It tells the pleasant of saved image that variety from [0,100]
Destination Type: Choose the format of the return price. Defined in navigator.Digital camera.DestinationType
Source Type: Set the source of the photograph. Defined in navigator.Digital camera
AllowEdit: Before choice of photo, it allows easy editing of photograph
Encoding Type: It determines the encoding kind of the lower back photo
TargetWidth: It determines how you may set photo width
TargetHeight: It tells how you may set photo heig
Media Type: Here you may set the media kind to choose from
Objective C Interview Questions
Question 27. Mention What Are The Ios Quirks For A Compass Heading Object?

Answer :

For a compass heading object the iOS quirks are

trueHeading is back only whilst place services are executing through geolocation.Watchlocation()
For iOS>four gadgets, if the cell device is revolved or turned around and the app helps that orientation, the heading cost could be stated returned with admire to the present day orientation
Mobile Testing Interview Questions
Question 28. Explain What Is Media.Seekto And Media.Getduration Function In Opengap Media Api?

Answer :

seekTo in OpenGap Media API is a function that updates the modern day position of the underlying audio document of a Media Object
getDuration is a feature that returns the period of the audio report in seconds. It will go back the cost -1, if the duration is unknown




CFG