Interviewer And Interviewee Guide

Behavioral Hybrid Application Developer Interview Questions & Answers:

1. Explain advantages of PhoneGap?

One codebase can be maintained for multiple platforms
Reuse existing web developer skills
Faster development
Based on open standards

2. Explain me what is a Hybrid Mobile App?

Hybrid mobile apps are like any other apps you'll find on your phone. They install on your device. You can find them in app stores. With them, you can play games, engage your friends through social media, take photos, track your health, and much more.

3. Explain me what are the storage option does PhoneGap can access?

☛ Memory-store.js (MemoryStore)
☛ Is-store.js (LocalStorageStore)
☛ Websql-store.js (WebSqlStore)

4. How to detect a platform (Android or iOS) at runtime in Ionic application?

Ionic provides platform classes: when the application is loaded, Ionic adds CSS classes to the <body> tag. For example, on iOS devices, Ionic adds platform-ios class to <body> tag. Ionic also adds OS version classes such as platform-ios8 (for iOS 8) and platform-android4_4 (for Android 4.4).

5. Tell me what are CDNs in jQuery? Why do we use it?

CDNs(Content Delivery Networks) can offer a performance benefit by hosting jQuery on servers spread across the globe.
There are three CDNs available that host the jQuery library free of charge:
Google's Libraries API CDN (a.k.a. Google Ajax API CDN)
Microsoft's Ajax CDN
Media Temple's ProCDN (the official “jQuery CDN”)

6. Tell me how does phoneGap simplifies mobile development?

Building applications for each device–iPhone, Android, Windows Mobile and more–requires different frameworks and languages.PhoneGap will use standards-based web technologies to bridge web applications and mobile devices. PhoneGap apps are standards compliant, they're future-proofed to work with browsers as they evolve.
PhoneGap is an open source implementation of open standards. That means developers and companies can use PhoneGap for mobile applications that are free, commercial, open source, or any combination of these.

7. How to test Ionic applications?

Ionic applications are built using AngularJS. Angular has a rich set of test libraries and frameworks such as Jasmine and Karma test runner. These frameworks can be used to write unit tests for Ionic applications. Also, ionic-CLI provides live reload feature so the application can be tested in the browser. For example, the ionic serve command can be used to load the application in any browser. Thus, we can use Chrome Developer Tools or Mozilla Firefox with Firebug to debug and inspect Ionic applications.

8. Can you list out some of the PhoneGap events?

Some of the PhoneGap events include

☛ Pause
☛ Resume
☛ Deviceready
☛ Offline
☛ Endcallbutton
☛ Volumedownbutton and so on

9. Tell us why build native apps, when hybrid apps development frameworks are there?

Some of the following could not be achieved effectively using web frameworks:
☛ Access to platform-specific UI components, like maps, date pickers, switches, and navigation stacks.
☛ Native mobile gesture recognizers
☛ Complex and sophisticated threading models that help parallelize work onto multiple threads.

10. Can you list out what features are available in PhoneGap cameraoptions?

PhoneGap cameraoptions available are

☛ Quality: It tells the quality of saved image that range from [0,100]
☛ Destination Type: Choose the format of the return value. Defined in navigator.camera.DestinationType
☛ Source Type: Set the source of the picture. Defined in navigator.camera
☛ AllowEdit: Before selection of image, it allows simple editing of image
☛ Encoding Type: It determines the encoding type of the returned image
☛ TargetWidth: It determines how you can set image width
☛ TargetHeight: It tells how you can set image height
☛ Media Type: Here you can set the media type to select from

Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.