0% found this document useful (0 votes)
69 views

Native Script

NativeScript allows developers to build native mobile apps for Android and iOS using common web technologies like JavaScript and CSS. It supports three selector types for styling and layout, and plugins can be added to provide additional functionality like camera and geolocation access across platforms. The main application logic and UI are defined separately in JavaScript and XML files respectively.

Uploaded by

david
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

Native Script

NativeScript allows developers to build native mobile apps for Android and iOS using common web technologies like JavaScript and CSS. It supports three selector types for styling and layout, and plugins can be added to provide additional functionality like camera and geolocation access across platforms. The main application logic and UI are defined separately in JavaScript and XML files respectively.

Uploaded by

david
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

tns doctor' command is used to _---------------------verify the setup and your

installation.

NativeScript is backed by ----------------Telerik

How to install NativeScript CLI?------------------npm install -g nativescript

The source code resides in the ________ folder.------app

Can a developer build an app using NativeScript, if he/she doesn't know Java or
Objective C/Swift?-----------Yes, you can develop a native application.

How many types of selectors are supported in NativeScript?---------------3

Select one which is not a layout type of NativeScript.----------------wrapper

__________ positions its children in rows or columns, based on the orientation


property, until the space is filled and then wraps them on a new row or
column.---------WrapLayout

is the root-level container for your app's UI and you can use it for navigation
inside your app.--------------topmost frame

In NativeScript, the UI is written in _________ and coding is done with


__________.----------------------XML, JavaScript/TypeScript

An event can be generated by _--------------------------both

In 'npm install nativescript-camera –save' command, the --save flag will add the
plugin as dependency in your package.json file.-------------------------true

What command has to be executed for adding a standard npm dependency for camera
plugin?---npm install nativescript-cam --save

camera.isAvailable() method will return false when used in iOS simulator/Android


Emulator.--------------------true

To include geolocation in your app, which command has to be


executed?------------------tns plugin add nativescript-geolocation

Native Components of TextField are ________ for Android and _________ for
iOS.----------------android.widget.TextInput,UITextInput(wrong)

NativeScript provides single codebase for both android and iOS.---------------true

Select the app that developed in NativeScript?--------------all

Can developer use platform-specific UI controls with NativeScript


approach?-----------------yes

__ has the default UI code.-----------main-page.xml

main-page.js defines the ________---------------------application logic

How to create your an project in NativeScript?--------------tns create helloworld

To write business/logic applications, developer wants a local database. Is there


any option to have the same database in all platforms?----------False
Which of the selector type has highest priority in NativeScript CSS?-------------
ID

What are all the three selector types supported by NativeScript?----------------


all

__________ arranges its children horizontally or vertically with the orientation


property.---------------------stacklayout

JavaScript arrays map to specialized __________ on Android and __________ on


iOS-----------Single-Dimensional Arrays,Multidimensional Arrays (wrong)

You might also like