Question:- How you can add badge to list group in Bootstrap?
Answer:- To add badge to list group in Bootstrap you have to simply add within the element.
Question:- Explain what media object in Bootstrap is and what are their types?
Answer:- Media objects in Bootstrap enables to put media object like image, video or audio to the left or right of the content blocks. Media element can be created using the class .media and the source is specified in using the class .media-object. Media-objects are of two types, They are of two types • .media • .media-list
Question:- Explain what is Bootstrap well?
Answer:- Bootstrap well is a container
that makes the content to appear sunken or an inset effect on the page. In order to create a well, wrap the content that you would like to appear in the well with a
containing the class of .well.
Question:- Explain how you can create Nav elements in Bootstrap?
Answer:- Bootstrap offers various options for styling navigation elements all of them use the same markup and base class .nav. To create Tabular Navigation or Tabs Start with a basic unordered list with the base class of .nav Then add class .nav-tabs
Question:- Explain what is the use of Bootstrap Carousel plugin?
Answer:- The Carousel plugin is used to add a slider to your site. It is useful in condition where you want to display huge amount of contents within a small space on the web pages. Some of the standard carousel includes • .carousel (options) • .carousel (‘cycle’) • .carousel (‘pause’) • .carousel (‘number’) • .carousel (‘prev’) • .carousel (‘next’)
Question:- What is PhoneGap and why to use it?
Answer:- PhoneGap is an open source framework, which enables you to develop applications for mobile devices by using web technologies like CSS3, JavaScript and HTML5 instead of using Java for Android, C# for windows phone devices and Objective C or Swift for iOS. It uses the native project format for each platform.
Question:- List out some of the PhoneGap API?
Answer:- Some of the PhoneGap API are • Accelerometer • Camera • Capture • Compass • Connection • Contacts • Device • Geo-location and so on
Question:- Explain what do you need to develop in PhoneGap?
Answer:- For, • IOS: Xcode, iOS SDK • Android: Android SDK, ADT plugin • BlackBerry: Sun SDK, Apache ant and BlackBerry Webworks SDK • Symbian: SDK
Question:- Mention what is the difference between PhoneGap and PhoneGap Build?
Answer:- • PhoneGap: It is a framework for mobile application development, built upon the open source Apache Cordova project. It permits you to write an app once with CSS, JavaScript, HTML and then deploys it to a broad range of mobile devices without losing the features of a native app. • PhoneGap Build: It is a cloud-based service built on top of the PhoneGap framework.
Question:- List out some of the PhoneGap events?
Answer:- Some of the PhoneGap events include • Pause • Resume • Deviceready • Offline • Endcallbutton • Volumedownbutton and so on
Question:- Mention the difference between AIR and PhoneGap?
Answer:- 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.
Question:- Explain how do you architect PhoneGap applications?
Answer:- PhoneGap applications can be architect, in the same way, like other mobile web services. The main difference is that the initial HTML assets are available locally, instead of a remote server. The PhoneGap application loads the initial HTML which can request resources from a server or from the local environment. PhoneGap also supports the single page web experienced model.
Question:- What does PhoneGap plugin consist of? What are the files required to create your own PhoneGap plugin for IOS?
Answer:- 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
Question:- List out what features are available in PhoneGap cameraoptions?
Answer:- 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
