Q1 Explain following Android API classes and interface 1. SensorManager class 2.
ID: 3690035 • Letter: Q
Question
Q1
Explain following Android API classes and interface
1. SensorManager class
2. Sensor Class
3. Sensor Event class
4. Sensor EventListener Interface
Q2.
Explain the use of following files and directories created by xcode for iOS project.
a) AppDelegate.h and AppDelegate.m
b) Main.storyboard
c) ViewController.h and ViewController.m
d) Images.xcassets
e) ProjectName-Info.plist
f) main.m
g) Project Name Tests
h) Frameworks
i) Products
Q3.
Explain two ways of monetizing your app
Q4.
Define the following Term
Outlet, Retina screen.
Q5.
What Platform Should You Develop? Android or iOS or both? Explain why?
Q6.
How do you distribute an Android app within an organization?
Explanation / Answer
1.Android API classes and Interfaces:
The unnecessary sensors have to be disabled whenever the activity is paused.
2. Use of following files and directories created by xcode for iOS project:
a. AppDelegate.h and AppDelegate.m- in this the .h and .m files are header and implementation files. Where the header files contain the instance variables,declarations and method types and the implementation files is nothing but a filename extension.
b. Main.storyboard- this is used to graphically lay out the user’s path. The interfaces are given as:
i.) scenes
ii.) relationships between containers and scenes
iii.) references of the storyboard
iv.) controls
v.) view controllers
c. ViewController.h and ViewController.m-here again the .h has header files and .m has implementation files. And ViewController is a special class.
d. Images.xcassets- this is used for importing images.
e. ProjectName-Info.plist- this provides details for an application by the data extracted from the information property during runtime . the contents are present in XML form.
f. main.n-this is just like a main() function which helps in creating objects and runs the main event loop.
g. Project name tests-this is used to expand the scope of test targets needed for a project.
h. frameworks- they provide a platform through written software with the help of given interfaces.
i. products- a substance
3.Monetizng app:
4.Outlet and retina display: this provides a better screen display for the customers which help in giving a better resolution for viewing.
5. Android or ios: android is much better than ios in terms of functional apps and cost of ownership is low and affordable and easy to charge and easy of use and customisation.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.