Phonegap Interview Questions and Answers
Most Frequently Asked Phonegap Interview Questions
There are three different types of Content Delivery Networks (CDNs)
- Microsoft AXJ CDN
- Google AXJ API CDN
- JQuery CDN
The JavaScript file defines the functions which are used to access the native hook in PhoneGap.
The different storage options which could be accessed by the PhoneGap are local storage store, memory store and web SQL store.
The functionality of media.seekto with respect to the one-gap media API is to update the position of the audio file which is a part of the media object.
The functionality of media.getduration with respect to the one-gap media API is to return the duration of the media file to seconds, and in any case, if the duration is not known then it will return it to the value -1.
Camera, Battery Status, Contact, Device Motion and Orientation, Globalization, File Transfer, Geo Location, Whitelist, Status Bar, Screen Splash, Media Capture, Vibration, Network Information and so on are some of the APIs of PhoneGap.
The limitation of PhoneGap are
- Slow data processing speed.
- No support for the background running applications.
- Can’t access the advanced graphics of device in compared with the native system.
- Arises complexity while trying to access the complicated business logic.
- Many of the native APIs are not supported by the PhoneGap which cause the problem in the device.
The PhoneGap is a type of framework for the developers which is used during the process of mobile application development while the PhoneGap build is the type of cloud-based service which is built above the PhoneGap framework.
The development of PhoneGap application is same as the other mobile application but the basic difference is the initial HTML asset is available locally while on other mobile application it is present in the remote server.
- Develop a new directory in your original plugin directory
- In the newly developed directory make a JavaScript file
- Make an object C class which could extend the PhoneGap command which is available in the new directory