Hybrid Application Developer

  Home  Web Development  Hybrid Application Developer


“Hybrid Application Developer related Frequently Asked Questions by expert members with job experience as Hybrid Application Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts”



49 Hybrid Application Developer Questions And Answers

22⟩ Explain me what is the difference between PhoneGap, Cordova, and Ionic?

PhoneGap is a library that exposes native mobile phone functionalities as JavaScript API. When Adobe purchased PhoneGap, its open source core was donated to the Apache Software Foundation under the name Cordova. In the beginning, there was almost no difference between Cordova and PhoneGap. Although, over the years of development, Adobe started adding a proprietary set of the services to PhoneGap. Today, it is safe to say PhoneGap is Cordova plus extra Adobe services.

Ionic uses Cordova, not PhoneGap for its core tools. Beside native mobile phone functionalities, Ionic gives structure and code scalability to JavaScript applications by using AngularJS. It also provides a set of Angular directives and components to speed up application development.

 204 views

24⟩ Tell me what does PhoneGap plugin consist of? What are the files required to create your own PhoneGap plugin for IOS?

PhoneGap plugin contains two files

☛ JavaScript file that defines the function for accessing the native hooks

☛ Implementation files written in the native language to co-ordinate with native phone features

To create your own PhoneGap plugins, you have to

☛ Make a new directory in your ${PROJECT_DIR}/plugins directory

☛ Make a JavaScript file within that new directory

☛ Make a new Objective-C class that extends the PhoneGap command class and also in the new directory

 201 views

26⟩ Tell me what is the difference between ChildBrowser and InAppBrowser in PhoneGap?

As the name suggests, Child Browser Plugin is a plugin and can be integrated in any phonegap application.

Whereas, InAppBrowser is a phonegap API that provides the ability to spawn a browser instance from a Cordova(2.3.0) application. The API is based on standard browser capability. In a nutshell, this has the same functionality as the ChildBrowser, and has events support as well.

 228 views

27⟩ Do you know what is PhoneGap Cordova?

Mobile market is huge with bunch of opportunities. At the same time it is really painful experience for the developers to make an application reach to the wider audience.

There are multiple platforms like android, iPhone, Blackberry, windows comes with lot different capabilities. Every platform uses different programming language syntax and different distribution process.

As the programming platforms are different, developing an application requires putting the separate development effort for different platforms.

 202 views

28⟩ Tell me what is AIDL?

AIDL stands for Android Interface Definition Language. It handles the interface requirements between a client and a service.

 192 views

29⟩ Explain me what is PhoneGap Build, and how is it different from PhoneGap framework?

PhoneGap is a mobile application development framework, based upon the open source Apache Cordova project.It allows you to write an app once with HTML, CSS and JavaScript, and then deploy it to a wide range of mobile devices without losing the features of a native app.

PhoneGap Build is a cloud-based service built on top of the PhoneGap framework.

It allows you to easily build those same mobile apps in the cloud. Learn more about PhoneGap Build and try it out for free!

 194 views

30⟩ Tell me what is PhoneGap Build, and how is it different from PhoneGap framework?

PhoneGap is a mobile application development framework, based upon the open source Apache Cordova project. It allows you to write an app once with HTML, CSS and JavaScript, and then deploy it to a wide range of mobile devices without losing the features of a native app. PhoneGap Build is a cloud-based service built on top of the PhoneGap framework. It allows you to easily build those same mobile apps in the cloud.

 181 views

31⟩ Tell me what is the advantage of caching the views in Ionic apps?

Ionic by default caches up to ten views, which improves performance and also maintains different states in the views at the same time. For example, the cache can maintain scroll position in the views or active state of buttons.

Caching can be disabled per view by using cache: false in UI-router’s state config, like in the following example:

$stateProvider.state('myState', {

cache: false,

url : '/myUrl',

templateUrl : 'my-template.html'

})

Caching can be also disabled globally, by setting maxCache to 0:

$ionicConfigProvider.views.maxCache(0);

 210 views

33⟩ Explain phoneGap architecture?

PhoneGap has a plugin-based architecture. Each device-specific feature is a plugin, which consists of javascript and native sides. Js side should be as cross-platform as possible, whereas native side can be implemented only once, for 1 device. Nevertheless built-in plugins are developed for all of the most popular platforms, so no need to reinvent the wheel.

This 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. Also, a developer can build his own plugin, and support any platform of his choice.

 186 views

34⟩ Do you know what are the limitation of PhoneGap?

As the front-end uses JavaScript it does have some limitation

☛ Data processing: Compare to JavaScript native language is much faster

☛ Back-ground processing: Large number of application depends on background thread while PhoneGap API are built using JavaScript which does not support multi-threaded and hence does not support back ground processing

☛ Advanced graphics: Apps that use advanced graphics can be accessed explicitly by third party libraries, which can be best done natively

☛ Complex business logic: Number of complex business app can be accessed better with a native code

☛ Access advanced native functionality: Number of native API’s are not supported by PhoneGap’s API

 204 views

35⟩ Do you know the difference between AIR and PhoneGap?

The most fundamental differences between AIR and PhoneGap is that you build AIR applications using tools rooted in the Flash Platform, and you can develop PhoneGap application using HTML, CSS and JavaScript. AIR applications use the AIR runtime, it enables you to have a single code base, with the exact similar expected behavior through all supported platforms. PhoneGap applications execute inside of the native web browser component for each supported platform. For separate platform, PhoneGap may behave differently.

 194 views

38⟩ Explain me the iOS quirks for a compass heading object?

For a compass heading object the iOS quirks are

☛ trueHeading is returned only when location services are executing through geolocation.watchlocation()

☛ For iOS>4 devices, if the mobile device is revolved or rotated and the app supports that orientation, the heading value will be reported back with respect to the current orientation

 208 views

39⟩ Tell me what are the PhoneGap Features?

☛ It allows you to package your mobile web application code and resources into a binary app and ready to distribute to Apple, Android, Palm, Symbian, and BlackBerry devices.

☛ It is not only the purpose of PhoneGap to distribute the web application to application store.

☛ It is also providing the feature to access the device hardware from web application.

 202 views

40⟩ 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

 185 views