We have compiled a list of Phonegap interview questions and answers for mobile developers.
Explain the PhoneGap architecture.
Answer : PhoneGap has a streamlined plugin-based architecture. To understand this, we have to view each device-specific feature is a plugin, which consists of Javascript and native sides. Javascript side should be as cross-platform as possible, whereas native side can be implemented only once, for 1 device.
However, built-in plugins are developed for all of the most popular platforms.This flexible architecture, together with open source code, not only allows a developer to fix their bugs, but also allows them to tweak their plugins for as per requirements.
Explain what is the best way for PhoneGap developers to handle device-specific needs?
Answer : It all depends on the feature set. Most mobile applications don’t need many device-specific features other than the user interface, but there are numerous plugins which can be very helpful. The best way is to decide what features you need and to use only those specific features. There are many applications that have permissions turned on even if they are not required.
How phonegap simplifies mobile application development?
Answer : Mobile development is a huge task. When we try to build applications for each device--iPhone, Android, Windows Mobile, we require different frameworks and languages. Till the time, the big players in mobile may decide to work together and unify third-party app development processes, we can use PhoneGap which will use standards-based web technologies to bridge web applications and other mobile devices. Also, since PhoneGap apps are standards compliant, they're future-proofed to work with browser.
PhoneGap is an open source implementation of open standards. That means developers and companies can use PhoneGap for mobile applications that are free, commercial and open source.
Can you name some of PhoneGap events
Answer : Here are some of the PhoneGap events
deviceready, pause, resume, online, offline, endcallbutton, volumedownbutton, volumeupbutton, searchbutton, startcallbutton, batterystatus, backbutton, batterycritical, batterylow, menubutton
Name some of the limitations of PhoneGap
Answer :
1) Complex games, intensive graphics. Use OpenGL for that, not PhoneGap.
2) For slower phones (not iPhone, not Nexus One, not Xperia X10), PhoneGap apps using the latest interactive Google Maps APIs tend to be slow. Static maps OK, though.
What are the PhoneGap supported platforms?
Answer :
Answer : PhoneGap has a streamlined plugin-based architecture. To understand this, we have to view each device-specific feature is a plugin, which consists of Javascript and native sides. Javascript side should be as cross-platform as possible, whereas native side can be implemented only once, for 1 device.
However, built-in plugins are developed for all of the most popular platforms.This flexible architecture, together with open source code, not only allows a developer to fix their bugs, but also allows them to tweak their plugins for as per requirements.
Explain what is the best way for PhoneGap developers to handle device-specific needs?
Answer : It all depends on the feature set. Most mobile applications don’t need many device-specific features other than the user interface, but there are numerous plugins which can be very helpful. The best way is to decide what features you need and to use only those specific features. There are many applications that have permissions turned on even if they are not required.
How phonegap simplifies mobile application development?
Answer : Mobile development is a huge task. When we try to build applications for each device--iPhone, Android, Windows Mobile, we require different frameworks and languages. Till the time, the big players in mobile may decide to work together and unify third-party app development processes, we can use PhoneGap which will use standards-based web technologies to bridge web applications and other mobile devices. Also, since PhoneGap apps are standards compliant, they're future-proofed to work with browser.
PhoneGap is an open source implementation of open standards. That means developers and companies can use PhoneGap for mobile applications that are free, commercial and open source.
Can you name some of PhoneGap events
Answer : Here are some of the PhoneGap events
deviceready, pause, resume, online, offline, endcallbutton, volumedownbutton, volumeupbutton, searchbutton, startcallbutton, batterystatus, backbutton, batterycritical, batterylow, menubutton
Name some of the limitations of PhoneGap
Answer :
1) Complex games, intensive graphics. Use OpenGL for that, not PhoneGap.
2) For slower phones (not iPhone, not Nexus One, not Xperia X10), PhoneGap apps using the latest interactive Google Maps APIs tend to be slow. Static maps OK, though.
What are the PhoneGap supported platforms?
Answer :
- iPhone / iPhone 3G and Higher
- Blackberry OS 5.x and Newer
- Android
- Web OS
- Tizen
- Windows Phone 7
- Symbian
- Bada
Explain what is meant by a hybrid app?
Answer : A hybrid application has the features of both a web application as well as a native application. Certain features, such as Image Capture, NFC or Android OpenAccessory, may be implemented natively since there is currently no way to do this in JavaScript.
Answer : A hybrid application has the features of both a web application as well as a native application. Certain features, such as Image Capture, NFC or Android OpenAccessory, may be implemented natively since there is currently no way to do this in JavaScript.